]> cloud.milkyroute.net Git - dolphin.git/log
dolphin.git
7 years agoSVN_SILENT made messages (.desktop file) - always resolve ours
l10n daemon script [Sat, 3 Mar 2018 04:23:49 +0000 (05:23 +0100)]
SVN_SILENT made messages (.desktop file) - always resolve ours

In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"

7 years agoAlso use standard keyboard shortcut for "show/hide hidden files"
Nathaniel Graham [Thu, 15 Feb 2018 21:26:57 +0000 (14:26 -0700)]
Also use standard keyboard shortcut for "show/hide hidden files"

Summary:
Use Ctrl+H as another keyboard shortcut to show and hide hidden files, as it is already the standard used in other GTK-based Linux file managers (Nautilus, Nemo, Caja, Thunar, Pantheon Files). This doesn't replace any existing shortcuts, so existing KDE users' muscle memory is retained.

FEATURE: 390527
FIXED-IN: KDE Applications 17.12.3

Test Plan:
- Ctrl+H now shows and hides hidden files
- Alt+. still works to do the same
- F8 still works to do the same
- Toolbar button still changes state appropriately when any of the three shortcuts are used

Reviewers: #dolphin, elvisangelaccio

Reviewed By: elvisangelaccio

Subscribers: emateli, elvisangelaccio

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

7 years ago[Information Panel] Adjust painting icons for high dpi scaling
Kai Uwe Broulik [Thu, 15 Feb 2018 12:37:08 +0000 (13:37 +0100)]
[Information Panel] Adjust painting icons for high dpi scaling

Instead of creating our own KIconLoader (which takes ~5ms here) just use QIcon::fromTheme which already does everything right.

BUG: 390488

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

7 years agoAdd icons to Edit menu
Marjio Mustac [Wed, 14 Feb 2018 14:40:36 +0000 (07:40 -0700)]
Add icons to Edit menu

Summary:
Since Breeze offers such a great palette of action icons I thought we should make use of them which make things also more consistent with other applications.

Before:
{F5711158}

After:
{F5711159}

Test Plan:
Show menubar
Icons are shown in Edit menu

Reviewers: #dolphin, ngraham

Reviewed By: #dolphin, ngraham

Subscribers: ngraham

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

7 years agoMerge branch 'Applications/17.12'
Elvis Angelaccio [Tue, 13 Feb 2018 22:20:49 +0000 (23:20 +0100)]
Merge branch 'Applications/17.12'

7 years agoFix resetting "View Modes" preferences to defaults
Robert Hoffmann [Tue, 13 Feb 2018 22:12:44 +0000 (23:12 +0100)]
Fix resetting "View Modes" preferences to defaults

Summary:
Removed call to settings.readConfig() in ViewSettingsTab::loadSettings(),
because it overwrites default settings with user settings even if called
from ViewSettingsTab::restoreDefaultSettings().

Test Plan:
Settings -> Configure Dolphin -> View Modes:
Choose "Custom Font", "Choose...": other font settings than preselected;
alter "Icon Size" slider positions;
click OK; OK;
note modified text font next to icons, icon sizes

Settings -> Configure Dolphin -> View Modes:
Click "Defaults"
check "Font" is reset to "System Font";
check "Icon Size" slider positions are reset to default positions;
click OK
check text font next to icons, icon sizes are reset to defaults

Subscribers: ltoscano, ngraham, elvisangelaccio, michaelh, #dolphin

Tags: #dolphin

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

7 years agoFix Windows build
Elvis Angelaccio [Sun, 11 Feb 2018 22:01:17 +0000 (23:01 +0100)]
Fix Windows build

kill() is not available on Windows. Now that we build TerminalPanel
everywhere (see 87e8d0ba), we need to #ifdef this call.

7 years agoFix typo
Elvis Angelaccio [Sun, 11 Feb 2018 21:59:29 +0000 (22:59 +0100)]
Fix typo

GIT_SILENT

7 years agoBuild TerminalPanel also on Windows
Elvis Angelaccio [Sun, 21 Jan 2018 11:18:21 +0000 (12:18 +0100)]
Build TerminalPanel also on Windows

Summary:
terminalpanel.cpp *should* compile on Windows, so there is no reason to
remove it from the build and use tons of #ifdefs in dolphinmainwindow.

