Summary: | Dolphin temporarily switches back to the previous folder itself when navigating through the folder tree | ||
---|---|---|---|
Product: | [Applications] dolphin | Reporter: | Frank Schaefer <fschaefer.oss> |
Component: | general | Assignee: | Dolphin Bug Assignee <dolphin-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | 0inkane |
Priority: | NOR | ||
Version First Reported In: | 2.1 | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/kde-baseapps/c9bf4752adcba7e88d11ae77479c618799b49341 | Version Fixed In: | |
Sentry Crash Report: |
Description
Frank Schaefer
2013-01-28 18:26:55 UTC
Thanks for the bug report! Two questions: 1. Do you use the Terminal Panel? Does the bug persist if you remove it? 2. What is your exact KDE version? The bug reminds me a bit of bug 304838 (fixed since 4.9.2). (In reply to comment #1) > 1. Do you use the Terminal Panel? Does the bug persist if you remove it? Yes, most of the time, I have terminal panel open. I've made some quick tests and it seems it doesn't occure with the terminal panel closed... > 2. What is your exact KDE version? The bug reminds me a bit of bug 304838 > (fixed since 4.9.2). I'm using 4.9.5. I can confirm this problem in 4.10.2. Git commit c9bf4752adcba7e88d11ae77479c618799b49341 by Frank Reininghaus. Committed on 24/10/2014 at 16:13. Pushed by freininghaus into branch 'master'. Make the view/Terminal Panel synchronization less error-prone The previous solution could cause problems if the user navigates to a different URL in one view, and then activates another split view very quickly: the new active view might be switched to the same URL as the first view, which is unwanted. To fix this problem, we record a history of "cd" commands that Dolphin sends to the Terminal Panel in a queue. If a currentDirectoryChanged signal is received, and the new terminal directory is "dir", this patch does the following: 1. If the queue is empty, change the view URL to "dir". 2. Otherwise, take the queue's head, and check if it is equal to "dir". If that is the case, ignore the signal and return. 3. Go back to step 1. This ensures that every currentDirectoryChange signal that is caused by a "cd" that was sent from Dolphin to the terminal is ignored. Related: bug 339009 REVIEW: 120768 M +18 -11 dolphin/src/panels/terminal/terminalpanel.cpp M +3 -0 dolphin/src/panels/terminal/terminalpanel.h http://commits.kde.org/kde-baseapps/c9bf4752adcba7e88d11ae77479c618799b49341 |