Bug 359362

Summary: KIconButton: Select Icon dialog does not respond when the button is in modal window
Product: [Frameworks and Libraries] frameworks-kiconthemes Reporter: rusty.robot.g
Component: generalAssignee: Christoph Feck <cfeck>
Status: RESOLVED DUPLICATE    
Severity: major CC: kdelibs-bugs-null
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Screenshot of the described situation

Description rusty.robot.g 2016-02-13 18:10:34 UTC
It is not possible to choose Other icon from file using KIconButton because file open dialog does not respond to mouse clicks when KIconButton is located in modal QDialog.

Reproducible: Always

Steps to Reproduce:
In code:
1. Add KIconButton to QDialog, call QDialog::exec

In runtime:
1. Click KIconButton
2. Choose Other icons, click Browse

Actual Results:  
Select Icon file dialog appears in the background (below all application windows) and doesn't respond to the mouse.

Expected Results:  
The dialog appears in the foreground and is usable

Tested on KDE Frameworks 5.15.0
Comment 1 rusty.robot.g 2016-02-13 18:11:45 UTC
Created attachment 97183 [details]
Screenshot of the described situation
Comment 2 Christoph Feck 2016-02-14 03:40:03 UTC

*** This bug has been marked as a duplicate of bug 355310 ***