Bug 401115 - Opening a session many times si slow and breaks xdg-desktop-menu-dummy.menu
Summary: Opening a session many times si slow and breaks xdg-desktop-menu-dummy.menu
Status: RESOLVED WORKSFORME
Alias: None
Product: kate
Classification: Applications
Component: application (show other bugs)
Version: 18.08.0
Platform: Debian testing Linux
: NOR normal
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-11-16 17:18 UTC by zeta
Modified: 2019-06-22 08:06 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description zeta 2018-11-16 17:18:55 UTC
SUMMARY


STEPS TO REPRODUCE
1. kate -ns test_session_terminal #from terminal
2. Enable Terminal Plugin
3. Enable 'Automatically Synchronize the terminal wiuth the current document'
4. Open the terminal
5. close kate
6. kate -ns test_session_terminal a b c d e f g h i #from terminal
7. close all open tabs (ctrl+w ctrl+w ctrl+w ... ... ctrl+w)
8. close kate
9. kate -ns test_session_terminal a b c d e f g h i #from terminal
10. close all open tabs (ctrl+w ctrl+w ctrl+w ... ... ctrl+w)
11. close kate
12. kate -ns test_session_terminal a b c d e f g h i #from terminal
13. close all open tabs (ctrl+w ctrl+w ctrl+w ... ... ctrl+w)

OBSERVED RESULT

1: very slow
2: screen is flooded with errors:

first:
kf5.kservice.sycoca: Parse error in  "/home/zeta/.config/menus/applications-merged/xdg-desktop-menu-dummy.menu" , line  1 , col  1 :  "unexpected end of file"

repeated many times:
kf5.kservice.services: The desktop file "/home/zeta/.local/share/applications/org.kde.kate.desktop" references the action "Session cb894b7774233a5e90f899dbcf176a1b" but doesn't define it
kf5.kservice.services: The desktop file "/home/zeta/.local/share/applications/org.kde.kate.desktop" references the action "Session 2f56b4f336dc97edf739bf79523fb9a6" but doesn't define it
kf5.kservice.services: The desktop file "/home/zeta/.local/share/applications/org.kde.kate.desktop" references the action "Session 9af9a11921196a9ffd889a1f805abdf6" but doesn't define it
kf5.kservice.services: The desktop file "/home/zeta/.local/share/applications/org.kde.kate.desktop" references the action "Session 86e2207f7ad647ef64ff93aea0f4b9f2" but doesn't define it

and at the end
kf5.kservice.services: The desktop entry file "/usr/share/applications/org.kde.drkonqi.desktop" has Type= "Application" but no Exec line
kf5.kservice.sycoca: Invalid Service :  "/usr/share/applications/org.kde.drkonqi.desktop"
kf5.kservice.services: The desktop entry file "/usr/share/applications/org.kde.systemmonitor.desktop" has Type= "Application" but no Exec line
kf5.kservice.sycoca: Invalid Service :  "/usr/share/applications/org.kde.systemmonitor.desktop"
kf5.kservice.sycoca: The menu spec file contains a Layout or DefaultLayout tag without the mandatory Merge tag inside. Please fix your file.


EXPECTED RESULT

kate should be fast when opening plain text files with no content
stderr should not have errors

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Debian Testing
KDE Plasma Version: 4:5.13.5-1+b1
KDE Frameworks Version: I dont know
Qt Version: I dont know

ADDITIONAL INFORMATION
Comment 1 Lothar 2018-12-19 21:10:16 UTC
Can't reproduce here
Kate 19.03.70
KDE Frameworks 5.53.0

> kf5.kservice.services: The desktop file
> /home/zeta/.local/share/applications/org.kde.kate.desktop" references the
> action "Session cb894b7774233a5e90f899dbcf176a1b" but doesn't define it

I know this hint, was probably fixed by
https://phabricator.kde.org/R40:68c512cedcc5f2b2b4bb10b4d0182e0e782f90b1
Comment 2 zeta 2018-12-21 17:03:09 UTC
Thanks for the info

I thought Debian testing was a "couple of weeks" behind upstream, but after more than a month I'm still stuck on 18 :(

I'll see if I can add Neptune to apt's sources.list to upgrade myself...
Comment 3 Ahmad Samir 2019-06-22 08:06:16 UTC
The only thing pertaining to kate here is the error/warning messages about the Session entries in org.kde.kate.desktop and the slowness; the rest of it is kbuildsycoca5 spewing error/warning messages about non-compliant .desktop/menu files.

Closing this report as worksforme as per comment#1.