#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
Owner: | changed from Antoine Martin to onlyjob |
---|
comment:2 Changed 5 years ago by
This is on Cinnamon Desktop Environment but most certainly unrelated to DE.
comment:4 Changed 5 years ago by
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
Resolution: | → invalid |
---|---|
Status: | new → closed |
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
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
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 3 months ago by
this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/1176
Please see #1144