You are not logged in.

#1 2020-02-24 07:44:47

kurt
Member
Registered: 2009-09-06
Posts: 140

KDE 5.18 - Cant remove kate from favourites

Since update to KDE 5.18 I cant remove KATE from the "Application Menu" list of favourites.

Well I can but after a system restart or if I logout and log back in again it comes back.

Offline

#2 2020-02-24 11:40:06

d_fajardo
Member
Registered: 2017-07-28
Posts: 1,653

Re: KDE 5.18 - Cant remove kate from favourites

Look into ~/.config/menus/applications-kmenuedit.menu. You can tweak the file to remove entry or if you want to start start a clean slate, delete the file (copy it somewhere to be safe).

Offline

#3 2020-02-24 12:43:13

kurt
Member
Registered: 2009-09-06
Posts: 140

Re: KDE 5.18 - Cant remove kate from favourites

d_fajardo wrote:

Look into ~/.config/menus/applications-kmenuedit.menu. You can tweak the file to remove entry or if you want to start start a clean slate, delete the file (copy it somewhere to be safe).

Well I had a look into that file and I don't thing it has a relevance to my problem. For example there were no references to the favorites that I do have and want to keep.

Just in case I moved it to ~/.config/menus/applications-kmenuedit.menu.orig and restarted my system.

Once back up kate was once again in my favorites and I had to right click it and remove from favorites.

I checked ~/.config/menus/ and there was only applications-kmenuedit.menu.orig in the dir so a new file wasn't created either.

Offline

#4 2020-02-24 13:26:18

d_fajardo
Member
Registered: 2017-07-28
Posts: 1,653

Re: KDE 5.18 - Cant remove kate from favourites

Ok. I had something like that worked for me before. Perhaps I've given you the wrong file. I'll have another check but it must be in one of these KDE or plasma config files.

Offline

#5 2020-02-24 14:32:54

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 23,395

Re: KDE 5.18 - Cant remove kate from favourites

You should check ~/.config/kactivitymanagerd-statsrc you might want to check permissions of that file. Are your plasma widgets locked? That might contribute. Also maybe post/check the end of

journalctl -b

after attempting to remove the entry

Last edited by V1del (2020-02-24 14:34:27)

Offline

#6 2020-02-24 15:01:10

kurt
Member
Registered: 2009-09-06
Posts: 140

Re: KDE 5.18 - Cant remove kate from favourites

V1del wrote:

You should check ~/.config/kactivitymanagerd-statsrc you might want to check permissions of that file. Are your plasma widgets locked? That might contribute. Also maybe post/check the end of

journalctl -b

after attempting to remove the entry

The permissions for that file are:-

-rw-------

or

Owner: Can view & Modify
Group: No Access
Others: No Access

Are my plasma widgets locked. That was an interesting question. I looked for the config button in my panel but it wasn't there anymore. I found out this was a feature of 5.18 and that as long as you could right click on the desktop and had available the various options to add panel/widgets it meant that they weren't locked. So no I don't think my widgets are locked.

I removed the kate favorite again and from that journalctl -b command the last lines were:
Feb 24 14:58:25 Desktop-PC plasmashell[4375]: Opening menu at 24 8
Feb 24 14:58:28 Desktop-PC plasmashell[4375]: qml: _kicker_favorite_remove
Feb 24 14:58:28 Desktop-PC plasmashell[4375]: qml: Removing from all activities

But I've never had a problem removing it. I can remove it and it would stay removed until I either logout/in or do a system restart. After this it comes back.

Offline

#7 2020-02-24 15:02:54

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 23,395

Re: KDE 5.18 - Cant remove kate from favourites

Check that file is the "kate" entry still there? Is the file modified when you remove it?

Last edited by V1del (2020-02-24 15:14:06)

Offline

#8 2020-02-24 15:17:00

kurt
Member
Registered: 2009-09-06
Posts: 140

Re: KDE 5.18 - Cant remove kate from favourites

V1del wrote:

Check that file is it "kate" still there? Is the file modified when you remove it?

Not sure what you mean by is kate still there.

1 have the widget "Application Menu - A launcher based on cascading popup menus" on my panel. When I open it on the left had side is a column of favorites. I right click the kate favorite and select "Remove from favourites". The Icon disappears and all is good. However the next time I reboot my system or logout/login the icon reappears in the favorite column. Its only kate I'm having the issue with. I have removed other favourites (i.e. dolphin, firefox, system settings) and they do not come back.

If you meant kactivitymanagerd-statsrc, yes its still there and no it was not modified:

