Bug 306381 - Add option to disable URL synchronization between Terminal Panel and DolphinView
Summary: Add option to disable URL synchronization between Terminal Panel and DolphinView
Status: REPORTED
Alias: None
Product: dolphin
Classification: Applications
Component: panels: terminal (other bugs)
Version First Reported In: unspecified
Platform: unspecified Linux
: NOR wishlist
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
: 326951 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-09-07 05:31 UTC by Franz Trischberger
Modified: 2018-12-31 14:14 UTC (History)
7 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In: fedora27
Sentry Crash Report:


Attachments
get salution (132 bytes, application/octet-stream)
2018-07-09 23:00 UTC, Hadjo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Franz Trischberger 2012-09-07 05:31:42 UTC
best would be to have it optional both ways.

Because there is a big issue when running "find" (or similar commands that change workingdir) in the terminal view: dolphin will change the view constantly making it impossible to use.
AFAIR it was configurable in the past (was that still konqueror-times in kde-3.x?).

Reproducible: Always
Comment 1 Frank Reininghaus 2012-09-29 13:56:56 UTC
Thanks for the report! The problem that the view URL changes when some program running in the terminal changes the current directory has already been reported (bug 305085). I think that the ideal solution would be that the Konsole part running inside the panel would not sent its currentDirectoryChanged signal in such a case.

I see that adding an option would be a workaround for this problem, but I'm afraid that this would make the code and also the user interface more complex. Therefore, I would rather not add a workaround for an issue that could better be fixed elsewhere.
Comment 2 Frank Reininghaus 2013-11-04 17:13:05 UTC
*** Bug 326951 has been marked as a duplicate of this bug. ***
Comment 3 kdebugs 2015-02-02 14:59:20 UTC
Not only does a "find" command, or similar make dolphin impossible to use in the meantime - it also effectively prevents you from accessing any useful directory history with the back button, since that history is now filled with random directories.

Another annoyance is whenever you use "man", you end up staring at the contents of /usr/share/man, which is of course not at all helpful.
Comment 4 Frank Reininghaus 2015-02-03 21:47:53 UTC
(In reply to kdebugs from comment #3)
> Not only does a "find" command, or similar make dolphin impossible to use in
> the meantime - it also effectively prevents you from accessing any useful
> directory history with the back button, since that history is now filled
> with random directories.
> 
> Another annoyance is whenever you use "man", you end up staring at the
> contents of /usr/share/man, which is of course not at all helpful.

All these issues have been fixed some time ago in Konsole (see bug 305085). Please upgrade your KDE packages (or at least Konsole) to version 4.14.3 or later.
Comment 5 Ray 2015-10-04 02:04:41 UTC
Can this bug be changed to a feature request then?  This is something I really want.  I've hated this feature for a long time.

Aside from all the comments above, this feature is still very annoying to some and can also sometimes be dangerous (if the user doesn't know what's happening).  While searching for this subject tonight I found posts from several people who accdentally deleted files (or, in one case, their Desktop folder) because they didn't understand that the CWD had changed.  It's common to have your prompt show $PWD and if you happen to be working in two folders with the same name it's very easy to get confused as to which one you're really in and this makes it much worse.  I sometimes work in one directory in the embedded shell while wanting to examine other directories in the file view.  It has messed me up more than once even though I'm aware that it does this!

I would like to see an option to completely disable directory syncing with the terminal.  Although many folks might find this feature useful, and there may be many arguments in favor of it, at the end of the day, no one developer knows what users are going to want or need to do and it is a bad assumption that a potentially-dangerous feature like this works for everyone and should be forced upon everyone.  This behavior should be the user's choice, and especially so because it is potentially-dangerous.

Another possible solution to this (which would, IMO, be even better), is to reimplement this the way KDevelop does, where you can type the 'sync!' command in the shell when you want this behavior.  This has worked very well for me.  I realize, however, that this is a little trickier with Dolphin since there can be two file views open (which one do you sync?).  Perhaps make the 'sync!' command accept an argument; e.g. 'sync! right' or 'sync! left'.

Thanks!
Comment 6 Hadjo 2018-07-09 23:00:56 UTC
Created attachment 113854 [details]
get salution

i have problme in my terminal i cannt  wrtie any think in my terminal and i cannt mate update ,upgrade ...ec i want salution
Comment 7 Hadjo 2018-07-09 23:06:24 UTC
*** This bug has been confirmed by popular vote. ***
Comment 8 Christoph Feck 2018-07-09 23:09:55 UTC
Please don't re-assign bugs to completely unrelated components.