[dolphin] [Bug 403690] new tab should be opened after the current tab in tab list, not at the end

2019-03-09 Thread David Hallas
https://bugs.kde.org/show_bug.cgi?id=403690

--- Comment #20 from David Hallas  ---
I have just landed the last commit that implements this behavior in Dolphin.
Please test it out and report any issues :)

-- 
You are receiving this mail because:
You are watching all bug changes.

[dolphin] [Bug 403690] new tab should be opened after the current tab in tab list, not at the end

2019-03-09 Thread David Hallas
https://bugs.kde.org/show_bug.cgi?id=403690

David Hallas  changed:

   What|Removed |Added

  Latest Commit|https://commits.kde.org/dol |https://commits.kde.org/dol
   |phin/17af8ae0ad9092e2f64f8f |phin/e602e532c0f7c023db097d
   |b612ac39d3b078a266  |0eac50a9d7a652b2d1
 Resolution|--- |FIXED
 Status|REOPENED|RESOLVED

--- Comment #19 from David Hallas  ---
Git commit e602e532c0f7c023db097d0eac50a9d7a652b2d1 by David Hallas.
Committed on 09/03/2019 at 11:11.
Pushed by hallas into branch 'master'.

New tab placed after current tab when middle-clicking

Summary:
New tabs should be placed after the currently active tab when using
middle click.

Test Plan:
Open new tab from the places panel using middle click, verify that the
Open new tab from the folders panel using middle click, verify that the
tab is opened after the current tab
Open new tab by middle clicking on the Back button, verify that the tab
is opened after the current tab
Open new tab by middle clicking on the Forward button, verify that the tab
is opened after the current tab

Reviewers: #dolphin, ngraham, elvisangelaccio

Reviewed By: #dolphin, ngraham, elvisangelaccio

Subscribers: kfm-devel

Tags: #dolphin

Differential Revision: https://phabricator.kde.org/D19201

M  +22   -13   src/dolphinmainwindow.cpp
M  +12   -1src/dolphinmainwindow.h
M  +3-3src/views/dolphinview.cpp
M  +2-1src/views/dolphinview.h

https://commits.kde.org/dolphin/e602e532c0f7c023db097d0eac50a9d7a652b2d1

-- 
You are receiving this mail because:
You are watching all bug changes.

[dolphin] [Bug 403690] new tab should be opened after the current tab in tab list, not at the end

2019-02-21 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=403690

--- Comment #18 from vini.ipsma...@gmail.com ---
> https://community.kde.org/Infrastructure/Phabricator#How_to_review_someone_else.27s_patch

Thank you.

> Please test it out and let me know if there is any issues or missing cases.

Perfect. Now my Firefox browsing habits will stay almost unchanged when I use
Dolphin. Thank you.

-- 
You are receiving this mail because:
You are watching all bug changes.

[dolphin] [Bug 403690] new tab should be opened after the current tab in tab list, not at the end

2019-02-21 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=403690

--- Comment #17 from Nate Graham  ---
https://community.kde.org/Infrastructure/Phabricator#How_to_review_someone_else.27s_patch

I'll review shortly.

-- 
You are receiving this mail because:
You are watching all bug changes.

[dolphin] [Bug 403690] new tab should be opened after the current tab in tab list, not at the end

2019-02-21 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=403690

--- Comment #16 from vini.ipsma...@gmail.com ---
> https://phabricator.kde.org/D19201

> Please test it out and let me know if there is any issues or missing cases.

I don't know how to get the code.

```
$ git clone git://anongit.kde.org/dolphin
$ cd dolphin
$ git checkout open_new_tab_after_current_tab_middle_click
error: pathspec 'open_new_tab_after_current_tab_middle_click' did not match any
file(s) known to git
```

I managed to download the previous code because it hit the master branch, but
I'm lost on this phabricator interface.

-- 
You are receiving this mail because:
You are watching all bug changes.

[dolphin] [Bug 403690] new tab should be opened after the current tab in tab list, not at the end

2019-02-21 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=403690

--- Comment #15 from vini.ipsma...@gmail.com ---
> I can see from the code that you can actually middle-click on the 
> back/forward/up buttons in the toolbar to open in a new tab - so should these 
> also open next to the currently open tab?

Yes, please.

-- 
You are receiving this mail because:
You are watching all bug changes.

[dolphin] [Bug 403690] new tab should be opened after the current tab in tab list, not at the end

2019-02-21 Thread David Hallas
https://bugs.kde.org/show_bug.cgi?id=403690

--- Comment #14 from David Hallas  ---
I have pushed this commit that should implement all the cases:

https://phabricator.kde.org/D19201

Please test it out and let me know if there is any issues or missing cases.

-- 
You are receiving this mail because:
You are watching all bug changes.

