https://bugs.kde.org/show_bug.cgi?id=431125

            Bug ID: 431125
           Summary: Display prefs (such as "line number visibility") don't
                    get saved
           Product: kate
           Version: 20.12.0
          Platform: Archlinux Packages
                OS: Linux
            Status: REPORTED
          Severity: minor
          Priority: NOR
         Component: general
          Assignee: kwrite-bugs-n...@kde.org
          Reporter: bugs.kde....@seyfarth.de
  Target Milestone: ---

SUMMARY

Display prefs (such as "line number visibility") don't get saved

STEPS TO REPRODUCE
1. Open Kate, line numbers are displayed
2. Press F11, line numbers are not displayed
3. Close and reopen Kate, line numbers are displayed

OBSERVED RESULT

Some user preferences are not remembered

EXPECTED RESULT

Last visual setting should be remembered

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch (current)
KDE Plasma Version: 5.20.4
KDE Frameworks Version: 5.77.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION

I just installed Arch from scratch on my new laptop and encounter one strange
thing: On my old system Kate's sidebar visibility preferences were saved when
closing and reopening it.
This does not work on the new system and I cannot figure out why. Here is what
I see in journalctl -f:

→ Start (from Task bar)

plasmashell:
file:///usr/share/plasma/plasmoids/org.kde.plasma.taskmanager/contents/ui/main.qml:460:
TypeError: Cannot read property 'length' of undefined
kwin_x11: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 4589,
resource id: 25166249, major code: 18 (ChangeProperty), minor code: 0
systemd: Started Kate - Erweiterter Texteditor.
plasmashell:
file:///usr/share/plasma/plasmoids/org.kde.plasma.taskmanager/contents/ui/main.qml:460:
TypeError: Cannot read property 'length' of undefined
kdeinit5: Qt: Session management error: networkIdsList argument is NULL

→ Ctrl-Q

kwin_x11: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 6874,
resource id: 90177646, major code: 18 (ChangeProperty), minor code: 0
kwin_x11: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 6878,
resource id: 92274699, major code: 18 (ChangeProperty), minor code: 0
systemd: app-org.kde.kate-7689b826fb064e0ea17ee05fae475570.scope: Succeeded.
kwin_x11: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 6884,
resource id: 25166250, major code: 18 (ChangeProperty), minor code: 0

Aditionally I get these (the dictionary error multiple times) on the console
since I did not yet install any spell checking.
I think that these should not clutter syslog in such way. Test for spell
plugins and report ONCE that none have been found.

kate: kf.sonnet.core: Sonnet: Unable to load plugin
"/usr/lib/qt/plugins/kf5/sonnet/sonnet_aspell.so" Error: "Cannot load library
/usr/lib/qt/plugins/kf5/sonnet/sonnet_aspell.so: (libaspell.so.15: …)"
kate: kf.sonnet.core: Sonnet: Unable to load plugin
"/usr/lib/qt/plugins/kf5/sonnet/sonnet_hspell.so" Error: "Cannot load library
/usr/lib/qt/plugins/kf5/sonnet/sonnet_hspell.so: (libhspell.so.0: …)"
kate: kf.sonnet.core: Sonnet: Unable to load plugin
"/usr/lib/qt/plugins/kf5/sonnet/sonnet_voikko.so" Error: "Cannot load library
/usr/lib/qt/plugins/kf5/sonnet/sonnet_voikko.so: (libvoikko.so.1: …)"
kate: kf.sonnet.core: No language dictionaries for the language: "de_DE" trying
to load en_US as default
kate: kf.sonnet.core: No language dictionaries for the language: "en_US"

My questions:

- Why aren't my display prefs (like line number visibility) not saved? The
program settings (like font size) DO get saved! How to debug it further?

- Is the "kdeinit5: Qt: Session management error: networkIdsList argument is
NULL" error related to my issue? How to debug it further?

- What are the "TypeError: Cannot read property 'length' of undefined"? Does
that have anything to do with my issue?

- What are the "XCB errors (BadWindow)"? Should I report them elsewhere or does
the Kate team know and handle these?

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to