| Summary: | Applications started from a KDE GUI tool (Kickoff, KRunner, etc) start with LANG=C instead of the LANG environment variable set by the user | ||
|---|---|---|---|
| Product: | [Frameworks and Libraries] frameworks-kio | Reporter: | Antenore Gatta <antenore> |
| Component: | general | Assignee: | KIO Bugs <kio-bugs-null> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | normal | CC: | alexander.lohnau, kde, kdelibs-bugs-null, nate |
| Priority: | NOR | ||
| Version First Reported In: | 5.80.0 | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Antenore Gatta
2021-03-23 08:29:23 UTC
It can be tested with xterm as well
1. install xterm
2. assign a shortcut in the application menu for the xterm entry
3. start xterm with the shortcut
4. see the windows properties with xprop
OBSERVED BEHAVIOR
_NET_WM_ICON_GEOMETRY(CARDINAL) = 3, 1797, 64, 38
_NET_WM_ALLOWED_ACTIONS(ATOM) = _NET_WM_ACTION_MOVE, _NET_WM_ACTION_RESIZE, _NET_WM_ACTION_MINIMIZE, _NET_WM_ACTION_SHADE, _NET_WM_ACTION_MAXIMIZE_VERT, _NET_WM_ACTION_MAXIMIZE_HORZ, _NET_WM_ACTION_CHANGE_DESKTOP, _NET_WM_ACTION_CLOSE
_KDE_NET_WM_FRAME_STRUT(CARDINAL) = 0, 0, 28, 0
_NET_FRAME_EXTENTS(CARDINAL) = 0, 0, 28, 0
_NET_WM_DESKTOP(CARDINAL) = 0
_KDE_NET_WM_ACTIVITIES(STRING) = "c892a6d5-1ecb-416b-9766-21082c57ef37"
WM_STATE(WM_STATE):
window state: Normal
icon window: 0x0
_NET_WM_STATE(ATOM) = _NET_WM_STATE_MAXIMIZED_VERT, _NET_WM_STATE_MAXIMIZED_HORZ, _NET_WM_STATE_FOCUSED
WM_PROTOCOLS(ATOM): protocols WM_DELETE_WINDOW
_NET_WM_PID(CARDINAL) = 2373730
_KDE_NET_WM_USER_CREATION_TIME(CARDINAL) = 70416968
SM_CLIENT_ID(STRING) = "10d1d6676d000161648845700000038890046"
WM_CLIENT_LEADER(WINDOW): window id # 0xe20000a
WM_LOCALE_NAME(STRING) = "C"
WM_CLASS(STRING) = "xterm", "XTerm"
WM_HINTS(WM_HINTS):
Client accepts input or input focus: True
Initial state is Normal State.
bitmap id # to use for icon: 0xe200013
bitmap id # of mask for icon: 0xe200015
WM_NORMAL_HINTS(WM_SIZE_HINTS):
user specified size: 3836 by 2084
program specified size: 3836 by 2084
program specified minimum size: 26 by 17
program specified resize increment: 6 by 13
program specified base size: 20 by 4
window gravity: NorthWest
WM_CLIENT_MACHINE(STRING) = "bigmom"
WM_COMMAND(STRING) = { "xterm" }
WM_ICON_NAME(STRING) = "xprop"
WM_NAME(STRING) = "xprop"
EXPECTED RESULT
_NET_WM_ICON_NAME(UTF8_STRING) = "xprop"
_NET_WM_NAME(UTF8_STRING) = "xprop"
_NET_WM_ICON_GEOMETRY(CARDINAL) = 3, 1801, 64, 38
_NET_WM_ALLOWED_ACTIONS(ATOM) = _NET_WM_ACTION_MOVE, _NET_WM_ACTION_RESIZE, _NET_WM_ACTION_MINIMIZE, _NET_WM_ACTION_SHADE, _NET_WM_ACTION_MAXIMIZE_VERT, _NET_WM_ACTION_MAXIMIZE_HORZ, _NET_WM_ACTION_CHANGE_DESKTOP, _NET_WM_ACTION_CLOSE
_KDE_NET_WM_FRAME_STRUT(CARDINAL) = 0, 0, 28, 0
_NET_FRAME_EXTENTS(CARDINAL) = 0, 0, 28, 0
_NET_WM_DESKTOP(CARDINAL) = 0
_KDE_NET_WM_ACTIVITIES(STRING) = "c892a6d5-1ecb-416b-9766-21082c57ef37"
WM_STATE(WM_STATE):
window state: Normal
icon window: 0x0
_NET_WM_STATE(ATOM) = _NET_WM_STATE_MAXIMIZED_VERT, _NET_WM_STATE_MAXIMIZED_HORZ, _NET_WM_STATE_FOCUSED
WM_PROTOCOLS(ATOM): protocols WM_DELETE_WINDOW
_NET_WM_PID(CARDINAL) = 2385400
SM_CLIENT_ID(STRING) = "10d1d6676d000161648870500000038890048"
_KDE_NET_WM_USER_CREATION_TIME(CARDINAL) = 70664391
WM_CLIENT_LEADER(WINDOW): window id # 0xe20000a
WM_LOCALE_NAME(STRING) = "en_US.UTF-8"
WM_CLASS(STRING) = "xterm", "XTerm"
WM_HINTS(WM_HINTS):
Client accepts input or input focus: True
Initial state is Normal State.
bitmap id # to use for icon: 0xe20001a
bitmap id # of mask for icon: 0xe20001c
WM_NORMAL_HINTS(WM_SIZE_HINTS):
user specified size: 3836 by 2084
program specified size: 3836 by 2084
program specified minimum size: 26 by 17
program specified resize increment: 6 by 13
program specified base size: 20 by 4
window gravity: NorthWest
WM_CLIENT_MACHINE(STRING) = "bigmom"
WM_COMMAND(STRING) = { "xterm" }
WM_ICON_NAME(STRING) = "xprop"
WM_NAME(STRING) = "xprop"
Also starting from the application menu, without a shortcut, has the same behavior, so it's a more general issue. Which is the right component in this case? Probably the kio applicationlauncherjob/commandlauncherjob (In reply to Nate Graham from comment #3) > Probably the kio applicationlauncherjob/commandlauncherjob Kglobalaccel can't use KIO, so it uses dbus activation or runs them via klauncher Oh actually I'm pretty sure this is fixed by the same thing that fixed Bug 429435 in Plasma 5.21! *** This bug has been marked as a duplicate of bug 429435 *** Actually I didn't think to test on a recent plasma version. I'll test ASAP and report back. Thanks! (In reply to Nate Graham from comment #5) > Oh actually I'm pretty sure this is fixed by the same thing that fixed Bug > 429435 in Plasma 5.21! > > *** This bug has been marked as a duplicate of bug 429435 *** I confirm that with Plasma > 5.21 it works properly. Thanks! Hooray! |