Bug 356497

Summary: XembedSNIProxy fails to resize icon properly when application is started after xembedsniproxy
Product: [Plasma] plasmashell Reporter: Andrew Chen <andrew>
Component: XembedSNIProxyAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: kde, wulf.richartz
Priority: NOR    
Version: 5.5.0   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: A screenshot demonstrating this bug

Description Andrew Chen 2015-12-11 00:17:19 UTC
The problem does not occur when xembedsniproxy is manually started.

Reproducible: Always




Automatic start:
Dec 11 13:02:42 ANDREW-LAPTOP-ARCH xembedsniproxy[920]: kde.xembedsniproxy: starting
Dec 11 13:02:42 ANDREW-LAPTOP-ARCH xembedsniproxy[920]: kde.xembedsniproxy: Manager selection claimed
Dec 11 13:02:42 ANDREW-LAPTOP-ARCH xembedsniproxy[920]: kde.xembedsniproxy: trying to dock window  50331674
Dec 11 13:02:42 ANDREW-LAPTOP-ARCH xembedsniproxy[920]: kde.xembedsniproxy: adding damage watch for  50331674
Dec 11 13:02:42 ANDREW-LAPTOP-ARCH xembedsniproxy[920]: kde.xembedsniproxy: Skip transparent xembed icon for 50331674 "workrave"
Dec 11 13:02:42 ANDREW-LAPTOP-ARCH xembedsniproxy[920]: kde.xembedsniproxy: Skip transparent xembed icon for 50331674 "workrave"
Dec 11 13:02:42 ANDREW-LAPTOP-ARCH xembedsniproxy[920]: kde.xembedsniproxy: Scaling pixmap of window 50331674 "workrave" from w*h 200 200
Dec 11 13:02:43 ANDREW-LAPTOP-ARCH xembedsniproxy[920]: kde.xembedsniproxy: Scaling pixmap of window 50331674 "workrave" from w*h 200 200

Manual start:
kde.xembedsniproxy: starting
kde.xembedsniproxy: Manager selection claimed
kde.xembedsniproxy: trying to dock window  39845914
kde.xembedsniproxy: adding damage watch for  39845914
kde.xembedsniproxy: Resizing window 39845914 "workrave" from w*h 200 200
kde.xembedsniproxy: Skip transparent xembed icon for 39845914 "workrave"
Comment 1 Andrew Chen 2015-12-11 00:18:00 UTC
Created attachment 95989 [details]
A screenshot demonstrating this bug
Comment 2 Andrew Chen 2015-12-11 00:34:42 UTC
(title edited)

Correction:
This bug occurs most of the time when the application is started after xembedsniproxy is.
virt-manager is a better example as the bug is always reproducible with it.

xembedsniproxy started before virt-manager (bug occurs):
kde.xembedsniproxy: starting
kde.xembedsniproxy: Manager selection claimed
kde.xembedsniproxy: trying to dock window  58720259
kde.xembedsniproxy: adding damage watch for  58720259
kde.xembedsniproxy: Skip transparent xembed icon for 58720259 "virt-manager"
kde.xembedsniproxy: Skip transparent xembed icon for 58720259 "virt-manager"
kde.xembedsniproxy: Scaling pixmap of window 58720259 "virt-manager" from w*h 200 200
kde.xembedsniproxy: Scaling pixmap of window 58720259 "virt-manager" from w*h 200 200

virt-manager started before xembedsniproxy (bug does not occur):
kde.xembedsniproxy: starting
kde.xembedsniproxy: Manager selection claimed
kde.xembedsniproxy: trying to dock window  39846241
kde.xembedsniproxy: adding damage watch for  39846241
kde.xembedsniproxy: Skip transparent xembed icon for 39846241 "virt-manager"
Comment 3 David Edmundson 2015-12-12 21:35:47 UTC
*** Bug 356500 has been marked as a duplicate of this bug. ***
Comment 4 David Edmundson 2015-12-12 21:36:35 UTC

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