Bug in the mask preview dialog

Bug #394946 reported by Nadia Alramli
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Phatch
Fix Released
Critical
Stani

Bug Description

Hey,
I discovered this by accident:
1. Add mask action
2. Click on the mask field, the dialog will appear.
3. Click on the browse button and select any image from the system.
4. Click select, that will close the dialog
6. Open the mask preview dialog again. You won't be able to select any image any more. The same thing happens with the highlight dialog as well.

There is no error message or traceback.

Thanks,
Nadia

Nadia Alramli (nadiana)
Changed in phatch:
assignee: nobody → stani (stani)
importance: Undecided → Critical
Revision history for this message
Stani (stani) wrote :

Good catch! This seems to be a wxpython bug. However it is quite severe, so I'd like to find a workaround.

Changed in phatch:
status: New → Confirmed
Revision history for this message
Stani (stani) wrote :

Nadia, I can't reproduce this bug anymore. I've installed a more recent version of wxpython, so I don't know if it is because of this. Can you verify if it still exists?

Changed in phatch:
status: Confirmed → Incomplete
Revision history for this message
Nadia Alramli (nadiana) wrote :

Yes, the issue still exists. I can reproduce it every time.

Revision history for this message
Stani (stani) wrote :

I found out what was the bug. When you select a random path, I coded so that no preview was selected as it should be. The problem with the list control in wxpython is that when everything is deselected, it does not any more react. So this means that the last selection will stay visible. Not optimal, but far better as everything stays functional.

I've also improved the dialog. For example if you select a file from the library with the browse button, it will be recognized. The preview will be selected and its label will be used.

Changed in phatch:
status: Incomplete → Fix Committed
Stani (stani)
Changed in phatch:
milestone: none → 0.2.1
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.