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

            Bug ID: 524461
           Summary: Closing a kate window doesn't end the document process
    Classification: Applications
           Product: kate
      Version First 26.04.3
       Reported In:
          Platform: CachyOS
                OS: Linux
            Status: REPORTED
          Severity: major
          Priority: NOR
         Component: general
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

DESCRIPTION

Kate has a setting for opening each document in its own window. Apparently if
you have multiple kate windows and close one or more of them using the close
window button in the top right corner, the window will go away, but blocking
kate processes (such as those KDE Plasma initiates by default ie by using "Open
with kate") stay running until the last kate window is closed.

If your workflow happens to require you to juggle multiple windows such that
you rarely close all of them, you can accumulate a very large number of useless
kate processes for files you no longer need and that may even no longer exist.

Applications like git that wait for a file to close will also block
indefinitely until every kate window is closed.

STEPS TO REPRODUCE
1. Enable "Open each document in its own window" in Settings > Configure Kate >
Behaviour.
2. Open any file in kate (use -b, such as by opening the file with KDE Plasma's
"Open with kate").
3. Without closing the file, open another file in kate, which will create
another window.
4. Close a kate window.

OBSERVED RESULT
The kate processes for both files still exist.

EXPECTED RESULT
Only the process for the file that hasn't been closed by closing the window
should exist.

SOFTWARE/OS VERSIONS
Operating System (available in the Info Center app, or by running `kinfo` in a
terminal window):
KDE Plasma Version: 6.7.4
KDE Frameworks Version: 6.28.0
Qt Version: 6.11.1

ADDITIONAL INFORMATION
I'm not sure about the component so please edit as needed. Thank you.

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

Reply via email to