Bug 323198 - Opening a textfile will use one kate instance from a random activity
Summary: Opening a textfile will use one kate instance from a random activity
Status: RESOLVED FIXED
Alias: None
Product: kate
Classification: Applications
Component: general (show other bugs)
Version: 16.08
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Ivan Čukić
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-05 17:35 UTC by Rolf Eike Beer
Modified: 2018-08-16 20:34 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rolf Eike Beer 2013-08-05 17:35:00 UTC
I usually have one dolphin and one kate instance on every activity, and they are not shared. Clicking on a text file will open this in a random (?) kate instance, which may or may not be the one on the same activity. Of course the subjective feeling is that it always picks the wrong one ;)

This also happens when I click on a text file on a web page using Konqueror, so this is not Dolphin specific.

Reproducible: Sometimes
Comment 1 wvk 2017-01-20 12:07:37 UTC
This problem seems to reappear and disappear randomly after upgrades until this day.
Comment 2 Rolf Eike Beer 2017-01-20 19:28:28 UTC
I meanwhile have the feeling that the one used is simply the one that was active last.
Comment 3 wvk 2017-01-22 11:02:36 UTC
I cannot quite confirm that. It's not even consistently the instance started first or last and if two or more instances are running on the same desktop and activity it seems the chosen instance is consistently the same one. Until another instance is started, then sometimes that one will be used and sometimes the previous one... very confusing.
Comment 4 Christoph Cullmann 2018-08-16 20:34:26 UTC
commit cdb3da47ccda1c0600bbeb6c6a73180b9a3b9754
Author: Simone Scalabrino <s.scalabrino9@gmail.com>
Date:   Sun Aug 12 13:39:58 2018 +0200

    Support activities when opening files
    
    FEATURE: 395954
    
    Differential Revision: https://phabricator.kde.org/D13826