Gentoo Archives: gentoo-user

From: P Levine <plevine457@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Dolphin only allowing a single instance after update
Date: Fri, 23 Aug 2019 06:27:24
Message-Id: CADX8ZBLOWMr4fghEx+e99kMH0X2pjKrODo6-sLbs_8NgsORuoA@mail.gmail.com
In Reply to: Re: [gentoo-user] Dolphin only allowing a single instance after update by Dale
1 On Fri, Aug 23, 2019 at 12:56 AM Dale <rdalek1967@×××××.com> wrote:
2
3 > P Levine wrote:
4 >
5 > On Thu, Aug 22, 2019 at 9:16 PM Dale <rdalek1967@×××××.com> wrote:
6 >
7 >> Dave Fellows wrote:
8 >> >> P Levine wrote:
9 >> >>> On Fri, Aug 16, 2019 at 10:56 PM Dale <rdalek1967@×××××.com
10 >> >>> <mailto:rdalek1967@×××××.com>> wrote:
11 >> >>>
12 >> >>> Howdy,
13 >> >>>
14 >> >>> I upgraded my system last night. I logged out and back in
15 >> earlier and
16 >> >>> have noticed something new. It seems to only allow one instance
17 >> of
18 >> >>> Dolphin to run at a time. I usually have three or four running
19 >> for
20 >> >>> doing different things in different locations. It just makes it
21 >> >>> easier
22 >> >>> for me to multi-task at times. What I've noticed with the new
23 >> version
24 >> >>> is that if I have a instance open on say desktop 7 and then want
25 >> >>> to open
26 >> >>> a new instance on desktop 4, it moves the already running dolphin
27 >> from
28 >> >>> desktop 7 to 4. It doesn't open a new instance. I then lose
29 >> >>> where I am
30 >> >>> when I get ready to go back to work on something in the previous
31 >> >>> instance.
32 >> >>>
33 >> >>> Current version of Dolphin and USE flags:
34 >> >>>
35 >> >>> kde-apps/dolphin-19.08.0:5::gentoo USE="handbook -activities
36 >> -debug
37 >> >>> -semantic-desktop -test"
38 >> >>>
39 >> >>> Previous version that worked normally:
40 >> >>>
41 >> >>> kde-apps/dolphin-19.04.3
42 >> >>>
43 >> >>> Has anyone else noticed this? I've looked in the Configure
44 >> section to
45 >> >>> see if I can change the behavior but can't find anything
46 >> related. I
47 >> >>> checked to see if I could add a option on the command line as
48 >> well. I
49 >> >>> even poked around System Settings but can't find anything there
50 >> >>> either.
51 >> >>> Is this a new thing, a bug or what?
52 >> >>>
53 >> >>> Thanks for the help.
54 >> >>>
55 >> >>> Dale
56 >> >>>
57 >> >>> :-) :-)
58 >> >>>
59 >> >>>
60 >> >>> The behaviour was changed such that dolphin opens new instances in
61 >> >>> tabs by default. If you want to change that, edit the desktop file
62 >> >>> and add the *--new-window* option to the command.
63 >> >>>
64 >> >>
65 >> >> Added that and it still opens in another instance and adds a tab.
66 >> After
67 >> >> my edit, it looks like this:
68 >> >>
69 >> >> Exec=dolphin %u --new-window
70 >> >>
71 >> >> The file I edited is located here including the file name:
72 >> >>
73 >> >> /usr/share/applications/org.kde.dolphin.desktop
74 >> >>
75 >> >> Did I add it to the wrong place or does it require more than that?
76 >> >> There are several .desktop files as listed here:
77 >> >>
78 >> >>
79 >> >> root@fireball / # equery f kde-apps/dolphin | grep desktop
80 >> >> /usr/share/applications/org.kde.dolphin.desktop
81 >> >> /usr/share/dbus-1/interfaces/org.freedesktop.FileManager1.xml
82 >> >> /usr/share/kglobalaccel/org.kde.dolphin.desktop
83 >> >> /usr/share/kservices5/dolphinpart.desktop
84 >> >> /usr/share/kservices5/kcmdolphingeneral.desktop
85 >> >> /usr/share/kservices5/kcmdolphinnavigation.desktop
86 >> >> /usr/share/kservices5/kcmdolphinservices.desktop
87 >> >> /usr/share/kservices5/kcmdolphinviewmodes.desktop
88 >> >> /usr/share/kservicetypes5/fileviewversioncontrolplugin.desktop
89 >> >> root@fireball / #
90 >> >>
91 >> >>
92 >> >>
93 >> >> Thanks.
94 >> >>
95 >> >> Dale
96 >> >>
97 >> >> :-) :-)
98 >> >>
99 >> > Try
100 >> > Exec=dolphin --new-window %u
101 >> >
102 >> > DaveF
103 >> >
104 >>
105 >>
106 >> Same results. It opens a new tab in a already running instance. For
107 >> something that can be disabled, it would seem they would document how to
108 >> do so or at least link to it. I've read the online documentation for
109 >> Dolphin and can't find any mention of this or how to disable it. Either
110 >> it isn't there or I missed it somehow, well hidden maybe. ;-)
111 >>
112 >> Open for ideas tho.
113 >>
114 >> Thanks.
115 >>
116 >> Dale
117 >>
118 >> :-) :-)
119 >>
120 >
121 > Maybe related to this:
122 > https://www.reddit.com/r/kde/comments/bze2wm/dolphin_opening_tabs_instead_of_windows_from_task/
123 >
124 >
125 >
126 > It sounds like it. It seems it is hardcoded to do this at the moment.
127 > This seriously makes me want to start using another file manager. I don't
128 > mind someone testing new features but at the very least, have it where it
129 > can be disabled for those who do not want it or are set up not to need it.
130 > This makes me have to do more to get to where I want. Instead of clicking
131 > my Video folder for example, I have to do a Meta + e and then navigate to
132 > that folder. Before this, I simply clicked the Video folder on my desktop
133 > and I was there. It's the same for other folders as well. This reminds me
134 > of the switch from KDE3 to KDE4 and the mess that created. I'm beginning
135 > to wonder about KDE.
136 >
137 > For those who prefer this behavior, I'm sure it is a good thing. I
138 > suspect tho that there are a lot who don't like this sprung on them. If
139 > I'd known about this, I wouldn't have allowed the upgrade until the fix was
140 > released.
141 >
142 > Thanks for finding that. At least there may be a fix coming. If not,
143 > I'll find other options.
144 >
145 > Dale
146 >
147 > :-) :-)
148 >
149
150 The following is a reverse diff patch of the commit from D21736
151 <https://phabricator.kde.org/D21736>:
152 https://drive.google.com/file/d/1vx6p1pc3ZC5YbAGSiRU2ttjoo7KIfG_o/view?usp=sharing
153 Put it in */etc/portage/patches/dolphin-19.08.0* and re-emerge. See if
154 that fixes it.

Replies

Subject Author
Re: [gentoo-user] Dolphin only allowing a single instance after update Dale <rdalek1967@×××××.com>