[dolphin] [Bug 403690] new tab should be opened after the current tab in tab list, not at the end

2019-02-21 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=403690

--- Comment #13 from Nate Graham  ---
Yes, I think that would make sense too.

-- 
You are receiving this mail because:
You are watching all bug changes.

[dolphin] [Bug 403690] new tab should be opened after the current tab in tab list, not at the end

2019-02-21 Thread David Hallas
https://bugs.kde.org/show_bug.cgi?id=403690

--- Comment #12 from David Hallas  ---
I can see from the code that you can actually middle-click on the
back/forward/up buttons in the toolbar to open in a new tab - so should these
also open next to the currently open tab?

-- 
You are receiving this mail because:
You are watching all bug changes.

[dolphin] [Bug 403690] new tab should be opened after the current tab in tab list, not at the end

2019-02-21 Thread David Hallas
https://bugs.kde.org/show_bug.cgi?id=403690

--- Comment #11 from David Hallas  ---
(In reply to vini.ipsmaker from comment #10)
> > Is there any other places where you can use middle-clock to open folders in 
> > tabs where they are placed wrong?
> 
> You mean like clicking on the left panel shortcuts? Yes, this is another
> place to pay attention.
> 
> Or you mean like other shortcuts you missed? I don't think so. There is just
> this middle-click thing that I'm aware of.

Yes that is what I meant :) So in general we should have a consistent
navigation scheme so I just want to make sure that I haven't missed any other
places where middle-clicking means opening in another tab and that should put
the tab next to the currently open tab.

-- 
You are receiving this mail because:
You are watching all bug changes.

[dolphin] [Bug 403690] new tab should be opened after the current tab in tab list, not at the end

2019-02-21 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=403690

--- Comment #10 from vini.ipsma...@gmail.com ---
> Is there any other places where you can use middle-clock to open folders in 
> tabs where they are placed wrong?

You mean like clicking on the left panel shortcuts? Yes, this is another place
to pay attention.

Or you mean like other shortcuts you missed? I don't think so. There is just
this middle-click thing that I'm aware of.

-- 
You are receiving this mail because:
You are watching all bug changes.

[dolphin] [Bug 403690] new tab should be opened after the current tab in tab list, not at the end

2019-02-21 Thread David Hallas
https://bugs.kde.org/show_bug.cgi?id=403690

David Hallas  changed:

   What|Removed |Added

 Status|RESOLVED|REOPENED
 Resolution|FIXED   |---

--- Comment #9 from David Hallas  ---
I didn't know that shortcut ;) But yes I think that makes sense. Is there any
other places where you can use middle-clock to open folders in tabs where they
are placed wrong?

Nate - do you have any comments on this?

-- 
You are receiving this mail because:
You are watching all bug changes.

[dolphin] [Bug 403690] new tab should be opened after the current tab in tab list, not at the end

2019-02-20 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=403690

--- Comment #8 from vini.ipsma...@gmail.com ---
> Please test it out to see if it works as expected :)

Almost.

Indeed, opening the folder in a new tab from the context menu will open the
folder in the right-hand side of current tab.

However, if I middle-click some folder, it'll be added to the end of the tab
list. It should have the same behaviour described in previous paragraph.

Opening a new tab with Ctrl+T will keep the previous behaviour, adding to the
end of list. This is the correct behaviour for new unrelated tabs.

-- 
You are receiving this mail because:
You are watching all bug changes.

[dolphin] [Bug 403690] new tab should be opened after the current tab in tab list, not at the end

2019-02-16 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=403690

Nate Graham  changed:

   What|Removed |Added

   Version Fixed In||19.04.0

-- 
You are receiving this mail because:
You are watching all bug changes.

[dolphin] [Bug 403690] new tab should be opened after the current tab in tab list, not at the end

2019-02-16 Thread David Hallas
https://bugs.kde.org/show_bug.cgi?id=403690

David Hallas  changed:

   What|Removed |Added

  Latest Commit||https://commits.kde.org/dol
   ||phin/17af8ae0ad9092e2f64f8f
   ||b612ac39d3b078a266
 Resolution|--- |FIXED
 Status|ASSIGNED|RESOLVED

--- Comment #7 from David Hallas  ---
Git commit 17af8ae0ad9092e2f64f8fb612ac39d3b078a266 by David Hallas.
Committed on 16/02/2019 at 15:51.
Pushed by hallas into branch 'master'.

New tab should be placed after the current tab

Summary:
When opening a new using the context menu the new tab should be placed
after the currently open tab, not at the end of the tab list.

Test Plan:
Open multiple tabs and select a different tab than the last one.
Open a new tab using the context menu and see that it opens after the currently
selected tab.
Open a tab using Ctrl+T and see that it opens at the end.

