Bug 68553

Summary: Using Ediff (emacs diff) causes Emacs windows to be minimized
Product: [Plasma] kwin Reporter: Manuel Mejia <kde>
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: schumacher
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Mandrake RPMs   
OS: Linux   
Latest Commit: Version Fixed In:

Description Manuel Mejia 2003-11-19 02:51:11 UTC
Version:            (using KDE KDE 3.1.93)
Installed from:    Mandrake RPMs

How to reproduce:
1) Open Emacs with two files e.g. fileA and fileB
2) Launch Ediff e.g. M-x ediff-buffers
   Choosing buffers for filA and fileB for diffing
3) Once the mini Ediff panel pops up, proceed to the 
   next diff section by typing "n"
4) At this point the main Emacs windows is 
   minimized.  The correct behaviour is for the next
   diff section to be highlighted but the main Emacs 
   window should not be minimized.

I am not certain which program is causing the bug, but I believe it is somehow KDE related because I had only upgraded the kde RPMS. Versions of KDE 3.1.93 prior to my current version, CVS>=20031111 worked fine.
Comment 1 Lubos Lunak 2003-11-19 11:45:46 UTC
Fixed. You might also want to reduce the focus stealing prevention level in KWin's advanced setting, as Emacs has so poorly set window grouping hints that KWin can't detect the various windows belong to the same application.
Comment 2 Lubos Lunak 2003-11-20 18:21:06 UTC
*** Bug 68670 has been marked as a duplicate of this bug. ***
Comment 3 Manuel Mejia 2003-11-22 02:53:40 UTC
Thanks for the quick fix!  I just downloaded the latest Cooker RPM and
it works like before.