[<username>@Desktop-PC ~]$ ls -lh ~/.config/kactivitymanagerd-statsrc
-rw------- 1 <username> <groupname> 8.0K Feb  6 12:07 /home/stephen/.config/kactivitymanagerd-statsrc

Offline

#9 2020-02-24 15:19:55

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 23,395

Re: KDE 5.18 - Cant remove kate from favourites

look at the kactivitymanagerd-statsrc file (with a text editor). And as you are talking about kicker rather than kickoff that might also be relevant

If the file is not modified than that's likely your problem. Remove the kate entry manually if need be but the question is why that file is not modified. How are you starting KDE? What's your output for

loginctl session-status

?

Last edited by V1del (2020-02-24 15:23:16)

Offline

#10 2020-02-24 16:20:55

kurt
Member
Registered: 2009-09-06
Posts: 140

Re: KDE 5.18 - Cant remove kate from favourites

V1del wrote:

look at the kactivitymanagerd-statsrc file (with a text editor). And as you are talking about kicker rather than kickoff that might also be relevant

If the file is not modified than that's likely your problem. Remove the kate entry manually if need be but the question is why that file is not modified. How are you starting KDE? What's your output for

loginctl session-status

?

loginctl session-status
7 - <username> (1000)
           Since: Mon 2020-02-24 15:11:04 GMT; 1h 7min ago
          Leader: 5862 (sddm-helper)
            Seat: seat0; vc1
         Display: :0
         Service: sddm; type x11; class user
         Desktop: KDE
           State: active
            Unit: session-7.scope
                  ├─5862 /usr/lib/sddm/sddm-helper --socket /tmp/sddm-authcf9b11c1-a16f-4420-a682-8671ba0f2ee8 --id 5 --start /usr/bin/startplasma-x11 --user <username>
                  ├─5866 /usr/bin/kwalletd5 --pam-login 7 3
                  ├─5867 /usr/bin/startplasma-x11
                  ├─5882 /usr/lib/kf5/start_kdeinit --kded +kcminit_startup
                  ├─5883 kdeinit5: Running...
                  ├─5887 /usr/lib/kf5/klauncher --fd=9
                  ├─5891 kded5
                  ├─5897 /usr/bin/kaccess
                  ├─5940 /usr/bin/plasma_session
                  ├─5943 /usr/bin/ksmserver
                  ├─5946 /usr/bin/kwin_x11
                  ├─5948 /usr/lib/polkit-kde-authentication-agent-1
                  ├─5950 /usr/bin/plasmashell
                  ├─5954 /usr/bin/xembedsniproxy
                  ├─5972 /usr/bin/gmenudbusmenuproxy
                  ├─5975 /usr/lib/kdeconnectd
                  ├─5981 /usr/bin/yakuake
                  ├─5983 /opt/piavpn/bin/pia-client --quiet
                  ├─5985 /usr/lib/geoclue-2.0/demos/agent
                  ├─5988 /usr/lib/org_kde_powerdevil
                  ├─6028 /bin/bash
                  ├─6121 file.so [kdeinit5] file local:/run/user/1000/klauncherzoTvhR.1.slave-socket local:/run/user/1000/kio_desktoprRwvdA.1.slave-socket
                  ├─6138 /usr/lib/firefox/firefox -p default
                  ├─6169 /usr/lib/firefox/firefox -contentproc -parentBuildID 20200218215850 -prefsLen 1 -prefMapSize 216120 -greomni /usr/lib/firefox/omni.ja -appomni /usr/lib/firefox/browser/omni.ja -appdir /usr/lib/firefox/browser 6>
                  ├─6219 /usr/lib/firefox/firefox -contentproc -childID 1 -isForBrowser -prefsLen 273 -prefMapSize 216120 -parentBuildID 20200218215850 -greomni /usr/lib/firefox/omni.ja -appomni /usr/lib/firefox/browser/omni.ja -appdir>
                  ├─6277 /usr/lib/firefox/firefox -contentproc -childID 2 -isForBrowser -prefsLen 6474 -prefMapSize 216120 -parentBuildID 20200218215850 -greomni /usr/lib/firefox/omni.ja -appomni /usr/lib/firefox/browser/omni.ja -appdi>
                  ├─6337 /usr/bin/plasma-browser-integration-host /usr/lib/mozilla/native-messaging-hosts/org.kde.plasma.browser_integration.json plasma-browser-integration@kde.org
                  ├─6423 file.so [kdeinit5] file local:/run/user/1000/klauncherzoTvhR.1.slave-socket local:/run/user/1000/kded5vAPvfH.1.slave-socket
                  ├─6456 /usr/lib/firefox/firefox -contentproc -childID 5 -isForBrowser -prefsLen 8433 -prefMapSize 216120 -parentBuildID 20200218215850 -greomni /usr/lib/firefox/omni.ja -appomni /usr/lib/firefox/browser/omni.ja -appdi>
                  ├─6640 /usr/lib/firefox/firefox -contentproc -childID 6 -isForBrowser -prefsLen 9256 -prefMapSize 216120 -parentBuildID 20200218215850 -greomni /usr/lib/firefox/omni.ja -appomni /usr/lib/firefox/browser/omni.ja -appdi>
                  ├─6678 loginctl session-status
                  └─6679 less

