Bug 4067

Summary: The 'Open my images' dialog should be modal
Product: [Build System, Metadata & Runtime] Hob Reporter: Belen Barros Pena <belen.barros.pena>
Component: hobAssignee: Andrei Dinu <andrei.adrianx.dinu>
Status: RESOLVED WONTFIX QA Contact:
Severity: normal    
Priority: Medium CC: belen.barros.pena, cristian.iorga, poky.bs.watcher, poky.watcher, valentin.popa
Version: unspecified   
Target Milestone: 1.4   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---
Attachments:
Description Flags
multiple-images-dialogs.png none

Description Belen Barros Pena 2013-03-20 18:02:24 UTC
Created attachment 1126 [details]
multiple-images-dialogs.png

Steps to reproduce:

1. Launch Hob
2. Click the 'Images' button 
3. Click the 'Images' button again

Outcome: you have now 2 'Open My Images' dialogs. You can keep on clicking on the 'Images' button and keep on opening dialogs. 

Expected outcome: only one 'Open My Images' dialog should be open at any given time. That dialog should be modal (i.e. I should not be able to interact with Hob until the dialog is dismissed either by canceling or opening an image), since that is the standard behaviour of 'Open' options.
Comment 1 Andrei Dinu 2013-03-29 13:19:14 UTC
Hello,

After investigating and trying different approaches, i finally got to an ambiguous behavior of the GTK. So, when searching on this particular problem, seems like there is a bug in the GTK lib, spotted by many others. I will point you to the link that confirmed me there is actually a bug in the GTK and i am going to set this bug to WONT FIX status until this issue is fixed.

http://stackoverflow.com/questions/8940687/sometimes-gtk-modal-dialogs-are-not-modal-bug-or-feature
Comment 2 Belen Barros Pena 2013-04-02 14:02:27 UTC
(In reply to comment #1)
> Hello,
> 
> After investigating and trying different approaches, i finally got to an
> ambiguous behavior of the GTK. So, when searching on this particular
> problem, seems like there is a bug in the GTK lib, spotted by many others. I
> will point you to the link that confirmed me there is actually a bug in the
> GTK and i am going to set this bug to WONT FIX status until this issue is
> fixed.
> 
> http://stackoverflow.com/questions/8940687/sometimes-gtk-modal-dialogs-are-
> not-modal-bug-or-feature

Didn't realise this was Ubuntu only: it does work as expected on Fedora 17, and removing overlay-scrollbar and liboverlay-scrollbar* packages does fix the problem. 

Bug report at 

https://bugs.launchpad.net/ubuntu/+source/overlay-scrollbar/+bug/903302