Commit graph

5460 commits

Author SHA1 Message Date
Don Nguyen
edf8e57373
Make "show filter bar" a toggle action
REVIEW: 129662
2017-02-18 22:55:38 +01:00
Diego Soenens
db3f374679
Apply the file preview shadow frame to most previews instead of only image file previews
The patch applies the shadow to all previews except for folders, fonts and
Win32 exe/dll previews, similar to how Windows and MacOS handles it.

REVIEW: 129918
2017-02-18 22:43:01 +01:00
Emmanuel Pescosta
1d0b6ba65f
Start an anchored selection when restoring the selected items to make it possible
that the selection can be changed after reloading of the current view.

Otherwise it is not possible to alter the selection without restarting a new
one.

Bug found by Martin Tobias Holmedahl Sandsmark
See also RR 128563
2017-02-18 22:00:22 +01:00
Emmanuel Pescosta
6b727613db
Remove the preserving of the selected items in reload(), this is already covered
by saveState/restoreState.
2017-02-18 21:34:57 +01:00
Emmanuel Pescosta
8bc6d09c57
Preserve selected items when changing folders
Based on the idea of Martin Tobias Holmedahl Sandsmark
2017-02-18 20:48:49 +01:00
Emmanuel Pescosta
41b0e42973
Restore the view state after the URL of the DolphinView has been changed,
as stated in the documentation of KUrlNavigator::saveLocationState.

The historyChanged signal of the KUrlNavigator is emitted before the urlChanged
signal and so the view state restoring happens before the view URL has been
changed. This makes it impossible to save and restore the selected URLs, because
DolphinView::setUrl clears the list of selected items (which has been restored
right before). This changes removes the history changed slot and restores the
view state after the setUrl call.
2017-02-18 20:34:02 +01:00
arnav dhamija
ccb3658b3a Merge branch 'stashAction'
This adds the support for the Stash action which will be helpful for the upcoming stash:/ ioslave
2017-02-13 22:24:01 +05:30
arnav dhamija
41253c0c81 Merge branch 'master' of git.kde.org:dolphin 2017-02-13 22:23:41 +05:30
arnav dhamija
0d4924d8bb Whitespace? 2017-02-13 22:20:59 +05:30
arnav dhamija
f52f9331d0 Whitespace? 2017-02-13 22:17:00 +05:30
arnav dhamija
d92d752828 Whitespace? 2017-02-13 22:16:56 +05:30
Kai Uwe Broulik
7fce8f0e9b Don't add trashSettingsPage to m_pages if null
Otherwise we might crash in applySettings() or restoreDefaults()
2017-02-13 13:51:05 +01:00
Kai Uwe Broulik
f7770c60b1 Close tab on mouse release rather than on mouse press
Differential Revision: https://phabricator.kde.org/D4501
2017-02-13 13:20:07 +01:00
arnav dhamija
d5e692d16d fixed arg 2017-02-13 17:08:10 +05:30
arnav dhamija
b92ccf2ff5 Improved the patch 2017-02-13 15:39:01 +05:30
Elvis Angelaccio
d75b1de7bf Rename FileMetaDataToolTip to DolphinFileMetaDataWidget
Since commit 230fe13d1f this class is not a "tooltip" anymore, but just a
simple widget. Rename it to avoid future confusion.

Reviewers: emmanuelp

Differential Revision: https://phabricator.kde.org/D4451
2017-02-09 19:36:11 +01:00
Kai Uwe Broulik
333e2ae031 [Settings Dialog] Show Trash settings only if authorized
If this KCM is disabled through KIOSK restriction opening it would result in an error message.
Hide the entry altogether in this case.

Differential Revision: https://phabricator.kde.org/D4502
2017-02-08 16:07:19 +01:00
Kai Uwe Broulik
4eea1dc5a1 Merge branch 'Applications/16.12' 2017-02-06 19:14:08 +01:00
Kai Uwe Broulik
86d2aa321d [KStandardItemListWidget] Update icon when palette changes
We can colorize icons based on the user's palette, so clear the pixmap cache when it changes.

Differential Revision: https://phabricator.kde.org/D3937
2017-02-06 19:12:48 +01:00
Elvis Angelaccio
62b7f9228a Drop no longer used dependency
KWindowSystem is no longer used since commit 230fe13d1f.
It was only pulled for `KWindowEffects::enableBlurBehind()`, which is
now in plasma-integration (triggered by KToolTipWidget).
2017-02-06 00:07:58 +01:00
Elvis Angelaccio
f785d95171 Drop unused include
This is no longer needed since commit 230fe13d1f
2017-02-05 23:55:37 +01:00
Elvis Angelaccio
5f484d8ee8 Drop another obsolete version check
We now require Frameworks >= 5.30
2017-02-05 23:39:04 +01:00
Elvis Angelaccio
d0eae28f9f Drop no longer needed version check
Frameworks 5.30 is now the minimum version required.
2017-02-05 23:02:38 +01:00
Elvis Angelaccio
0b107078c3 Remove deprecated K_EXPORT_PLUGIN macros
They do nothing, other than generate annoying compiler warnings.

Differential Revision: https://phabricator.kde.org/D4438
2017-02-05 22:58:36 +01:00
Elvis Angelaccio
230fe13d1f Port tooltips to KToolTipWidget
Use the new KToolTipWidget class (introduced by kwidgetsaddons 5.30) as backend of ToolTipManager.
FileMetaDataToolTip becomes a simple widget used as content of the tooltip.

It is now possible to actually use the metadata widget shown inside the tooltips.
Tooltips are now functional on Wayland as well.

