Bug 1221836 - The pinned Yast-Software icon opens a text file
Summary: The pinned Yast-Software icon opens a text file
Status: NEW
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: KDE Workspace (Plasma) (show other bugs)
Version: Current
Hardware: 64bit openSUSE Tumbleweed
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: E-Mail List
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-21 18:35 UTC by Thierry Leroy
Modified: 2024-03-29 22:17 UTC (History)
1 user (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---
christophe: needinfo? (thierryleroy)


Attachments
bug image (365.22 KB, image/jpeg)
2024-03-21 18:35 UTC, Thierry Leroy
Details
Edit menu entry (91.71 KB, image/png)
2024-03-22 17:53 UTC, Thierry Leroy
Details
Edit menu entry 2 (67.36 KB, image/png)
2024-03-22 17:53 UTC, Thierry Leroy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thierry Leroy 2024-03-21 18:35:49 UTC
Created attachment 873707 [details]
bug image

The pinned Yast-Software icon opens a text file ruby.ruby3.3 

tumbleweed 20240319
Comment 1 Christophe Marin 2024-03-21 19:07:17 UTC
How did you pin it?

If I pin the yast software application, it can be executed.

Do you have a custom desktop file in ~/.local/share/applications/ ?
Comment 2 Thierry Leroy 2024-03-21 20:38:55 UTC
"Do you have a custom desktop file in ~/.local/share/applications/ ?"

No

I have three machines with tumbleweed, one with a new installation and two others that have been updated.

The problem only occurs on the updated ones.

On one of these, I've created a new user, and the problem also occurs with him.
Comment 3 Thierry Leroy 2024-03-22 15:26:01 UTC
I've just checked with another Yast module, Yast Partitioner, and it produces the same result. But not with Yast.
Comment 4 Thierry Leroy 2024-03-22 17:53:12 UTC
Created attachment 873739 [details]
Edit menu entry
Comment 5 Thierry Leroy 2024-03-22 17:53:40 UTC
Created attachment 873740 [details]
Edit menu entry 2
Comment 6 Thierry Leroy 2024-03-22 17:54:05 UTC
When I edit the Yast Software launcher, I see that it points to /home/thierry/.local/share/applications instead of /usr/share/applications, and the owner is me instead of root (normal since it points to my personal folder).

New image attachments
Comment 7 Christophe Marin 2024-03-22 18:34:22 UTC
`ls -l ~/.local/share/applications/` please
Comment 8 Thierry Leroy 2024-03-22 19:02:59 UTC
total 24
-rw------- 1 thierry thierry 493  3 févr.  2022 luckybackup.desktop
-rw-r--r-- 1 thierry thierry  13  3 févr.  2022 mimeinfo.cache
-rwxr--r-- 1 thierry thierry 588 20 mars  19:32 org.opensuse.yast.Packager.desktop
-rwxr--r-- 1 thierry thierry 407 11 sept.  2023 thunderbird.desktop
-rw------- 1 thierry thierry 173  3 févr.  2022 userapp-Thunderbird-3J6WG1.desktop
-rw------- 1 thierry thierry 173  3 févr.  2022 userapp-Thunderbird-ET0XG1.desktop

The problem now occurs on all three of my machines, including a new installation.
Comment 9 Christophe Marin 2024-03-22 19:58:56 UTC
(In reply to Thierry Leroy from comment #8)
> total 24
> -rwxr--r-- 1 thierry thierry 588 20 mars  19:32
> org.opensuse.yast.Packager.desktop

there it is, try deleting this file then run `kbuildsycoca6 --noincremental` to rebuild the cache


you can also check the other .desktop files with `grep Exec ~/.local/share/applications/*.desktop` to see if they're different from the system ones
Comment 10 Thierry Leroy 2024-03-22 23:47:32 UTC
I've done this, the first delete command does change the location and owner of the menu entry, the second cache rebuild command doesn't seem to do anything. I pin and I get the same result as before.
Comment 11 Thierry Leroy 2024-03-23 14:15:23 UTC
Sorry, but things have improved. The pinned icon still opens a ruby.ruby3.3 text file, but it no longer sends an entry to /Home/.local/share/applications, and editing the Yast Software entry in the menu now shows that it does point to /usr/share/applications and that its owner is root.
Comment 12 Thierry Leroy 2024-03-29 22:17:27 UTC
Pinning Yast Software from the Task Manager doesn't work. If you pin from the application launcher, it does.

TW 20230328