We still keep the terminal panel disabled on Windows
(i.e. the two remaining #ifndef Q_OS_WIN in dolphinmainwindow),
because it is probably not functional.

But at least we won't break the Windows CI every time
someone touches the terminal panel code (see e.g. 2e942237c9).

Test Plan: Builds on Linux, someone on Windows should test this patch if possible.

Reviewers: #dolphin, #craft

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

7 years agoFaster drag&drop in directories with thousands of files
Jaime Torres [Sun, 4 Feb 2018 20:19:33 +0000 (21:19 +0100)]
Faster drag&drop in directories with thousands of files

Summary:
The check is called when the mouse is moved in a drag&drop operation.

Dragging all files in a directory with 3000 files under callgrind,
moving the mouse to the other panel and then canceling, doing it twice,
callgrind shows that the method urlListMatchesUrl is called around
200 times, spending around 9,30% of the cpu in those calls.
Applying the patch, callgrind tells it uses now 0.31% of the cpu in 1208 calls.

CCBUG: 342056

Reviewers: #dolphin, elvisangelaccio, markg

Reviewed By: #dolphin, elvisangelaccio, markg

Subscribers: markg, anthonyfieroni, michaelh, elvisangelaccio, ngraham

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

7 years ago[KStandardItemListWidget] Adjust painting rating to device pixel ratio
Kai Uwe Broulik [Mon, 5 Feb 2018 15:27:58 +0000 (16:27 +0100)]
[KStandardItemListWidget] Adjust painting rating to device pixel ratio

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

7 years agoFix all krazy #include warnings
Elvis Angelaccio [Sun, 4 Feb 2018 10:38:50 +0000 (11:38 +0100)]
Fix all krazy #include warnings

- "include own header first line"
- "put config.h in angle brackets line"
- "do not include QtModule/QtClass line"

`QElapsedTimer` was implicitly included by
kfileitemmodelsortalgorithm.h, now we need to explicitly include it in
kfileitemmodel.cpp.

We also need to explicitly link to `Qt5::Concurrent`, otherwise we
cannot `#include <QtConcurrentRun>`.

7 years agoUse qplatformdefs wrappers
Elvis Angelaccio [Sun, 4 Feb 2018 10:13:34 +0000 (11:13 +0100)]
Use qplatformdefs wrappers

As recommended by krazy and as kio does.

7 years agoDrop dead code
Elvis Angelaccio [Sat, 3 Feb 2018 22:34:45 +0000 (23:34 +0100)]
Drop dead code

Spotted by clazy (-Wclazy-const-signal-or-slot).

This was added in abf17941f7, but it became dead code after the KF5 port
(possibly after c725848709).

7 years agoFix -Wunused-result warnings
Elvis Angelaccio [Sat, 3 Feb 2018 21:34:24 +0000 (22:34 +0100)]
Fix -Wunused-result warnings

7 years agoFix all 'explicit constructor' krazy warnings
Elvis Angelaccio [Sat, 3 Feb 2018 21:21:30 +0000 (22:21 +0100)]
Fix all 'explicit constructor' krazy warnings

7 years agoPort QSignalSpy to new signal syntax
Elvis Angelaccio [Sat, 3 Feb 2018 19:46:08 +0000 (20:46 +0100)]
Port QSignalSpy to new signal syntax

More compile-time safety. Tests still pass.

This also fixes a krazy warning about "normalised signal/slot
signatures".

7 years agoUse new KStandardAction slot syntax
Elvis Angelaccio [Sat, 3 Feb 2018 19:30:37 +0000 (20:30 +0100)]
Use new KStandardAction slot syntax

This was probably forgotten from commit 3bfdf0d2.

7 years agoFix typo spotted by krazy
Elvis Angelaccio [Sat, 3 Feb 2018 18:59:40 +0000 (19:59 +0100)]
Fix typo spotted by krazy

GIT_SILENT

7 years agoAdd newline at the end of kitemmodelbase.cpp
Elvis Angelaccio [Sat, 3 Feb 2018 18:42:50 +0000 (19:42 +0100)]
Add newline at the end of kitemmodelbase.cpp

As recommended by krazy.

GIT_SILENT

7 years agoGIT_SILENT Upgrade KDE Applications version to 17.12.2.
Albert Astals Cid [Fri, 2 Feb 2018 23:38:57 +0000 (00:38 +0100)]
GIT_SILENT Upgrade KDE Applications version to 17.12.2.

7 years agoMerge branch 'Applications/17.12'
Nathaniel Graham [Wed, 31 Jan 2018 00:06:43 +0000 (17:06 -0700)]
Merge branch 'Applications/17.12'

7 years agoLet the terminal panel dock to any part of the window
Nathaniel Graham [Wed, 31 Jan 2018 00:05:57 +0000 (17:05 -0700)]
Let the terminal panel dock to any part of the window

Summary:
BUG: 362593

Just what it says: Let the terminal panel sit on the left or right side of the window.

Test Plan:
Tested in KDE Neon:
- Opened terminal panel, unlocked widgets, and tried to drag it to the right or left side of the window: I can
- Put terminal panel on right side, quit Dolphin and opened Dolphin again: terminal panel appears on the right as expected
- Put terminal panel on right side, closed terminal panel, quit Dolphin, opened Dolphin, and opened the terminal panel again: terminal panel appears on the right as expected
- Removed dolphinrc file and opened terminal panel: appears on the bottom

{F5682428}

Reviewers: #dolphin

Subscribers: elvisangelaccio, anthonyfieroni, cfeck

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

7 years agoLet the terminal panel sit on the left or right side of the window
Nathaniel Graham [Tue, 30 Jan 2018 00:05:24 +0000 (17:05 -0700)]
Let the terminal panel sit on the left or right side of the window

Summary: Just what it says: Let the terminal panel sit on the left or right side of the window.

Test Plan: Tested in KDE Neon. Works great!

Reviewers: #dolphin

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

7 years agobase scrolling on the smallest item
Marco Martin [Mon, 29 Jan 2018 10:52:23 +0000 (11:52 +0100)]
base scrolling on the smallest item

Summary:
CCBUG: 386379

after recent highdpi patches on scrolling that delegated it
completely to the scrollbar, based upon the scrollbar singleStep
setted to the tallest of the items in the view.
tough this makes scrolling way too fast, and on folders where just
few filenames are longer than most we can get a single scrolling
step almost double the number of lines configured in the
mouse kcm.
Using the shortest item instead of the tallest mitigates this problem
making it a bit more usable

Test Plan:
tested on different folders in different view modes both with
mouse and touchpad

Reviewers: #dolphin, broulik, ngraham

Reviewed By: #dolphin, ngraham

Subscribers: ngraham, plasma-devel

Tags: #plasma

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

7 years agoPort away from deprecated QStyle::SH_Widget_Animate
Elvis Angelaccio [Sun, 21 Jan 2018 09:50:11 +0000 (10:50 +0100)]
Port away from deprecated QStyle::SH_Widget_Animate

Summary:
Use the new QStyle::SH_Widget_Animation_Duration instead,
which allows us to not manually hardcode the duration.
We still use 1 if animations are disabled,
otherwise the scroll would not work at all.

See also D5883 for some background.

Test Plan: Played with different values in the Animation tab of the Breeze config dialog.

Reviewers: #dolphin, broulik

Reviewed By: broulik

Subscribers: broulik

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

7 years agoUse BatchRenameJob to rename multiple files in Dolphin
Chinmoy Ranjan Pradhan [Sat, 27 Jan 2018 11:49:39 +0000 (17:19 +0530)]
Use BatchRenameJob to rename multiple files in Dolphin

Summary:
Use KIO::BatchRenameJob in Dolphin::RenameDialog to rename multiple files.
With this viewing progress of rename operation and undo is possible.

See D9103 and D9107.

Reviewers: #dolphin, elvisangelaccio

Subscribers: elvisangelaccio, ngraham, broulik

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

7 years agoBump minimum KF5 version
Elvis Angelaccio [Sat, 27 Jan 2018 10:24:10 +0000 (11:24 +0100)]
Bump minimum KF5 version

This should have been part of D9333.

7 years agoFix place item edit after creation
Renato Araujo Oliveira Filho [Fri, 19 Jan 2018 16:37:09 +0000 (13:37 -0300)]
Fix place item edit after creation

Summary:
Make sure that the place can be edited after the creation.

Depends on D9333

BUG: 389147

Test Plan:
Create an item in dolphin places panel, make sure that you
can rename it

Reviewers: #dolphin, ngraham

Reviewed By: ngraham

Subscribers: michaelh, elvisangelaccio, lbeltrame, ngraham, #dolphin

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

7 years agoMake sure that old URLs do not appear duplicated in places model
Renato Araujo Oliveira Filho [Thu, 14 Dec 2017 15:35:44 +0000 (12:35 -0300)]
Make sure that old URLs do not appear duplicated in places model

Summary:
BUG: 389401

KIO model now provides Baloo URLs; we need to remove the old ones
created by Dolphin places model

BUG: 387888
Depends on D9332

Test Plan: unit test

Reviewers: mwolff, #dolphin, ngraham, elvisangelaccio

Reviewed By: #dolphin, ngraham, elvisangelaccio

Subscribers: elvisangelaccio, broulik, ervin, ngraham, #dolphin

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

7 years agoAdd option to sort for original date
Julian Schraner [Tue, 23 Jan 2018 23:32:51 +0000 (16:32 -0700)]
Add option to sort for original date

Summary:
Takes the original date a photo was taken out of the data provided by Baloo & makes it available to the user

FEATURE: 303645

{F5671033}

Test Plan:
- Works with a batch of time-tagged photos
- Can be hidden/shown/sorted like any other property

Reviewers: #dolphin, ngraham, elvisangelaccio

Reviewed By: #dolphin, ngraham, elvisangelaccio

Subscribers: elvisangelaccio, ngraham

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

7 years agoFix renamed file reclaims focus
Andreas Krutzler [Sun, 21 Jan 2018 20:39:41 +0000 (13:39 -0700)]
Fix renamed file reclaims focus

Summary:
After renaming a file and then selecting another file immediately the just selected file stays selected.

BUG: 388555

Test Plan:
Steps to reproduce:
$ mkdir /tmp/test
$ cd /tmp/test
$ touch a.tmp b.tmp
$ dolphin /tmp/test

In dolphin:
* select a.tmp
* <F2>
* type aaa
* select b.tmp immediately

Expected result:
* a.tmp renamed to aaa.tmp
* b.tmp stays selected, aaa.tmp stays unselected

Reviewers: ngraham, michaelh, #dolphin, elvisangelaccio

Reviewed By: ngraham, michaelh, #dolphin, elvisangelaccio

Subscribers: emateli, elvisangelaccio, #dolphin

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

7 years agoDon't show 'Open Terminal' on Windows
Elvis Angelaccio [Sun, 21 Jan 2018 11:15:07 +0000 (12:15 +0100)]
Don't show 'Open Terminal' on Windows

We already disable the TerminalPanel on Windows, we should do the same
with the 'Open Terminal' action for consistency.

7 years agoRevert "Ignore baloo urls created from new KIO model"
Luca Beltrame [Fri, 19 Jan 2018 12:27:52 +0000 (13:27 +0100)]
Revert "Ignore baloo urls created from new KIO model"

This reverts commit 9d3a019445d7a7fdf3177bca9eeef4c44599e706.

Causes breakage in Dolphin in master. The proper fix is in D9333.

CCBUG: 389147

7 years agoExclude m_terminalPanel references when built on Windows
Adrián Chaves (Gallaecio) [Thu, 18 Jan 2018 19:30:59 +0000 (20:30 +0100)]
Exclude m_terminalPanel references when built on Windows

Fixes an issue reported by elvisangelaccio at https://phabricator.kde.org/D9955

7 years agoSet the focus to the active view, after leaving the terminal panel
Adrián Chaves Fernández (Gallaecio) [Thu, 18 Jan 2018 17:49:54 +0000 (18:49 +0100)]
Set the focus to the active view, after leaving the terminal panel

Summary:
BUG: 298467

Set the focus to the active view, after leaving the terminal panel.

This is a fork of the patch at https://git.reviewboard.kde.org/r/116118/ by @emmanuelp which should fix the issue with the original patch reported by Frank Reininghaus.

Test Plan: Works for me.

Reviewers: #dolphin, emmanuelp, ngraham

Reviewed By: #dolphin, ngraham

Subscribers: ngraham, emmanuelp

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

7 years agoMerge remote-tracking branch 'origin/Applications/17.12'
Luca Beltrame [Thu, 18 Jan 2018 08:09:49 +0000 (09:09 +0100)]
Merge remote-tracking branch 'origin/Applications/17.12'

Conflicts:
CMakeLists.txt [versions]
src/panels/places/placesitemmodel.cpp

7 years agoFolderspanel's context-menu option "Limit to Home Directory" is always visible
Michael Heidelbach [Tue, 16 Jan 2018 09:23:50 +0000 (10:23 +0100)]
Folderspanel's context-menu option "Limit to Home Directory" is always visible

Summary:
Applied suggested changes to [[ https://phabricator.kde.org/D9662 | D9662 ]]
  - Enum instead of bool
  - Use QStringLiteral

Test Plan: Visual inspection

Reviewers: ngraham, elvisangelaccio, #dolphin

Reviewed By: ngraham, #dolphin

Subscribers: #dolphin

Tags: #dolphin, #kde_applications

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

7 years agofolderspanel context-menu option "Limit to Home Directory" should be always visible
Michael Heidelbach [Sun, 14 Jan 2018 17:53:11 +0000 (10:53 -0700)]
folderspanel context-menu option "Limit to Home Directory" should be always visible

Summary:
Only by chance I discovered that this option is visible but only when inside home. Before that I always edited dolphinrc to reenable it.
I think it's less confusing to always show it but toggle its enabled state

Test Plan:
compile and run
show folderspanel context-menu in different places

Reviewers: #dolphin, emmanuelp, ngraham

Reviewed By: #dolphin, ngraham

Subscribers: elvisangelaccio

Tags: #dolphin, #kde_applications

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

7 years agoExplicitly pass iconNameForUrl when dropping places entry
Kai Uwe Broulik [Thu, 11 Jan 2018 15:08:39 +0000 (16:08 +0100)]
Explicitly pass iconNameForUrl when dropping places entry

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

7 years ago[KStandardItemListWidget] Don't paint overlay outside view for devicePixelRatio > 1
Kai Uwe Broulik [Thu, 11 Jan 2018 11:01:23 +0000 (12:01 +0100)]
[KStandardItemListWidget] Don't paint overlay outside view for devicePixelRatio > 1

Translate the position by devicePixelRatio

REVIEW: 129084

7 years agoNeeds kio >= 5.42
Albert Astals Cid [Wed, 10 Jan 2018 21:26:39 +0000 (22:26 +0100)]
Needs kio >= 5.42

At least since 5f1df43b87898b380228a3548553de3290ddb0d7

8 years agoSVN_SILENT made messages (.desktop file) - always resolve ours
l10n daemon script [Tue, 9 Jan 2018 03:56:51 +0000 (04:56 +0100)]
SVN_SILENT made messages (.desktop file) - always resolve ours

In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"

8 years agoFix PlacesItemModel loading with hidden devices
Renato Araujo Oliveira Filho [Wed, 20 Dec 2017 18:26:35 +0000 (15:26 -0300)]
Fix PlacesItemModel loading with hidden devices

Summary:
Make sure that hidden devices loaded after module initialization does
not appear in the view.
Check for item visibility before add it on the model.

Test Plan: Unit test created

Reviewers: franckarrecot

Reviewed By: franckarrecot

Subscribers: cfeck, ervin, #dolphin

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

8 years agoinfopanel fully resizable
Michael Heidelbach [Sat, 6 Jan 2018 23:55:32 +0000 (16:55 -0700)]
infopanel fully resizable

Summary:
Currently Infopanel does wrap its title when trying to narrow it.
Initially:
{F5619283}
Expanded:
{F5619284}
Resizing fails, watch cursor:
{F5619286}
Patch applied:
{F5619287}

Maybe this behaviour it intentional. Personally, I prefer the patch.

Test Plan:
compile & run
Resize infopanel with long title

Reviewers: #dolphin, ngraham, elvisangelaccio

Reviewed By: #dolphin, ngraham, elvisangelaccio

Subscribers: renatoo, vhanda, nicolasfella, elvisangelaccio, ngraham

Tags: #dolphin, #kde_applications

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

8 years agoRemove obsolete reviewboardrc file
Laurent Montel [Fri, 5 Jan 2018 12:55:53 +0000 (13:55 +0100)]
Remove obsolete reviewboardrc file

8 years agoGIT_SILENT Upgrade KDE Applications version to 17.12.1.
Albert Astals Cid [Thu, 4 Jan 2018 17:44:27 +0000 (18:44 +0100)]
GIT_SILENT Upgrade KDE Applications version to 17.12.1.

8 years agoRevive folderpanel when outside $HOME
Michael Heidelbach [Wed, 3 Jan 2018 13:05:58 +0000 (14:05 +0100)]
Revive folderpanel when outside $HOME

Summary:
Currently the folderpanel is inert when browsing outside of home because urls end up as 'file:////a/b/c'
and since Qt 5.10 this is an invalid URL: http://code.qt.io/cgit/qt/qtbase.git/commit/?id=f62768d046528636789f901ac79e2cfa1843a7b7

Premptive bug fix.

Test Plan:
Open dolphin
Leave home directory

Reviewers: #dolphin, elvisangelaccio

Subscribers: dfaure, elvisangelaccio, ngraham, anthonyfieroni

Tags: #dolphin

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

8 years agoIgnore baloo urls created from new KIO model
Renato Araujo Oliveira Filho [Fri, 15 Dec 2017 12:10:47 +0000 (09:10 -0300)]
Ignore baloo urls created from new KIO model

Summary:
For now ignore baloo urls that was created by new KIO::KFilePlacesModel,
until we make use of new KIO API.

BUG: 387888

Test Plan:
Open any KIO file dialog using the new API.
Runs dolphin v17.12.0
Make sure that baloo urls does not appear duplicated

Reviewers: ngraham, elvisangelaccio

Reviewed By: ngraham, elvisangelaccio

Subscribers: cfeck, elvisangelaccio, ervin, mlaurent, #dolphin

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

8 years agoGIT_SILENT made messages (after extraction)
l10n daemon script [Sun, 31 Dec 2017 04:22:08 +0000 (05:22 +0100)]
GIT_SILENT made messages (after extraction)

8 years agoGIT_SILENT made messages (after extraction)
l10n daemon script [Sun, 31 Dec 2017 02:06:18 +0000 (03:06 +0100)]
GIT_SILENT made messages (after extraction)

8 years agoSVN_SILENT made messages (.desktop file) - always resolve ours
l10n daemon script [Thu, 28 Dec 2017 05:01:08 +0000 (06:01 +0100)]
SVN_SILENT made messages (.desktop file) - always resolve ours

In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"

8 years agoSVN_SILENT made messages (.desktop file) - always resolve ours
l10n daemon script [Thu, 28 Dec 2017 03:40:23 +0000 (04:40 +0100)]
SVN_SILENT made messages (.desktop file) - always resolve ours

In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"

8 years agoSVN_SILENT made messages (.desktop file) - always resolve ours
l10n daemon script [Wed, 20 Dec 2017 07:25:12 +0000 (08:25 +0100)]
SVN_SILENT made messages (.desktop file) - always resolve ours

In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"

8 years agoSVN_SILENT made messages (.desktop file) - always resolve ours
l10n daemon script [Wed, 20 Dec 2017 06:02:02 +0000 (07:02 +0100)]
SVN_SILENT made messages (.desktop file) - always resolve ours

In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"

8 years agoImplemented support for hide/show groups
Renato Araujo Oliveira Filho [Thu, 7 Dec 2017 14:36:00 +0000 (11:36 -0300)]
Implemented support for hide/show groups

Summary:
Added an option on PlacesPanel context menu to show or hide the entire
group of places.

Depends on D8855

Test Plan: Open Donlphin and use PlacesPanel context menu to hide and show groups

Reviewers: franckarrecot, mlaurent, mwolff, elvisangelaccio

Reviewed By: franckarrecot, mlaurent, mwolff, elvisangelaccio

Subscribers: rkflx, mwolff, elvisangelaccio, ngraham, #dolphin

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

8 years agoUse Kio::KPlacesModel as source model for PlacesItemModel
Renato Araujo Oliveira Filho [Thu, 16 Nov 2017 15:32:49 +0000 (12:32 -0300)]
Use Kio::KPlacesModel as source model for PlacesItemModel

Summary:
Use Kio::KPlacesModel as source model for PlacesItemModel avoiding
duplicated code.

Depends on D8862
Depends on D8332
Depends on D8434
Depends on D8348
Depends on D8630

Test Plan: Unit test created

Reviewers: elvisangelaccio, emmanuelp, mlaurent, mwolff

Reviewed By: elvisangelaccio, mlaurent, mwolff

Subscribers: mwolff, mlaurent, anthonyfieroni, nicolasfella, ngraham, #dolphin

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

8 years agoChange "Empty Search" to just "Search" to handle searches with no search text
Nathaniel Graham [Wed, 13 Dec 2017 05:52:21 +0000 (22:52 -0700)]
Change "Empty Search" to just "Search" to handle searches with no search text

Summary:
BUG: 387854

The pre-defined searches (Documents, Videos, etc) all default to no search text. https://cgit.kde.org/dolphin.git/commit/?id=702429ac8e64a5aff4e110a56f526b96ecb795fd changed their window title from "baloosearch - /" to "Empty Search", but the search isn't really empty; it just lacks a search string. It's still looking for documents, or videos, or whatever.

Test Plan:
Is it too late to get this into 5.12?

Tested in KDE Neon. Before:
{F5545170}

After:
{F5545171}

Reviewers: #dolphin, elvisangelaccio, broulik

Reviewed By: broulik

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

8 years agoMerge remote-tracking branch 'origin/Applications/17.12'
Luigi Toscano [Tue, 5 Dec 2017 00:19:06 +0000 (01:19 +0100)]
Merge remote-tracking branch 'origin/Applications/17.12'

8 years agoappdata: update doc URL, more https
Luigi Toscano [Tue, 5 Dec 2017 00:17:19 +0000 (01:17 +0100)]
appdata: update doc URL, more https

- use the more generic URL for dolphin documentation;
- use https for all links.

8 years agoGIT_SILENT Upgrade KDE Applications version to 17.12.0.
Christoph Feck [Mon, 4 Dec 2017 23:00:53 +0000 (00:00 +0100)]
GIT_SILENT Upgrade KDE Applications version to 17.12.0.

8 years agoChange window title when searching
Julian Schraner [Sun, 3 Dec 2017 14:58:02 +0000 (07:58 -0700)]
Change window title when searching

Summary:
When you search for a file (e.g. "hello world") the window title of Dolphin will now change to "Search for [input]" instead of "baloosearch - /".

BUG: 321575

Test Plan:
  - Disables it iself after search bar is hidden
  - Works with multiple word searches

Reviewers: #dolphin, ngraham, elvisangelaccio

Reviewed By: #dolphin, ngraham, elvisangelaccio

Subscribers: anthonyfieroni, elvisangelaccio, rkflx, emmanuelp, ngraham, #dolphin

Tags: #dolphin

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

8 years agoRemove duplicate definition of the function.
Ben Cooksley [Sun, 3 Dec 2017 05:45:00 +0000 (18:45 +1300)]
Remove duplicate definition of the function.
Looks like this is the result of a bad merge.

CCMAIL: heirecka@exherbo.org

8 years agoMerge remote-tracking branch 'origin/Applications/17.12'
Heiko Becker [Sat, 2 Dec 2017 10:00:04 +0000 (11:00 +0100)]
Merge remote-tracking branch 'origin/Applications/17.12'

8 years agoUse CMakePackageConfigHelpers instead of the ECM variant
Heiko Becker [Fri, 1 Dec 2017 18:01:59 +0000 (19:01 +0100)]
Use CMakePackageConfigHelpers instead of the ECM variant

Summary:
dolphin already requires cmake >= 3.0, which includes the macro.
Also make sure to include the CMakeFindDependencyMacro.

Reviewers: #dolphin

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

8 years agoGIT_SILENT Upgrade KDE Applications version to 17.11.90.
Christoph Feck [Thu, 30 Nov 2017 21:16:12 +0000 (22:16 +0100)]
GIT_SILENT Upgrade KDE Applications version to 17.11.90.

8 years agoCreated unit test for PlacesItemModel
Renato Araujo Oliveira Filho [Mon, 27 Nov 2017 16:36:40 +0000 (09:36 -0700)]
Created unit test for PlacesItemModel

Summary: Make sure that PlacesItemModel is covered by unit test

Reviewers: ervin, elvisangelaccio, mwolff

Reviewed By: ervin, elvisangelaccio, mwolff

Subscribers: mwolff, elvisangelaccio, ngraham, #dolphin

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

8 years agoUse kSqueezedTextLabel for the label text on the statusbar
Ahmad Samir [Sat, 25 Nov 2017 17:25:34 +0000 (18:25 +0100)]
Use kSqueezedTextLabel for the label text on the statusbar

Summary:
Following up from D8927; use kSqueezedTextLabel for the label text on the statusbar:
- This simplifies the code in updateLabelText()
- Remove the eventFilter as it's not needed any more since kSqueezedTextLabel has a resizeEvent function
- Specify a stretch factor, 1, for m_label, m_zoomSlider and m_spaceInfo, this prevents the changing of the width of m_label when the label text is updated from changing the widths of the zoomSlider and the spaceInfo widgets as that is a bit too jumpy.

(Thanks to the code of konversation statusbar for the hint about using the stretch factor in addWidget()).

Reviewers: elvisangelaccio

Subscribers: elvisangelaccio, #dolphin

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

8 years agoElide the label text on the statusbar in the middle
Ahmad Samir [Wed, 22 Nov 2017 01:18:01 +0000 (18:18 -0700)]
Elide the label text on the statusbar in the middle

Summary:
BUG: 387189

Currently the label text on the statusbar is elided in on the right, but that means that when the text gets elided the size of the file isn't shown.

The label text on the statusbar shows the file name, the mime type and the size; the name is already shown in the main window and the mimetype can usually be guessed from the icon or from the extension, so it's usually the size that the user wants to see on the statusbar.

Reviewers: #dolphin, ngraham, elvisangelaccio

Reviewed By: #dolphin, ngraham, elvisangelaccio

Subscribers: elvisangelaccio, ngraham, anthonyfieroni

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

8 years agoRevert some hunks from previous commit
Kevin Funk [Tue, 21 Nov 2017 10:00:07 +0000 (11:00 +0100)]
Revert some hunks from previous commit

Changes in folderspanel.cpp in 464b13f3828e5cdd03438d0881c3a62c7cda6333 were unintended.

8 years agoModernize: Use nullptr everywhere
Kevin Funk [Tue, 21 Nov 2017 09:52:14 +0000 (10:52 +0100)]
Modernize: Use nullptr everywhere

8 years agoModernize: Use override where possible
Kevin Funk [Mon, 20 Nov 2017 22:25:06 +0000 (23:25 +0100)]
Modernize: Use override where possible

Also use override instead of Q_DECL_OVERRIDE

8 years agoFix scrolling during inline renaming causes rename of wrong file
Andreas Krutzler [Sun, 19 Nov 2017 03:32:37 +0000 (20:32 -0700)]
Fix scrolling during inline renaming causes rename of wrong file

Summary:
Scrolling during inline renaming accepts the renaming now, like if one would hit Return for example. I chose this approach because it seems the easiest way to fix this.
This also fixes the “possible” Ui glitch where the renaming KTextField doesn’t move along with the list item. Possible glitch, because I don’t know if this is intentional, but for me it looks broken.

BUG: 378786
Fixes T7443

Test Plan:
* Enable "Rename inline" in dolphin settings
* Go to a folder where you have to scroll through items (many files, big zoom,…)
* Start to rename a file (context menu, F2, …)
* Scroll with mouse wheel
* Rename  accepted -> file is renamed

Reviewers: ngraham, rkflx, #dolphin, elvisangelaccio

Reviewed By: ngraham, rkflx, #dolphin, elvisangelaccio

Subscribers: anthonyfieroni, elvisangelaccio, #dolphin

Maniphest Tasks: T7443

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

8 years agoFix scrolling during inline renaming causes rename of wrong file
Andreas Krutzler [Sun, 19 Nov 2017 03:32:37 +0000 (20:32 -0700)]
Fix scrolling during inline renaming causes rename of wrong file

Summary:
Scrolling during inline renaming accepts the renaming now, like if one would hit Return for example. I chose this approach because it seems the easiest way to fix this.
This also fixes the “possible” Ui glitch where the renaming KTextField doesn’t move along with the list item. Possible glitch, because I don’t know if this is intentional, but for me it looks broken.

BUG: 378786
Fixes T7443

Test Plan:
* Enable "Rename inline" in dolphin settings
* Go to a folder where you have to scroll through items (many files, big zoom,…)
* Start to rename a file (context menu, F2, …)
* Scroll with mouse wheel
* Rename  accepted -> file is renamed

Reviewers: ngraham, rkflx, #dolphin, elvisangelaccio

Reviewed By: ngraham, rkflx, #dolphin, elvisangelaccio

Subscribers: anthonyfieroni, elvisangelaccio, #dolphin

Maniphest Tasks: T7443

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

8 years agoUse KConfig::readEntry()'s default argument properly
Nathaniel Graham [Thu, 16 Nov 2017 14:23:46 +0000 (07:23 -0700)]
Use KConfig::readEntry()'s default argument properly

Summary: Follow-on patch to D7440 to use KConfig::readEntry()'s default argument properly to reduce some unnecessary code

Test Plan: Tested in KDE Neon. no regressions; by default, all plugins are enabled if the key is not set, and if it is set, user changes to the list are remembered

Reviewers: #dolphin, elvisangelaccio, dfaure, apol

Reviewed By: #dolphin, elvisangelaccio, apol

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

8 years agoTurn on Dolphin icon previews by default
Nathaniel Graham [Thu, 16 Nov 2017 02:48:29 +0000 (19:48 -0700)]
Turn on Dolphin icon previews by default

Summary:
BUG: 338492
BUG: 350212

By default, turn on all preview plugins and turn on previews themselves.

Depends on D8347

Test Plan:
Tested this change in an up-to-date KDE Neon: removed the existing dolphinrc file, deployed Dolphin with the change, and observed that previews are now turned on for all file types for which a plugin exists except for text files, which are in the blacklist because they're mostly useless at nearly all icon sizes (still available in case people want them, though).

Here's how Dolphin's main window looks by default now in KDE Neon:

{F5441184}
(You may notice that there are no previews for the video files; that's because Neon doesn't ship with any plugins for them, so that would be expected at this point)

And here is how the Settings > General > Preview window looks like now by default:
{F5435391}

Reviewers: #dolphin, #vdg, markg, abetts, dfaure, aseigo, elvisangelaccio

Reviewed By: #vdg, abetts, dfaure, elvisangelaccio

Subscribers: abetts, cfeck, andreaska, emmanuelp, andreask, markg, broulik, anthonyfieroni, davidedmundson, ltoscano, dfaure, elvisangelaccio, #konqueror

Tags: #dolphin

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

8 years agoGIT_SILENT Upgrade KDE Applications version to 18.03.70.
Albert Astals Cid [Mon, 13 Nov 2017 07:59:39 +0000 (08:59 +0100)]
GIT_SILENT Upgrade KDE Applications version to 18.03.70.

8 years agoGIT_SILENT Upgrade KDE Applications version to 17.11.80.
Albert Astals Cid [Mon, 13 Nov 2017 00:03:00 +0000 (01:03 +0100)]
GIT_SILENT Upgrade KDE Applications version to 17.11.80.

8 years agoEarlier versions of Qt don't cascade include QUrl so we need to explicitly include...
Ben Cooksley [Sat, 11 Nov 2017 21:51:15 +0000 (10:51 +1300)]
Earlier versions of Qt don't cascade include QUrl so we need to explicitly include it to keep compatibility with Qt 5.7 (as used on FreeBSD)

8 years agoPrevent folders from drag and dropping onto themselves in dolphin main view
Emirald Mateli [Sat, 11 Nov 2017 14:05:15 +0000 (15:05 +0100)]
Prevent folders from drag and dropping onto themselves in dolphin main view

Summary:
This patch aims to improve user experience by not allowing the user to drag and drop a folder into itself.

The current behavior shows a red message at the top which can then be closed by the user, instead of relying on that, this patch disables the option of dropping onto self and uses the "Invalid drop target cursor" to highlight the behavior.

BUG: 307747

Since spectacle is unable to screenshot the cursor overlay, find attached a photo of the screen.
{F3787651}

Test Plan:
1. Drag a folder.
2. Drop it onto itself.

Reviewers: #dolphin, elvisangelaccio, ngraham, rkflx, dfaure

Reviewed By: #dolphin, elvisangelaccio, rkflx, dfaure

Subscribers: rkflx, ngraham, elvisangelaccio, dfaure, anthonyfieroni, #konqueror

Tags: #dolphin

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

8 years agoPrevent "Two clicks renaming" if the selected file/folder is not movable
Andreas Krutzler [Sat, 11 Nov 2017 02:32:53 +0000 (19:32 -0700)]
Prevent "Two clicks renaming" if the selected file/folder is not movable

Summary:
Two clicks renaming doesn't check if the user is actually allowed to rename a file/folder. With this patch, this get fixed.
Depends on D7647

Reviewers: rkflx, #dolphin, ngraham

Reviewed By: #dolphin, ngraham

Subscribers: elvisangelaccio, ngraham, #dolphin

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

8 years agoUse new folder-stash icon
Nathaniel Graham [Wed, 8 Nov 2017 14:06:46 +0000 (07:06 -0700)]
Use new folder-stash icon

Summary:
Resolves T7185

Use the new folder-stash icon introduced in https://cgit.kde.org/breeze-icons.git/commit/?id=b909a8008a7e3ffabb090bc82127ebb561f58597

Test Plan:
Tested in KDE Neon. Dolphin now uses the new icon is `kio-stash` is installed:

{F5482031}

Reviewers: elvisangelaccio, #dolphin

Reviewed By: elvisangelaccio, #dolphin

Subscribers: cfeck

Maniphest Tasks: T7185

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

8 years agoAdd more whitespace to the status bar
Diego Gangl [Tue, 7 Nov 2017 16:32:31 +0000 (17:32 +0100)]
Add more whitespace to the status bar

Summary:
This patch gives the status bar a little more vertical whitespace, prevents the status bar from "jumping up and down" when showing a progress bar, and adds a bit of padding on the sides so the labels are more clearly separated when using dual panes.

Reviewers: #dolphin, #vdg, ngraham, elvisangelaccio

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

8 years agoGIT_SILENT made messages (after extraction)
l10n daemon script [Sun, 5 Nov 2017 02:01:20 +0000 (03:01 +0100)]
GIT_SILENT made messages (after extraction)

8 years agoUse nullptr + add explicit keyword
Montel Laurent [Fri, 3 Nov 2017 07:01:02 +0000 (08:01 +0100)]
Use nullptr + add explicit keyword

Test Plan: compile

Reviewers: #dolphin, broulik

Reviewed By: broulik

Subscribers: #dolphin

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

8 years agoRemove not necessary check pointer
Montel Laurent [Tue, 31 Oct 2017 10:55:07 +0000 (11:55 +0100)]
Remove not necessary check pointer

Test Plan: compile

Reviewers: #dolphin, elvisangelaccio

Reviewed By: #dolphin, elvisangelaccio

Subscribers: #dolphin

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

8 years agoMake Saved Search feature discoverable
Nathaniel Graham [Tue, 24 Oct 2017 19:10:41 +0000 (13:10 -0600)]
Make Saved Search feature discoverable

Summary:
FEATURE: 269332

Make Dolphin's Saved Search feature discoverable by adding a button inside the search field. The button only becomes enabled when there is a valid search term. When pushed, it saves the search to the Places panel, providing a visible-by-default way to do this to complement the existing implementation that is only visible in the context menu.

Also harmonized the label text so that it's consistent no matter how you create a saved search (button or context menu)

Test Plan:
Tested in KDE Neon. Works great:
{F5449508}

Reviewers: #dolphin, broulik, dfaure, markg, emateli, elvisangelaccio

Reviewed By: #dolphin, markg, emateli, elvisangelaccio

Subscribers: anthonyfieroni, markg, emateli, elvisangelaccio, cfeck, #dolphin

Tags: #dolphin

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

8 years agoTwo clicks on file/folder to rename
Andreas Krutzler [Fri, 27 Oct 2017 13:01:54 +0000 (07:01 -0600)]
Two clicks on file/folder to rename

Summary:
Make renaming of files/folders faster by clicking a second time on the items text to start renaming.
BUG: 205157

Test Plan:
This feature works as follows:

1. select an item by single-click, or one is already selected
2. wait the "double-click-interval"
3. click on the items text
4. none of the cancellations (see below) happens within the double-click-interval
5. inline-renaming starts

Cancellations:
* open any file/folder
* select different item(s)
* start dragging items
* Dolphin loses focus

This feature is just enabled while "Double-click to open files and folders" in system-settings and "Rename inline" in Dolphin are enabled.

Reviewers: #dolphin, #kde_applications, elvisangelaccio, emmanuelp, ngraham, markg, rkflx

Reviewed By: #dolphin, #kde_applications, elvisangelaccio, ngraham, rkflx

Subscribers: rkflx, markg, funkybomber, sars, elvisangelaccio, ngraham

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

8 years agoMake sure we always have the Del shortcut
Elvis Angelaccio [Mon, 16 Oct 2017 17:56:31 +0000 (19:56 +0200)]
Make sure we always have the Del shortcut

Same fix as in D7655, but this time for the MoveToTrash standard action.

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

8 years agoFix Q_OS_WIN ifdef
Elvis Angelaccio [Sat, 14 Oct 2017 10:49:29 +0000 (12:49 +0200)]
Fix Q_OS_WIN ifdef

This should fix my previous commit.

8 years agoFix build on Windows
Elvis Angelaccio [Sat, 14 Oct 2017 10:36:26 +0000 (12:36 +0200)]
Fix build on Windows

TerminalPanel is not available on Windows, so commit bd47eb2e6d broke
the MSVC build on the CI.

8 years agoDon't block unmounting when terminal panel's cwd is the mountpoint
Miklos Marton [Thu, 12 Oct 2017 21:17:51 +0000 (23:17 +0200)]
Don't block unmounting when terminal panel's cwd is the mountpoint

When unmounting a removable media Dolphin checks if there are
some files open on the device before performing the unmount.
If the terminal window in dolphin is open and the to be unmounted path is open,
 the unmount process will be blocked.

This patch sets the terminal window current path to the home directory upon unmount request
 if the terminal directory is set to the mount path.

The unmount request could came from two sources:

    The user could hit right click on the media in the dolphin's places panel and hit unmount.
    The user could request an unmount from the indicator applet

This patch was originally written by Arjun AK for the kdelibs4 version
of Dolphin: https://git.reviewboard.kde.org/r/121613/

BUG: 158264
FIXED-IN: 17.11.80

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

8 years agoMove Folders item closer to the top
Nathaniel Graham [Wed, 4 Oct 2017 15:08:26 +0000 (09:08 -0600)]
Move Folders item closer to the top

Summary:
Move Folders item closer to the top in Dolphin's find panel. This seems like a more natural placment than after the document types.

Also re-order variable placement to maintain consistency

Test Plan:
Tested in KDE Neon; works. Before:
{F4631565}

After:
{F4631532}

Reviewers: #dolphin, elvisangelaccio

Reviewed By: #dolphin, elvisangelaccio

Subscribers: #dolphin

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

8 years agoAdd option to only search for folders
XY Quadrat [Tue, 3 Oct 2017 21:07:53 +0000 (23:07 +0200)]
Add option to only search for folders

This commit adds an option under "More options" at the search widget.
It allows to only search for folders and filter out everything else,
just like the other options (e.g. "Videos") above.

FEATURE: 269334
REVIEW: 130159

8 years agoMerge branch 'Applications/17.08'
Fabian Vogt [Sat, 30 Sep 2017 14:30:14 +0000 (16:30 +0200)]
Merge branch 'Applications/17.08'

8 years agoFix build with Qt 5.10
Fabian Vogt [Sat, 30 Sep 2017 13:49:52 +0000 (15:49 +0200)]
Fix build with Qt 5.10

Summary: QStaticText's constructor with const QString & as argument is now explicit.

Test Plan:
Did not build before, now does.

Note that this might change the behaviour as the other properties of m_text are now
kept, which was not the case before. I'm not sure what the expected behaviour here
is supposed to be.

Reviewers: #dolphin, #kde_applications, cfeck

Reviewed By: cfeck

Subscribers: cfeck, #kde_applications, #dolphin

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

8 years agoAdd Bitrate to Dolphin's Additional Information
Nate Graham [Fri, 22 Sep 2017 04:55:41 +0000 (22:55 -0600)]
Add Bitrate to Dolphin's Additional Information

Summary:
Adds Bitrate to Dolphin's Additional information columns.

BUG: 368418

Test Plan:
Tested in KDE Neon. A bitrate column can be added and shows the bitrate in kb/s:

{F3907210}

Works for audio as well as video files!

Reviewers: #dolphin, #kde_applications, broulik, aacid, dfaure, emmanuelp

Reviewed By: #dolphin, #kde_applications, emmanuelp

Subscribers: rkflx, alexeymin, anthonyfieroni

Tags: #dolphin

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

8 years agoSelect child folder when navigating to a parent folder
Gregor Mi [Thu, 21 Sep 2017 13:41:26 +0000 (15:41 +0200)]
Select child folder when navigating to a parent folder

Whenever the dolphin view is initialized to show the contents of a new URL
(e.g. "/home/x/test") it will be checked if the new URL is a parent of the
previous displayed URL (e.g. "/home/x/test/documents/aaa"). If the check is
successful, then the common child (in this example: "/home/x/test/documents/")
folder item will be selected and scrolled into view.

REVIEW: 123253
BUG: 377392
CCBUG: 335616

8 years agoMerge branch 'Applications/17.08'
Elvis Angelaccio [Sun, 17 Sep 2017 09:56:42 +0000 (11:56 +0200)]
Merge branch 'Applications/17.08'

8 years agoKeep renamed file(s) in view
Emirald Mateli [Sun, 17 Sep 2017 09:07:44 +0000 (11:07 +0200)]
Keep renamed file(s) in view

When renaming a file, if its new name causes it to scroll out of view,
Dolphin will not scroll to the location of the new file.
This patch aims to address that. This affects all view modes.

CCBUG: 354330

Test Plan:
1. Have many files in a directory (or several files, just zoom in a lot)
2. Rename a file so that it will move out of view

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