Bug 453464 - Clicking tree on one panel shows files in opposite panel
Summary: Clicking tree on one panel shows files in opposite panel
Status: CONFIRMED
Alias: None
Product: krusader
Classification: Applications
Component: general (other bugs)
Version First Reported In: 2.8.1
Platform: Kubuntu Linux
: NOR wishlist
Target Milestone: ---
Assignee: Krusader Bugs Distribution List
URL:
Keywords:
: 444021 506238 (view as bug list)
Depends on:
Blocks:
 
Reported: 2022-05-06 12:22 UTC by hong
Modified: 2025-09-18 13:38 UTC (History)
5 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description hong 2022-05-06 12:22:21 UTC
SUMMARY
Clicking the tree should automatically activate the associated panel.

STEPS TO REPRODUCE
Let's say the right panel currently active.
Then, I click the tree on the left panel.

OBSERVED RESULT
Instead of showing files in the left panel, the right panel is updated.

EXPECTED RESULT
Left panel should become active and results shown there.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 HomeBoy 2023-12-05 12:58:02 UTC
Hi,

I confirm I can reproduce this using krusader 2.8.0.

Thanks
Comment 2 Alex Bikadorov 2024-07-09 14:30:13 UTC
>EXPECTED RESULT
>Left panel should become active and results shown there.

The expected behaviour is not 100% clear. The current behaviour can be considered a feature: With one tree view it possible to change directories in both panels.

We could change it, so that always the panel of the same side as the tree view is activated and shows the new directory. But then maybe somebody else will complain about this "unexpected" behaviour. 
It would also use a modifier key (e.g. CTRL) while clicking on the directory to decide which panel is used (default: always same side; with CTRL: always other side).

Any other opinions or ideas?
Comment 3 HomeBoy 2024-07-13 20:21:38 UTC
I confirm the (perhaps) wanted feature for some users to have only one tree (to save screen space), regardless if it is the left or right one, to control both panels, the tree will then modify the highlighted panel.
If a user activate both trees, we can imagine the goal is to have left tree to control left panel and right tree for right panel, at least it is my opinion.
Of course, a setting can override the default behavior, as well a key modifier (and why not a setting to modify the key modifier)

I do not think a vote for the default is necessary, do whatever you prefer, as far as the user can choose its own behavior, it will match all needs.
I am not sure it is pertinent here, but feel free to requalify from bug to feature request if it makes sense.

Thanks
Comment 4 Alex Bikadorov 2025-08-17 09:57:10 UTC
*** Bug 444021 has been marked as a duplicate of this bug. ***
Comment 5 Alex Bikadorov 2025-08-17 09:57:24 UTC
*** Bug 506238 has been marked as a duplicate of this bug. ***
Comment 6 muh2lintech 2025-09-18 13:38:28 UTC
When split in either horizontal or vertical mode, it would be very useful if each panel had its own tree. This option could be included in the menus to accommodate both the users who want it and those who don't.

For me, each panel having its own tree would be especially useful, as I split in horizontal mode all the time.