Commit graph

555 commits

Author SHA1 Message Date
Elvis Angelaccio 73f885f9d3 Don't ignore tag clicks in the tooltips
Summary:
Now that we can use the metadata widgets in the tooltips, we can also
open the tags:// url if the user clicks some tag in a tooltip.

The behavior is now consistent with the metadata widget in the information panel.

Test Plan: Click a tag when the metadata tooltip shows up.

Reviewers: emmanuelp

Subscribers: #konqueror, #dolphin

Differential Revision: https://phabricator.kde.org/D5658
2017-05-08 16:04:19 +02:00
Elvis Angelaccio 68bb0ec22a Port to KStandardAction::DeleteFile
Summary:
It was introduced in kconfig 5.25 and it properly handles the shift+del
shortcut (together with kxmlgui >= 5.30). This allows us to drop the
custom delete shortcut as well as the shift+del workaround in
DolphinMainWindow.

Test Plan: Shift+Del still deletes files, without the 'ambiguous shortcut' warning dialog.

Reviewers: emmanuelp

Differential Revision: https://phabricator.kde.org/D5010
2017-03-13 19:40:07 +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
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 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 f785d95171 Drop unused include
This is no longer needed since commit 230fe13d1f
2017-02-05 23:55:37 +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
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
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
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
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
Elvis Angelaccio 97415005de Merge branch 'Applications/16.12' 2017-01-14 13:00:33 +01:00
Elvis Angelaccio 85121a8115 Don't overwrite custom icons for the show_hidden_files action
BUG: 374508
FIXED-IN: 16.12.2
REVIEW: 129789
2017-01-14 12:52:58 +01:00
Kai Uwe Broulik 5107523249 Merge branch 'Applications/16.12' 2017-01-03 09:49:02 +01:00
Kai Uwe Broulik 2a7090728b [DolphinView] Update view palette on palette change
Everything was handling palette change already but for the visual distinction between
active and non-active view (in case of split view), a custom palette was set which was
then never updated. This could be seen by the label text color changing but not the view background.

Differential Revision: https://phabricator.kde.org/D3909
2017-01-03 09:45:33 +01:00
Elvis Angelaccio 331c8bc89e Merge branch 'Applications/16.12' 2017-01-02 14:57:57 +01:00
Elvis Angelaccio 24ed38d77f Properly disable create_dir action in Trash
`isFolderWritable` is set in DolphinView::updateWritableState() according to
KFileItemListProperties::supportsWriting().
However, `writing=true` does not imply `makedir=true`,
in an ioslave's .protocol file. An example is the trash protocol.

So we need to enable the `create_dir` action only if the protocol is
actually able to create folders.

CCBUG: 332463
REVIEW: 129712
2017-01-02 14:54:38 +01:00
l10n daemon script ae935d36b1 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"
2016-12-20 12:38:21 +01:00
Martin T. H. Sandsmark b706108206 Use tab for switching active split
REVIEW: 128564
REVIEW: 110970
BUGS: 171743
2016-09-04 14:12:53 +02:00
l10n daemon script 50e366431d 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"
2016-08-19 09:28:24 +00:00
Martin T. H. Sandsmark 676cdcbbdb Fix some low-hanging warning fruits 2016-08-06 13:03:48 +02:00
David Faure e615bfaed4 add_definitions(-DQT_NO_URL_CAST_FROM_STRING) + fix compilation
This fixes some URLs built from local paths without scheme.
2016-06-25 16:40:18 +02:00
David Faure f2772c4fe6 Fix DnD onto desktop:/ app desktop file.
We need to resolve from desktop:/ to file:/ so that DropJob
can handle application .desktop files.

CCBUG: 363991
2016-06-16 15:34:44 +02:00
l10n daemon script 0cbc3d195b 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"
2016-06-10 09:41:49 +00:00
l10n daemon script 82af09127d 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"
2016-05-29 09:27:44 +00:00
Andre Woebbeking 62534f260f Don't use old (not existing) names in the documentation. 2016-05-16 19:06:32 +02:00
Andrius da Costa Ribas c6d4cae263 Fix exports and linkage, remove sources from tests which are already being linked.
REVIEW: 127709
2016-04-22 14:30:32 -03:00
Artur Puzio 5593c252e8 [CLAZY] Fixed all level 1 and level 2 warnings with small exceptions
REVIEW: 126771
2016-03-16 22:17:37 +01:00
l10n daemon script b336066e1d 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"
2016-01-15 09:54:42 +00:00
Frank Reininghaus 0743843ebb Merge branch 'Applications/15.12' 2016-01-14 20:41:32 +01:00
Roman Gilg a3acc36a66 Adding icon for hidden files
REVIEW: 125094
2016-01-12 10:35:56 +01:00
l10n daemon script 508ad6cbd0 SVN_SILENT made messages (.desktop file) 2016-01-10 14:42:09 +00:00
l10n daemon script ce14d709c7 SVN_SILENT made messages (.desktop file) 2015-12-30 12:12:44 +00:00
l10n daemon script 889a574fcd 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"
2015-12-30 09:19:37 +00:00
l10n daemon script 0fc2c24039 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"
2015-12-07 10:14:12 +00:00
l10n daemon script d3c9d3c31f 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"
2015-11-30 10:26:25 +00:00
l10n daemon script c4f3c40b83 SVN_SILENT made messages (.desktop file) 2015-11-16 13:50:57 +00:00
l10n daemon script bc8f3373fd 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"
2015-11-04 16:55:32 +00:00
l10n daemon script 07dae709d9 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"
2015-10-26 10:04:54 +00:00
Michael Palimaka 8a56637663 Merge branch 'Applications/15.08' 2015-09-26 05:38:06 +10:00
l10n daemon script c9770e6083 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"
2015-09-08 12:47:01 +00:00
Emmanuel Pescosta 4143a69c05 Rename dialog: Set focus to input text box on dialog show event.
BUG: 351708
FIXED-IN: 15.08.1
REVIEW: 125078
2015-09-07 22:58:38 +02:00
Frank Reininghaus d4fafe5290 Merge branch 'Applications/15.08' 2015-09-03 20:33:48 +02:00
Frank Reininghaus 5ce01c864f Only store modified columns widths after the mouse button was released
This prevents that the new widths are written to disk multiple times in
quick succession, which can make column resizing quite slow.

BUG: 351846
REVIEW: 351846
FIXED-IN: 15.08.1
2015-09-03 20:26:12 +02:00
Montel Laurent bfa4274f58 Pedantic-- 2015-09-01 22:02:47 +02:00