More information about KToolTipWidget in https://git.reviewboard.kde.org/r/129648/

BUG: 352276
BUG: 371223
FIXED-IN: 17.04.0

Closes T4980
Differential Revision: D4449
2017-02-05 22:56:40 +01:00
Elvis Angelaccio
6fc68fe650 Add .arcconfig file for phabricator 2017-02-05 11:09:21 +01:00
l10n daemon script
eb31ded156 GIT_SILENT made messages (after extraction) 2017-02-05 06:54:55 +01:00
l10n daemon script
e3ea9b558e 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"
2017-02-05 05:58:09 +01:00
l10n daemon script
5c74fc0666 GIT_SILENT made messages (after extraction) 2017-02-05 03:46:09 +01:00
Albert Astals Cid
ac41a5ef83 GIT_SILENT Upgrade KDE Applications version to 16.12.2. 2017-02-03 23:40:36 +01:00
l10n daemon script
01edd6480c GIT_SILENT made messages (after extraction) 2017-02-03 07:02:22 +01:00
l10n daemon script
92cd757733 GIT_SILENT made messages (after extraction) 2017-02-03 03:56:59 +01:00
arnav dhamija
36bd947233 Added a comment 2017-02-02 21:48:58 +05:30
arnav dhamija
41156288b2 Added a comment 2017-02-02 21:48:51 +05:30
arnav dhamija
8f28ceaad1 More happy with this patch 2017-02-02 21:46:54 +05:30
Kai Uwe Broulik
c7a2e55df9 Merge branch 'Applications/16.12' 2017-01-31 20:52:28 +01:00
Kai Uwe Broulik
e582b13f84 Hide progress info for rename jobs in rename dialog
When mass-renaming files, you could end up with a a gazillion notifications of a finished move job.
This fixes this. Ideally we would have one job which had the rename jobs as subjobs to still get
progress info for the overall task.

Differential Revision: https://phabricator.kde.org/D4372
2017-01-31 20:50:47 +01:00
arnav dhamija
e8a4868943 Made more changes 2017-01-29 23:31:43 +05:30
arnav dhamija
68cda76aa8 Time to get back to business 2017-01-29 22:00:08 +05:30
Elvis Angelaccio
a874e52b15 Merge branch 'Applications/16.12' 2017-01-21 23:43:09 +01:00
Elvis Angelaccio
c1d9becda2 informationpanel: don't change color of scrollarea's viewport
This code was added a long time ago in b1c9b5126d, but the commit
message doesn't explain why. If we remove it nothing seems to change and
we fix the ugly background on the scrollbar when Breeze draws a frame
around dockable panels.

BUG: 366203
FIXED-IN: 16.12.2
REVIEW: 129861
2017-01-21 23:38:16 +01:00
Albert Astals Cid
a67dab505a Merge remote-tracking branch 'origin/Applications/16.12' 2017-01-21 01:38:26 +01:00
Marc André Wittorf
2e8e30026a Fix missing audio duration in details view
Enabling the 'duration' column in a folder with audio files did only show empty information. Properly initializing the QTime object fixes this.

 Testing Done

    Find a folder with audio files
    Make sure that Baloo has indexed this folder
    Open this folder in Dolphin, detail view, enable the Audio/Duration column
    Unpatched Dolphin does not display audio duration, patched Dolphin does

Tested on Gentoo x86_64 with Qt 5.5.1, KF 5.21.0 and Arch x86_64 with Qt 5.6.0 and KF 5.21.0.

REVIEW: 127799
2017-01-21 01:37:35 +01:00
Gregor Mi
728e6712b8 DolphinSearchBox: Add a "More search tools..." menu button
Additionally, moves the "More/Fewer options" button from right to left to reduce the mouse travelling distance when the dolphin is maximized on a large screen (see screenshots)

The current location url will be passed to the search tool to set the initial search root directory.

REVIEW: 123883
2017-01-21 00:07:49 +01:00
Don Nguyen
0aed243beb Change "Date" to "Modified" and allow access to new "Accessed" time field
This is merge of #128964 and #128942.  This will impelement changing the "Date" field to "Modified" and allow a new "Accessed" time field to be available.  This also includes changes to update configuration files.

REVIEW: 129077
2017-01-21 00:04:38 +01:00
Don Nguyen
d8ffea2476 Dolphin: directory loading progress
Everything is already set up to show the directory loading progress in the status bar, but the signal KFileItemModel::directoryLoadingProgress is never emmited anywhere.  I connected it to KFileItemModelDirLister::percent.

This was difficult to test because I had a hard time finding a directory that didn't load almost immediately.  I was able to verify the fix by listing a remote directory of 20,000 files (see screenshot)

REVIEW: 129619
2017-01-21 00:00:34 +01:00
Elvis Angelaccio
97b5435b6b Remove extra semicolon
GIT_SILENT
2017-01-18 23:49:41 +01:00
Elvis Angelaccio
1be2704214 Port away from deprecated KIO::Job::ui()
It's equivalent to KJob::uiDelegate() from kcoreaddons.
2017-01-18 23:45:39 +01:00
Kai Uwe Broulik
215bed085b In doubt use URL scheme for place
If we neither have a filename nor a host, we might be in a foo:/ URL, use the scheme then.

Differential Revision: https://phabricator.kde.org/D3935
2017-01-16 15:45:09 +01:00
John Salatas
63a591f32a Show full path in title bar
BUG: 229810

Differential Revision: https://phabricator.kde.org/D4078
2017-01-14 04:26:14 -08:00