Bug 269020 - split view view modes are not independent
Summary: split view view modes are not independent
Status: RESOLVED DUPLICATE of bug 299519
Alias: None
Product: dolphin
Classification: Applications
Component: split view (show other bugs)
Version: 16.12.2
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords: investigated, reproducible
Depends on:
Blocks:
 
Reported: 2011-03-21 07:02 UTC by Todd
Modified: 2012-09-24 14:43 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Todd 2011-03-21 07:02:32 UTC
Version:           unspecified (using KDE 4.6.1) 
OS:                Linux

View modes in two split views are not separate, so if you change the view in one it affects the view in the other at the next update.  Please see the test case for a clearer description

Reproducible: Didn't try

Steps to Reproduce:
1. Create two folders, testf1 and testf2
2. Change to columns mode
3. Create a split view
4. In the left panel, click on testf1
5. In the right panel, switch to icons mode
6. In the left panel, click on testf2

Actual Results:  
The left panel enters testf2 and switches to icons mode (or perhaps your default mode)

Expected Results:  
The left column view stays in columns mode and the second column switches to testf2
Comment 1 Sebastian Dörner 2011-03-21 14:58:58 UTC
Thank you for the report. I could reproduce this in master.
Comment 2 Sebastian Dörner 2011-05-14 01:13:21 UTC
At the moment, the view mode is
a) dependent on the folder that is displayed or
b) globally equal for all folders and regardless of split modes

Whether a or b applies, can be tweaked in the settings.
Your proposal does only make sense for case b, but implementing this is requires some effort.
--- internal information on investigation --
The view mode is saved in ViewProperties. These are created by DolphinView and only depend on the URL (induced by DolphinView) and the a.m. settings. The DolphinView does not know if it is displayed left, right or alone, therefore - if we follow the proposal - it cannot determine the ViewProperties on its own independent of the position.
Comment 3 Peter Penz 2011-05-14 18:33:52 UTC
@Sebastian: Thanks for the analyses. Please don't start any efforts to patch this before contacting me - as mentioned a few days ago I'm currently rewriting the view-implementations and I'm not sure if the patch will be needed there ;-)
Comment 4 Jeremy Whiting 2011-10-13 18:15:35 UTC
Peter,

I'm seeing similar issue on master build from git. If I click a folder in the left pane, both panes change to that folder.  Same on right.  Makes it very tricky to use dolphin to copy files from one folder to another.
Comment 5 Peter Penz 2011-10-13 18:24:13 UTC
Thanks Jeremy for the hint, but the current problems in master have a different root-cause because of the rewrite of the view-engine (at the moment the focus-handling in general is kind of deactivated which results in very strange issues especially in combination with the split view).
Comment 6 Jeremy Whiting 2011-10-13 19:21:58 UTC
Ah, ok gotcha.  Any eta for the rewrite to be completed?  Just curious.

Jeremy

On Thu, Oct 13, 2011 at 12:24 PM, Peter Penz <peter.penz19@gmail.com> wrote:
> https://bugs.kde.org/show_bug.cgi?id=269020
>
>
>
>
>
> --- Comment #5 from Peter Penz <peter penz19 gmail com>  2011-10-13 18:24:13 ---
> Thanks Jeremy for the hint, but the current problems in master have a different
> root-cause because of the rewrite of the view-engine (at the moment the
> focus-handling in general is kind of deactivated which results in very strange
> issues especially in combination with the split view).
>
> --
> Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
> ------- You are receiving this mail because: -------
> You are on the CC list for the bug.
>
Comment 7 Peter Penz 2011-10-14 06:58:02 UTC
> Any eta for the rewrite to be completed?

"Completed" is tricky to define, as I doubt any rewrite of this size will be 100 % bug-free with the first release of KDE 4.8 applications. However from the feature-set I think it should be really finished until the end of November, so that the remaining time can be used to fix some introduced regressions and remaining bugs.
Comment 8 Adrián Chaves (Gallaecio) 2012-09-23 06:49:32 UTC
I can confirm this is still the behavior in Dolphin 2.1. Two questions:
1. Is this really a bug report or should it be considered a feature request instead?
2. Was the rewrite finished? If someone decides to write a patch for this, can they?
Comment 9 Frank Reininghaus 2012-09-24 14:14:29 UTC
(In reply to comment #8)
> I can confirm this is still the behavior in Dolphin 2.1.

What exactly is still the behaviour in Dolphin 2.1? The issue from the original report is definitely not reproducible any more because the columns view has been removed.

The master issue mentioned in comment 4 has been fixed a long time ago.

Or am I missing something here?
Comment 10 Sebastian Dörner 2012-09-24 14:25:29 UTC
This is still valid in Dolphin 2.1, but only applies to the two modes we have left. If you replace "columns mode" by "details mode" in the original report, this issue is still reproduceable as described above.

The point is that the left view switches the mode although you didn't ask for it.

E.g. if you want to browse using both views, but always want Icons view on the right and Details view on the left, you are screwed. Whatever view mode you selected last is applied to any view container (i.e. also the one that was inactive when you changed the view mode) once you change directory in that view container.
Comment 11 Frank Reininghaus 2012-09-24 14:35:37 UTC
Thanks for the quick reply.

(In reply to comment #10)
> This is still valid in Dolphin 2.1, but only applies to the two modes we
> have left. If you replace "columns mode" by "details mode" in the original
> report, this issue is still reproduceable as described above.
> 
> The point is that the left view switches the mode although you didn't ask
> for it.

I see. That is not what I understood to be the bug reported here though. I thought the problem was that one would never expect that anything serious (like the view mode) changes when clicking a folder in Columns View. One would just expect that this folder is focused, and the column to the right of its column would show its contents.

But anyway, the issue you've mentioned seems to be covered by bug 299519, so I think that this report can be closed.
Comment 12 Sebastian Dörner 2012-09-24 14:43:35 UTC
I agree that this is the same bug then. Technically this report is older, but as the other seems to be a bit clearer, I'm closing this one.

*** This bug has been marked as a duplicate of bug 299519 ***