xpra icon
Bug tracker and wiki

This bug tracker and wiki are being discontinued
please use https://github.com/Xpra-org/xpra instead.


Opened 5 years ago

Closed 5 years ago

Last modified 6 months ago

#1176 closed defect (invalid)

no icons in Kmail

Reported by: onlyjob Owned by: onlyjob
Priority: major Milestone: 0.17
Component: core Version: 0.16.x
Keywords: Cc:

Description

Kmail-15.12.1 looks very different when started in Xpra session because there are no icons whatsoever.
I wonder if that could be because of QT5 or due to some other reason?

Any ideas how to troubleshoot? Thanks.

Change History (8)

comment:1 Changed 5 years ago by Antoine Martin

Owner: changed from Antoine Martin to onlyjob

Please see #1144

comment:2 Changed 5 years ago by onlyjob

This is on Cinnamon Desktop Environment but most certainly unrelated to DE.

comment:3 Changed 5 years ago by Antoine Martin

As per #1144, that's nowhere near enough information to debug.

comment:4 Changed 5 years ago by onlyjob

I've just reproduced with "kwrite"...
I think it may have something to do with D-Bus or environment variables.
I'll try to isolate the problem and provide more information.

Maybe not for this particular issue but in general would it help you if I make a Docker image with Xpra server instance exhibiting a problem?

comment:5 Changed 5 years ago by onlyjob

Resolution: invalid
Status: newclosed

This is one of the weirdest bugs I've seen...

When I SSH to localhost and start DISPLAY=:22 kwrite it starts without UI icons. If I just start it as DISPLAY=:22 kwrite (without SSH) it starts with normal interface. I've made a list of environment variables and started to unset 'em one by one until I found that icons are shown only when GNOME_DESKTOP_SESSION_ID is set. To my utmost surprise value of GNOME_DESKTOP_SESSION_ID is this-is-deprecated!

So I've SSH'ed to localhost again, and run GNOME_DESKTOP_SESSION_ID=this-is-deprecated DISPLAY=:22 kwrite which magically fixed the problem.
It works properly with all icons even if I set GNOME_DESKTOP_SESSION_ID=0. I wonder where should I report this bug but it is certainly not a problem in Xpra.

Hopefully this information help those who stumble upon this problem...

comment:6 Changed 5 years ago by onlyjob

Another relevant variable is XDG_CURRENT_DESKTOP.
Apparently kwrite v15.08.3 rely on XDG_CURRENT_DESKTOP to select UI features and falls back to GNOME_DESKTOP_SESSION_ID.
When neither is set kwrite shows no icons...

comment:7 Changed 5 years ago by Antoine Martin

As of r12440, XDG_CURRENT_DESKTOP will be set to our "wm-name" option (defaults to Xpra).

This will help for commands started with any of the "start[-XXXX]" options, but not when started externally.

kwrite should probably be looking up the wm-name using the standard X11 API. (and its wayland / whatever equivallent)

comment:8 Changed 6 months ago by migration script

this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/1176

Note: See TracTickets for help on using tickets.