Bug 485963

Summary: Konsole line numbers do not remember whether enabled in previous session.
Product: [Applications] konsole Reporter: Roke Julian Lockhart Beedell <4wy78uwh>
Component: emulationAssignee: Konsole Developer <konsole-devel>
Status: REPORTED ---    
Severity: wishlist CC: matan
Priority: NOR Flags: 4wy78uwh: performance-
Version: 24.02.2   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=485923
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Roke Julian Lockhart Beedell 2024-04-22 14:47:53 UTC
SUMMARY
Enabling them in a session, closing that session, and creating another causes the line numbers to disappear.

STEPS TO REPRODUCE
1.  Install https://download.fedoraproject.org/pub/fedora/linux/releases/test/40_Beta/Spins/x86_64/iso/Fedora-KDE-Live-x86_64-40_Beta-1.10.iso
2.  Install https://kojipkgs.fedoraproject.org//packages/konsole/24.02.2/1.fc40/x86_64/konsole-24.02.2-1.fc40.x86_64.rpm
3.  Enable them using https://bugs.kde.org/show_bug.cgi?id=485923#c1
4.  Close the current session.
5.  Create another session.

OBSERVED RESULT
They aren't enabled.

EXPECTED RESULT
They should be.

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 40
KDE Plasma Version: 6.0.4
KDE Frameworks Version: 6.1.0
Qt Version: 6.7.0
Kernel Version: 6.8.7-300.fc40.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 7600X 6-Core Processor
Memory: 30.5 GiB of RAM
Graphics Processor: AMD Radeon RX 5700
Manufacturer: ASRock
Product Name: X670E Taichi

ADDITIONAL INFORMATION
https://bugs.kde.org/show_bug.cgi?id=485923#c1
Comment 1 Matan Ziv-Av 2024-04-23 17:01:58 UTC
This is the result of konsole's profile saving semantics. A profile is saved when OK or Apply are pressed in the edit dialog. When a profile is modified by a keyboard shortcut, it is not saved. See discussion here https://invent.kde.org/utilities/konsole/-/merge_requests/392 (and some bugs here).

If you want to save this, you can either edit the profile file directly, or when the line numbers are enabled, edit the profile, change another setting and press apply.
Comment 2 Roke Julian Lockhart Beedell 2024-04-23 17:21:09 UTC
(In reply to Matan Ziv-Av from comment #1)
Thank you.