Bug 489487 - In an Artix Linux X11 session, Krunner launches programs with the root directory as working directory rather than home
Summary: In an Artix Linux X11 session, Krunner launches programs with the root direct...
Status: RESOLVED DOWNSTREAM
Alias: None
Product: krunner
Classification: Plasma
Component: general (other bugs)
Version First Reported In: 6.1.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-30 11:16 UTC by Edoardo Lolletti
Modified: 2024-07-24 21:47 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Edoardo Lolletti 2024-06-30 11:16:21 UTC
STEPS TO REPRODUCE
1. Invoke krunner
2. Launch any program

OBSERVED RESULT
The starting working directory of the launched program will be the root directory "/", rather than the home directory "~", an easy way to test this is to launch any terminal emulator, which will show the current directory as "/"

EXPECTED RESULT
The program is launched in the home directory
Comment 1 Nate Graham 2024-07-02 20:13:22 UTC
Cannot reproduce the issue.

Does it reproduce for yo in a new clean user account? If not, this is caused by some kind of customization in your normal user account.
Comment 2 Edoardo Lolletti 2024-07-02 20:43:28 UTC
I tried on another machine of mine, on plasma 6.0, it happened there by default, so could have been one of the common configurations I apply on a fresh install each time, but then I tried making a new account as younsuggested, with a clean home directory, but the same behavior still happen. Both systems are running artix Linux
Comment 3 Edoardo Lolletti 2024-07-02 20:47:57 UTC
Made a discovery, this issue seems to be x11 specific, on wayland it behaves correctly
Comment 4 Bug Janitor Service 2024-07-17 03:46:36 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 5 Nate Graham 2024-07-23 17:12:32 UTC
Cannot reproduce in an X11 session on Fedora. This may be caused by some default configuration or pacthing from the Artix Linux folks. Can you report it to them? Thanks!
Comment 6 Edoardo Lolletti 2024-07-24 21:47:39 UTC
(In reply to Nate Graham from comment #5)
> Cannot reproduce in an X11 session on Fedora. This may be caused by some
> default configuration or pacthing from the Artix Linux folks. Can you report
> it to them? Thanks!

I tested on a live artix linux iso, and indeed there it happens, so I suppose the issue is on their end.
I'll try to report this issue on their forum, thanks for your time.