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

Simone <s.scalabri...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Ever confirmed|0                           |1
           Assignee|kwrite-bugs-n...@kde.org    |s.scalabri...@gmail.com
             Status|UNCONFIRMED                 |ASSIGNED

--- Comment #1 from Simone <s.scalabri...@gmail.com> ---
Created attachment 113672
  --> https://bugs.kde.org/attachment.cgi?id=113672&action=edit
This is a patch I created that fixes the problem.

The attached patch fixes the problem. I tested it in my environment (Plasma
15.13), but I think it should be tested also (i) in Wayland (without
activities) and (ii) in a different DE. 

What I did is the following:
1) added a QDBus service to get the activities linked to a kate instance
2) added a check in the main in which, after all the other checks, if it still
wants not to create a new instance, it makes sure that at least one of the
currently running instances is in the current activity. If no instance is in
the current activity, it forces a new instance.

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

Reply via email to