Bug 180160 - Pressing escape key causes system settings window with unsaved changes to turn a featureless grey
Summary: Pressing escape key causes system settings window with unsaved changes to tur...
Status: RESOLVED FIXED
Alias: None
Product: systemsettings
Classification: Applications
Component: general (show other bugs)
Version: 4.1
Platform: Ubuntu Unspecified
: NOR normal
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
: 180200 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-01-09 18:25 UTC by Alan Jenkins
Modified: 2009-04-09 17:49 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Proposed patch (1.23 KB, patch)
2009-01-26 18:15 UTC, Dario Andres
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alan Jenkins 2009-01-09 18:25:36 UTC
Version:            (using KDE 4.1.3)
Installed from:    Ubuntu Packages

Sorry about the mouthful of a title :-).  Here it is in steps:

1. Open systemsettings.
2. Click on any icon.
3. Change any setting, but don't click Apply.
4. Press the Escape key.

The "unsaved changes" dialog will appear as expected.  However, the system settings window behind it is now all grey - you can't see anything at all.
Comment 1 Dario Andres 2009-01-09 18:45:14 UTC
Here using:

Qt: 4.4.3 + qt-copy-patches-889120
KDE: 4.2.60 (KDE 4.2.60 (KDE 4.3 >= 20090106))
kdelibs svn rev. 908156 / kdebase svn rev. 908156
on ArchLinux x86_64 - Kernel 2.6.27.10

I can confirm this bug
Comment 2 Dario Andres 2009-01-10 03:37:56 UTC
*** Bug 180200 has been marked as a duplicate of this bug. ***
Comment 3 Dario Andres 2009-01-26 18:15:38 UTC
Created attachment 30632 [details]
Proposed patch

Not the best solution but the best I could find.
Bypassing some KDialog/QDialog keyPress event to catch the ESC keyPress.
This may be a KDialog bug
Comment 4 Dario Andres 2009-04-09 17:49:31 UTC
SVN commit 951549 by darioandres:

KPageDialog -> ( KPageWidget + KDialogButtonBox )
This remove a lot of hacks (an internal widget is not a dialog )

BUG: 180160


 M  +81 -53    kcmultiwidget.cpp  
 M  +23 -19    kcmultiwidget.h  
 M  +1 -1      mainwindow.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=951549