Feb 24 15:28:42 Desktop-PC org_kde_powerdevil[5988]: powerdevil: Kbd backlight brightness value:  0
Feb 24 16:18:01 Desktop-PC ksmserver[5943]: UnmapNotify: 77594639
Feb 24 16:18:01 Desktop-PC ksmserver[5943]: UnmapNotify: 77594639
Feb 24 16:18:01 Desktop-PC ksmserver[5943]: CreateNotify: 77594655
Feb 24 16:18:01 Desktop-PC kwin_x11[5946]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 38319, resource id: 77594655, major code: 18 (ChangeProperty), minor code: 0
Feb 24 16:18:01 Desktop-PC ksmserver[5943]: Grab Released
Feb 24 16:18:01 Desktop-PC kwin_x11[5946]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 38348, resource id: 27262983, major code: 2 (ChangeWindowAttributes), minor code: 0
Feb 24 16:18:03 Desktop-PC plasmashell[5950]: trying to show an empty dialog
Feb 24 16:18:06 Desktop-PC plasmashell[5950]: file:///usr/share/plasma/plasmoids/org.kde.plasma.kicker/contents/ui/ItemListDialog.qml:51: TypeError: Cannot read property 'separatorCount' of null
Feb 24 16:18:06 Desktop-PC plasmashell[5950]: trying to show an empty dialog

Also I moved kactivitymanagerd-statsrc to kactivitymanagerd-statsrc.orig abd rebooted and the file was not recreated and kate was back in the favourites.

Last edited by kurt (2020-02-24 16:28:51)

Offline

#11 2020-02-24 18:21:07

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 23,395

Re: KDE 5.18 - Cant remove kate from favourites

Please use [ code ] [ /code ] tags without the spaces for pasting outputs.

