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

            Bug ID: 438893
           Summary: Enabling/disabling Kate plugins occurs immediately,
                    OK/Apply/Cancel have no effect
           Product: kate
           Version: 21.04.2
          Platform: Archlinux Packages
                OS: Linux
            Status: REPORTED
          Severity: minor
          Priority: NOR
         Component: general
          Assignee: kwrite-bugs-n...@kde.org
          Reporter: nyanpas...@tuta.io
  Target Milestone: ---

SUMMARY
In Kate's Configure -> Plugins panel, if I check or uncheck plugins, they take
effect immediately, OK/Apply have no effect, and Cancel doesn't undo changes.

STEPS TO REPRODUCE
1. Open Kate.
2. Open "Configure Kate" and go to the Plugins panel.
3. Check (or uncheck) a plugin.

OBSERVED RESULT
The plugin loads/unloads immediately, but the Apply button activates too.
Pressing OK confirms the plugin as expected, pressing Apply does nothing, and
pressing Cancel acts like pressing OK (the plugin state remains changed after
the dialog closes, or even if you restart Kate). Closing the window with the
title bar X button pops up a "save/discard/cancel" dialog, but Save and Discard
do the same thing, since the contents were already saved.

(Note that whether you press OK or Cancel, the settings get cleared rather than
saved, if you send SIGINT/SIGTERM/SIGKILL to the Kate process. Only closing the
window normally persists the settings for future Kate windows.)

EXPECTED RESULT
Either plugin loading/unloading should be delayed until you press OK or Apply,
or OK/Apply should not be enabled (nor should the save/discard/cancel dialog)
when you check or uncheck plugins (which enables them right away). In the
latter case, ideally the UI would be changed to make this clear as well, but
I'm not sure how.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.22.1
KDE Frameworks Version: 5.83.0
Qt Version: 5.15.2
Kernel Version: 5.12.10-zen1-1-zen (64-bit)
Graphics Platform: X11
Processors: 12 × AMD Ryzen 5 5600X 6-Core Processor
Memory: 15.6 GiB of RAM
Graphics Processor: NVIDIA GeForce GT 730/PCIe/SSE2

ADDITIONAL INFORMATION

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

Reply via email to