xpra icon
Bug tracker and wiki

Opened 13 months ago

Closed 4 weeks ago

Last modified 11 days ago

#1350 closed enhancement (fixed)

gnome shell uses the wrong window icon

Reported by: Antoine Martin Owned by: Antoine Martin
Priority: minor Milestone: 2.2
Component: external Version: trunk
Keywords: Cc:

Description

We try very hard to ensure that despite the fact that all the windows we forward will be owned by the same xpra process, we set a different group-leader (see "get_group_leader"), we forward the wm-class and the window icon.
Unfortunately, gnome-shell will use the first icon we set for all the windows.. Can be tested easily with this standalone app: test_window_icons.py

There could be other window managers that do the wrong thing here, but gnome-shell is the only one I am aware of.
Tested: Ubuntu's Unity, MS Windows, KDE, etc.. no problem with any of those. (macos, as usual, does its own thing: only one dock entry.. which we could change when a different application gets focus?)

This may require submitting a patch upstream..

Change History (6)

comment:1 Changed 4 months ago by Antoine Martin

Milestone: future2.2
Status: newassigned

I believe this is no longer the case since #1144, will re-check.

comment:2 Changed 4 months ago by Antoine Martin

Still a problem. All the window properties are set correctly, but gnome-shell uses something else... sigh.

comment:3 Changed 4 weeks ago by Antoine Martin

Resolution: fixed
Status: assignedclosed

Fixed in r17250: we create a fake process for each server-side pid, this ensures that gnome-shell does the right thing.
We can later use it for handling client-side signals sent to the process owning a window: #1671.

Found some references along the way:

Last edited 4 weeks ago by Antoine Martin (previous) (diff)

comment:4 Changed 4 weeks ago by Antoine Martin

Missing bits added in r17253 (caused #1672).

comment:5 Changed 3 weeks ago by Antoine Martin

r17272: missing man page

comment:6 Changed 11 days ago by Antoine Martin

r17362: minor cleanup in and avoid trying on macos

Note: See TracTickets for help on using tickets.