Bug 231524 - Forced window properties for skype contact list not used after restoring a kde session
Summary: Forced window properties for skype contact list not used after restoring a kd...
Status: RESOLVED WORKSFORME
Alias: None
Product: kwin
Classification: Plasma
Component: rules (show other bugs)
Version: unspecified
Platform: Arch Linux Unspecified
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-21 12:22 UTC by Johannes Wienke
Modified: 2021-06-15 21:59 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
xwininfo and xprop for skype before and after login (20.00 KB, application/x-tar)
2012-03-12 10:29 UTC, Johannes Wienke
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Johannes Wienke 2010-03-21 12:22:30 UTC
Version:            (using KDE 4.4.1)
Installed from:    Archlinux Packages

Skype has the strange behaviour to place appear on somewhere in the middle of my screen when I log in using the session restore functionality of kde. For that reason I added a forced position for the skype contact list window (Force, position (0,0)). After applying this setting the contact list immediately moves to (0,0) and cannot be moved afterwards, as expected. Nevertheless, if I log out from my kde session and log on again, the forced window position isn't restored and skype floats somewhere on the screen. Moreover it can be moved with the mouse. The moment I enter the dialog with the special window properties (right click on title bar -> extended -> special properties for this window) skype moves "magically" back to its forced positions and cannot be moved again. I would expect that the forced window settings are restored immediately when the session is restored.

I can only reproduce this problem with skype. For other applications it works without a problem.
Comment 1 Martin Flöser 2010-03-21 12:41:32 UTC
Try using the setting to apply on initialisation. That should be honoured when the window is created.
Comment 2 Johannes Wienke 2010-03-22 17:36:58 UTC
Using the "apply on initialization" option doesn't work either. Moreover I would expect that "force" is even stronger.
Comment 3 Thomas Lübking 2012-03-11 04:47:34 UTC
could be related to bug #252255 - maybe skype sets or alters the netwm hints delayed?!
we'd have to watch properties and reapply rules if a relevant changes, if this is the case
Comment 4 Thomas Lübking 2012-03-11 06:01:13 UTC
also see #187539
Comment 5 Johannes Wienke 2012-03-11 16:02:44 UTC
I suspect something like that because skype first shows kind of a login windows which then transforms into the contact list. Both is the same window, however, skype also seems to apply some size changes while doing this.
Comment 6 Thomas Lübking 2012-03-11 16:39:38 UTC
since i'd have to set up a skype account, can you just dump "xwininfo > sky.info.before" and "xprop > skype.prop.before" and "xwininfo > sky.info.after" and "xprop > skype.prop.after" before and after this transition and attach them to the bug?

Thanks.
Comment 7 Johannes Wienke 2012-03-12 10:29:52 UTC
Created attachment 69528 [details]
xwininfo and xprop for skype before and after login

Attached are the 4 files. I am not sure if this really helps to track this because normally I have skype set up to log in automatically at start. So I first see for a usually very short time the login window of skype which then transforms into the usual contact list. As this time is too short for me to click on the window to get all the properties, I set skype to manually log in which a button press. So I have no idea if the window behaves the same now.
Comment 8 Thomas Lübking 2012-03-12 17:09:49 UTC
Nope, only apparent change here's the title, and that should not matter.
Needs event debugging -> unless anybody else won't, i'll need a sky account. *sigh*.
Comment 9 Justin Zobel 2021-03-10 00:12:31 UTC
Thank you for the bug report.

As this report hasn't seen any changes in 5 years or more, we ask if you can please confirm that the issue still persists.

If this bug is no longer persisting or relevant please change the status to resolved.
Comment 10 Ismael Asensio 2021-06-15 21:59:00 UTC
Works for me on latest versions of Plasma (5.22) and Skype (8.73.0.92)