That... is weird. session looks alright from a glance (though I do find it somewhat strange that it's the 7th but that could be normal if the system is shared with multiple accounts or so). Did you change the default configdir via XDG_CONFIG_DIR or so? Your user does have write access to the .config dir? I assume you don't only have a problem with removing kate but can also not add any entries that stick? Do you maybe have some other widget that overrides/steals this information? What about

qdbus org.kde.plasmashell /PlasmaShell org.kde.PlasmaShell.dumpCurrentLayoutJS #Needs qt5-tools

Offline

#12 2020-02-24 18:51:17

kurt
Member
Registered: 2009-09-06
Posts: 140

Re: KDE 5.18 - Cant remove kate from favourites

V1del wrote:

Please use [ code ] [ /code ] tags without the spaces for pasting outputs.

That... is weird. session looks alright from a glance (though I do find it somewhat strange that it's the 7th but that could be normal if the system is shared with multiple accounts or so). Did you change the default configdir via XDG_CONFIG_DIR or so? Your user does have write access to the .config dir? I assume you don't only have a problem with removing kate but can also not add any entries that stick? Do you maybe have some other widget that overrides/steals this information? What about

qdbus org.kde.plasmashell /PlasmaShell org.kde.PlasmaShell.dumpCurrentLayoutJS #Needs qt5-tools

I only have one account on my computer that shows up in System Settings -> Account Details -> User Manager and this is the only account I have ever used.

I can add other applications as favorites and they do stick across a logout/in and system restarts. Its only kate I have any problems with. Perhaps I should have mentioned it earlier the problem only started when kate was updated with a new ICON. Before then it was not a favorite.

Output from qdbus org.kde.plasmashell /PlasmaShell org.kde.PlasmaShell.dumpCurrentLayoutJS is as follows:

var plasma = getApiVersion(1);

var layout = {
    "desktops": [
        {
            "applets": [
            ],
            "config": {
                "/": {
                    "ItemGeometriesHorizontal": "",
                    "formfactor": "0",
                    "immutability": "1",
                    "lastScreen": "0",
                    "wallpaperplugin": "org.kde.image"
                },
                "/ConfigDialog": {
                    "DialogHeight": "895",
                    "DialogWidth": "1420"
                },
                "/Configuration": {
                    "PreloadWeight": "0"
                },
                "/General": {
                    "ToolBoxButtonState": "topcenter",
                    "ToolBoxButtonX": "721",
                    "ToolBoxButtonY": "26",
                    "pressToMoveHelp": "false",
                    "showToolbox": "false"
                },
                "/Wallpaper/org.kde.image/General": {
                    "Image": "file:///usr/share/wallpapers/DarkestHour/contents/images/2560x1600.jpg"
                },
                "/Wallpaper/org.kde.potd/General": {
                    "FillMode": "2"
                }
            },
            "wallpaperPlugin": "org.kde.image"
        }
    ],
    "panels": [
        {
            "alignment": "center",
            "applets": [
                {
                    "config": {
                        "/": {
                            "immutability": "1"
                        },
                        "/Configuration": {
                            "PreloadWeight": "97"
                        },
                        "/Configuration/ConfigDialog": {
                            "DialogHeight": "600",
                            "DialogWidth": "800"
                        },
                        "/Configuration/General": {
                            "favoritesPortedToKAstats": "true",
                            "showRecentApps": "false",
                            "showRecentDocs": "false"
                        }
                    },
                    "plugin": "org.kde.plasma.kicker"
                },
                {
                    "config": {
                        "/": {
                            "immutability": "1"
                        },
                        "/Configuration": {
                            "PreloadWeight": "0"
                        },
                        "/Configuration/ConfigDialog": {
                            "DialogHeight": "600",
                            "DialogWidth": "800"
                        },
                        "/Configuration/General": {
                            "launchers": "applications:systemsettings.desktop,applications:org.kde.ksysguard.desktop,applications:org.kde.kate.desktop,applications:org.kde.dolphin.desktop,applications:puddletag.desktop,applications:firefox.desktop",
                            "showToolTips": "false"
                        }
                    },
                    "plugin": "org.kde.plasma.icontasks"
                },
                {
                    "config": {
                        "/": {
                            "immutability": "1"
                        },
                        "/Configuration": {
                            "PreloadWeight": "0"
                        }
                    },
                    "plugin": "org.kde.plasma.systemtray"
                },
                {
                    "config": {
                        "/": {
                            "immutability": "1"
                        },
                        "/Configuration": {
                            "PreloadWeight": "0"
                        },
                        "/Configuration/Appearance": {
                            "customDateFormat": "ddd dd MMM,",
                            "dateFormat": "customDate",
                            "showSeparator": "false",
                            "use24hFormat": "2"
                        },
                        "/Configuration/ConfigDialog": {
                            "DialogHeight": "600",
                            "DialogWidth": "800"
                        }
                    },
                    "plugin": "org.kde.plasma.chiliclock"
                }
            ],
            "config": {
                "/": {
                    "formfactor": "2",
                    "immutability": "1",
                    "lastScreen": "0",
                    "wallpaperplugin": "org.kde.image"
                },
                "/ConfigDialog": {
                    "DialogHeight": "86",
                    "DialogWidth": "1920"
                },
                "/Configuration": {
                    "PreloadWeight": "0"
                }
            },
            "height": 1.3,
            "hiding": "normal",
            "location": "top",
            "maximumLength": 96,
            "minimumLength": 96,
            "offset": 0
        }
    ],
    "serializationFormatVersion": "1"
}
;

plasma.loadSerializedLayout(layout);

Offline

#13 2020-02-29 16:05:23

kifuna
Member
Registered: 2015-01-29
Posts: 40

Re: KDE 5.18 - Cant remove kate from favourites

It's probably related to this bug: https://bugs.kde.org/show_bug.cgi?id=385814

Offline

#14 2020-03-01 17:06:30

SyndromeDayna
Member
Registered: 2019-07-13
Posts: 33

Re: KDE 5.18 - Cant remove kate from favourites

i had a similar glitch and i fixed it by creating a new user account

Offline

#15 2020-03-02 07:55:22

kurt
Member
Registered: 2009-09-06
Posts: 140

Re: KDE 5.18 - Cant remove kate from favourites

SyndromeDayna wrote:

i had a similar glitch and i fixed it by creating a new user account

Thats one sledgehammer. My sledgehammer was to delete (well rename) the dir ~/.local/share/kactivitymanagerd/resources and reboot.

Offline

Board footer

Powered by FluxBB