Reviewers: #dolphin, ngraham, elvisangelaccio

Reviewed By: #dolphin, ngraham, elvisangelaccio

Subscribers: elvisangelaccio, ngraham, kfm-devel

Tags: #dolphin

Differential Revision: https://phabricator.kde.org/D18945

M  +2-2src/dolphinmainwindow.cpp
M  +6-2src/dolphintabwidget.cpp
M  +17   -2src/dolphintabwidget.h

https://commits.kde.org/dolphin/17af8ae0ad9092e2f64f8fb612ac39d3b078a266

-- 
You are receiving this mail because:
You are watching all bug changes.

[dolphin] [Bug 403690] new tab should be opened after the current tab in tab list, not at the end

2019-02-13 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=403690

--- Comment #6 from vini.ipsma...@gmail.com ---
> Please test it out to see if it works as expected :)

I'm travelling. Will have time to test it next week. Thanks.

-- 
You are receiving this mail because:
You are watching all bug changes.

[dolphin] [Bug 403690] new tab should be opened after the current tab in tab list, not at the end

2019-02-12 Thread David Hallas
https://bugs.kde.org/show_bug.cgi?id=403690

David Hallas  changed:

   What|Removed |Added

 Status|CONFIRMED   |ASSIGNED
 CC||da...@davidhallas.dk
   Assignee|dolphin-bugs-n...@kde.org   |da...@davidhallas.dk

--- Comment #5 from David Hallas  ---
I have pushed a patch for this:

https://phabricator.kde.org/D18945

Please test it out to see if it works as expected :)

-- 
You are receiving this mail because:
You are watching all bug changes.

[dolphin] [Bug 403690] new tab should be opened after the current tab in tab list, not at the end

2019-02-05 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=403690

--- Comment #4 from vini.ipsma...@gmail.com ---
> Actually, my bad - they (the browsers) do open up a tab immediately to the 
> right of the focused tab if the tab is opened up by clicking on a link.

Yes, that's what I meant. If you right-click a folder and ask to open it up in
a new tab, then, the tab should be opened right after the current tab.

If user just press Ctrl + T then the new tab should be opened at the end of the
list.

GTK+-based popular file managers such as Nautilus, Thunar and Nemo all behave
like I described (although they're getting worse over the years and you guys
don't need to exactly mirror everything they do or you too will get a bad end
result, but this is pretty much old behaviour anyway).

-- 
You are receiving this mail because:
You are watching all bug changes.

[dolphin] [Bug 403690] new tab should be opened after the current tab in tab list, not at the end

2019-02-05 Thread Rooty
https://bugs.kde.org/show_bug.cgi?id=403690

--- Comment #3 from Rooty  ---
Actually, my bad - they (the browsers) do open up a tab immediately to the
right of the focused tab if the tab is opened up by clicking on a link.
If the new tab is empty then it does wind up all the way on the right.

I honestly don't know how I feel about this so I'll just go with whatever the
majority decides seeing as not even the web browsers are very consistent when
it comes to this.

-- 
You are receiving this mail because:
You are watching all bug changes.

[dolphin] [Bug 403690] new tab should be opened after the current tab in tab list, not at the end

2019-02-05 Thread Rooty
https://bugs.kde.org/show_bug.cgi?id=403690

Rooty  changed:

   What|Removed |Added

 CC||zy...@gmx.us

--- Comment #2 from Rooty  ---
Are you sure about this though? This breaks convention in a number of ways:

- Konsole seems to behave this way
- Chromium, Firefox and Falkon do too
- Kate opens up new "tabs" (documents) to the left of all its old tabs, not
after/to the right of each old tab

There's nothing in the HiG that prevents us from changing this, but I'm not
convinced we should - it'll break convention and lead to inconsistencies seeing
as the most popular web browsers we all use don't behave this way.

-- 
You are receiving this mail because:
You are watching all bug changes.

[dolphin] [Bug 403690] new tab should be opened after the current tab in tab list, not at the end

2019-02-05 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=403690

Nate Graham  changed:

   What|Removed |Added

   Keywords||junior-jobs
 CC||n...@kde.org
 Status|REPORTED|CONFIRMED
 Ever confirmed|0   |1

--- Comment #1 from Nate Graham  ---
Seems reasonable.

-- 
You are receiving this mail because:
You are watching all bug changes.

[dolphin] [Bug 403690] new tab should be opened after the current tab in tab list, not at the end

2019-01-28 Thread Elvis Angelaccio
https://bugs.kde.org/show_bug.cgi?id=403690

Elvis Angelaccio  changed:

   What|Removed |Added

   Severity|normal  |wishlist

-- 
You are receiving this mail because:
You are watching all bug changes.