Bug 293518

Summary: skype minimized windows are not minimized
Product: [Plasma] kwin Reporter: Stoian Ivanov <sdr>
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: sdr
Priority: NOR    
Version: 4.8.0   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In: 4.9
Sentry Crash Report:
Attachments: window placemenr after kstart --iconify xterm
/home/sdr/.kde4/share/config/kwinrc

Description Stoian Ivanov 2012-02-07 10:20:30 UTC
Version:           4.8.0 (using KDE 4.8.0) 
OS:                Linux

Linux skype cleint can be configured to open "minimized window" on new chat message. This was working fine prior 4.8 update. Now the windows are opened but not minimized. Focus is not stolen but it is very, very annoying. couldn't figure a way to "solve" the problem using windows behavior setup: temporary forcing to minimized does not solve the problem. 

Reproducible: Always

Steps to Reproduce:
1.Use KDE 4.8
2.Setup skype to open minimized window on new chat
3.Receive a chat message




Actual Results:  
A chat windows is displayed non focused but visible somewhere on the screen

Expected Results:  
A chat windows is displayed on taskbar minimized
Comment 1 Thomas Lübking 2012-02-07 16:03:21 UTC
no idea what skype does there, but "kstart --iconify xterm" still launches a minimized xterm here, confirmed?

-> Did you possibly setup a window rule that breaks this?

If you played with the rules "apply initially" is the correct value for minimized to "yes" to get what you want - but please confirm that the kstart parameter doesn't work either and that it's also an issue after removing all skype related window rules (also watch blind ones, ie. matching all windows)
Comment 2 Thomas Lübking 2012-02-09 17:25:18 UTC
status update: waiting for answers to comment #1
Comment 3 Stoian Ivanov 2012-02-09 21:59:04 UTC
Created attachment 68661 [details]
window placemenr after kstart --iconify xterm
Comment 4 Stoian Ivanov 2012-02-09 22:05:21 UTC
sdr@hristo ~ $ kstart --iconify xterm
kstart(17167) main: Omitting both --window and --windowclass arguments is not recommended 

starting Xterm this way mimics icq windows problems. No rules are/were specified. Option "apply initially" was the firs to test. It didn't help.
Comment 5 Thomas Lübking 2012-02-09 22:29:33 UTC
ok, please attach ~/.kde/share/config/kwinrc (it's the window manager configuration)
did you compile KDE yourself or is this (what?) distribution?
Comment 6 Stoian Ivanov 2012-02-11 16:57:44 UTC
Created attachment 68705 [details]
/home/sdr/.kde4/share/config/kwinrc

This is standard Gentoo KDE:
sdr@hristo ~ $ equery uses kwin
[ Legend : U - final flag setting for installation]
[        : I - package is installed with flag     ]
[ Colors : set, unset                             ]
 * Found these USE flags for kde-base/kwin-4.8.0:
 U I
 - - debug    : Enable extra debug codepaths, like asserts and extra output. If you want to get meaningful backtraces see http://www.gentoo.org/proj/en/qa/backtraces.xml
 - - gles     : Enable support for GLES.
 + + opengl   : Adds support for OpenGL (3D graphics)
 + + xinerama : Add support for the xinerama X11 extension, which is mandatory if you work in multiple monitors setup
sdr@hristo ~ $
Comment 7 Thomas Lübking 2012-02-11 21:37:11 UTC
Errrm... ok - sorry.
I can actually reproduce it with 4.8 (must have accidentally tested master where this is not an issue)

Possible candidates: updateRules() conflict or tabbing (even if not supported ...) so it will be fixed in 4.9 - as soon as I switch back to the 4.8 branch, i'll have a look what unminimizes the window
Comment 8 Thomas Lübking 2012-02-12 08:30:40 UTC
meehhh - I probably did not (forgot that Arch had an update and i'm currently again on vanilla 4.8.0)
I'll still have to test, but am quite sure this is the same issue, thus fixed in 4.8.1

Sorry for the trouble.

*** This bug has been marked as a duplicate of bug 290392 ***
Comment 9 Stoian Ivanov 2012-02-12 20:46:14 UTC
Great work! Thanks :)
Comment 10 Thomas Lübking 2012-02-12 20:47:49 UTC
(In reply to comment #9)
> Great work! Thanks :)

Not really, I broke it in the first place :-P
However i've meanwhile confirmed it's this issue.