Gentoo Archives: gentoo-user

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