Commit graph

5084 commits

Author SHA1 Message Date
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
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
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
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
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
Albert Astals Cid 44b668e9fb GIT_SILENT Upgrade KDE Applications version to 16.12.1. 2017-01-07 19:47:57 +01:00
Kai Uwe Broulik 996f8520e7 Explicitly pass iconNameForUrl when creating new places entry
Once KIO::iconNameForUrl returns special icons for standard paths (e.g. Video folder)
this will ensure when adding such a folder to places it will automatically get the proper icon.

Since KIO already depends on KBookmarks it can't depend the other way round, otherwise
this would have been fixed in KBookmarks directly.

Differential Revision: https://phabricator.kde.org/D3896
2017-01-03 09:46:43 +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 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
Anthony Fieroni c456c5d528 [DolphinSearchBox] Stop search timer on hide
REVIEW: 129705

Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
2017-01-01 21:47:10 +02:00
Albert Astals Cid 586368dbfc GIT_SILENT Upgrade KDE Applications version to 16.12.0. 2016-12-06 20:52:03 +01:00
Albert Astals Cid 8b0f0a39c0 GIT_SILENT Upgrade KDE Applications version to 16.11.90. 2016-11-29 22:10:26 +01:00
Elvis Angelaccio 90beb4a5e3 Fix slow scrolling in dock panels
Commit f688bcd1f1 fixed slow scrolling with xf86-input-libinput on DolphinView.

However the commit also exposed a bug in the Dolphin scrolling
algorithm, which was previously hidden. This resulted in slow
scrolling in dock panels (Places and Folders), with both
xf86-input-evdev and xf86-input-libinput drivers, as well as libinput on
Wayland.

KItemListContainer::updateScrollOffsetScrollBar() relied on the view's
itemSize() method to compute the scrollbar's singleStep, but this QSize
was invalid for the dock panels' views.

We use a new itemSizeHint() method instead, which is always valid and
also adapts to the current icon size set in the view.

BUG: 365968
FIXED-IN: 16.12.0
REVIEW: 129409
2016-11-20 12:59:51 +01:00
Albert Astals Cid 3187c511c4 GIT_SILENT Upgrade KDE Applications version to 16.11.80. 2016-11-15 23:45:08 +01:00
Kai Uwe Broulik bffb1c4d60 Merge branch 'Applications/16.08' 2016-10-28 13:42:28 +02:00
Kai Uwe Broulik 95e1505c9f [Places Item Edit Dialog] Fix accepting dialog with Return
By setting a parent for the QDialogButtonBox we let QDialog handle everything by itself.
Also, store the dialog button box as a member rather than just the OK button.

This removes the need to set the OK button as default manually (which didn't work anyway)
and fixes pressing Return while the input is focused erroneously opening the folder browser
rather than accepting the dialog.

REVIEW: 129213
2016-10-28 13:40:50 +02:00
Safa AlFulaij 57a19efe93 The tab navigation shortcut workaround for RTL layouts is not needed anymore, as Qt supports that by default.
Before this, pressing Ctrl+Tab makes the previous tab (in RTL layout) the
activated one, and vice versa.

REVIEW: 128853
2016-10-12 14:31:35 +03:00
l10n daemon script 8828e686e9 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-10-10 12:24:39 +00:00
l10n daemon script 82cfc125f4 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-10-10 09:41:54 +00:00
Albert Astals Cid aac88e2b0f GIT_SILENT Upgrade KDE Applications version to 16.08.2. 2016-10-07 00:56:28 +02:00
Elvis Angelaccio 0e5e43aa9d Hide message widgets only when reloading the view
Otherwise an error message might be hidden before it's even shown.

BUG: 357651
FIXED-IN: 16.08.2
REVIEW: 129061
2016-10-04 17:30:51 +02:00
David Faure 0309bb1818 Pass current dir explicitly to QUrl::fromUserInput
It works with QString() but that's a bug, I didn't expect it to
work with my fromUserInput code and wrote otherwise in its documentation...
2016-10-03 01:05:42 +02:00
David Faure f54174f9f6 Popupmenu: use KIO 5.27's new addPluginActionsTo method
REVIEW: 129085
2016-10-02 22:28:03 +02:00
David Faure 345e3e7a82 Follow changes in konqpopupmenu: no longer back/forward/up in part's contextmenu. 2016-09-28 16:44:22 +02:00
arnav dhamija 1710304e9b Used KUrlMimeData::setUrls for kfileitemmodel's createMimeData for implementing the upcoming stash:/ ioslave 2016-09-25 19:46:22 +05:30
Elvis Angelaccio 478de35175 Merge branch 'Applications/16.08'
* Applications/16.08:
  Properly check Shift toggling in DolphinRemoveAction
2016-09-21 18:26:28 +02:00
Elvis Angelaccio 3775ef19ea Properly check Shift toggling in DolphinRemoveAction
Documentation of QGuiApplication::keyboardModifiers() says that "It should
be noted this may not reflect the actual keys held on the input device at
the time of calling but rather the modifiers as last reported in one of
the above events".

Since this method is called in DolphinContextMenu's keyPressEvent()
and keyReleaseEvent(), the first time that keyboardModifiers() is
called it doesn't report that shift has been pressed.

Replacing this method with queryKeyboardModifiers() does the job
because the latter doesn't care about the event queue.

BUG: 354301
FIXED-IN: 16.08.2
REVIEW: 128972
2016-09-21 18:13:29 +02:00
Elvis Angelaccio ca53974181 Add Donate standard action to control menu
REVIEW: 128946
2016-09-20 11:24:15 +02:00
Elvis Angelaccio 87ddbf770e Merge branch 'Applications/16.08'
* Applications/16.08:
  Don't load twice kfileitemaction plugins with json metadata
  Fix logic for loading kfileitemaction plugins
2016-09-10 22:01:09 +02:00
Elvis Angelaccio e93e6d4cc5 Don't load twice kfileitemaction plugins with json metadata 2016-09-10 21:59:16 +02:00
Elvis Angelaccio abaf20f114 Fix logic for loading kfileitemaction plugins
Since dolphin is now loading also plugins with json metadata, it is
wrong to return here, as those plugins could be missed.
2016-09-10 21:55:32 +02:00
Albert Astals Cid 9834fd23ab GIT_SILENT Upgrade KDE Applications version to 16.08.1. 2016-09-05 00:29:58 +02: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
Burkhard Lück 1bdebe6d7c replace kappname -> dolphin + add Paste menuitems 2016-08-31 07:02:36 +02:00
Elvis Angelaccio 5d684bea8b Merge branch 'Applications/16.08' 2016-08-23 18:12:20 +02:00
Elvis Angelaccio 809ba74695 Filter json-only KFileItemAction plugins by mimetype
Commit d48b733 introduced support for kfileitemaction plugins with json
metadata, but forgot to filter them by the commonMimeType (like
KMimeTypeTrader::query() does with old-style plugins).

So we need to load a plugin only when commonMimeType is equal to (or child of) one
of the mimetypes supported by the plugin.
2016-08-23 18:06:40 +02:00
l10n daemon script 438ede27dc 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 12:04:22 +00: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
Burkhard Lück 8529547344 fix changed menuitem string + add some comments 2016-08-18 07:56:05 +02:00
Albert Astals Cid 9c9c9be45d GIT_SILENT Upgrade KDE Applications version to 16.08.0. 2016-08-10 01:01:57 +02:00
Martin T. H. Sandsmark 676cdcbbdb Fix some low-hanging warning fruits 2016-08-06 13:03:48 +02:00
Albert Astals Cid 94dd8c67fa GIT_SILENT Upgrade KDE Applications version to 16.07.90. 2016-08-02 19:55:23 +02:00
Albert Astals Cid b7edab2244 GIT_SILENT Upgrade KDE Applications version to 16.11.70. 2016-07-19 23:28:02 +02:00
Albert Astals Cid 8d909c250c GIT_SILENT Upgrade KDE Applications version to 16.07.80. 2016-07-19 22:50:57 +02:00
Martin T. H. Sandsmark 8d61c9c7b6 Fix scrolling on hidpi screens
Scrolling with libinput was unbearably slow.

QScrollBar is much better at scrolling than us, so let it handle it.

REVIEW: 128432
BUG: 357618
2016-07-16 19:01:53 +02:00
Martin T. H. Sandsmark f688bcd1f1 Fix scrolling on hidpi screens
Scrolling with libinput was unbearably slow.

QScrollBar is much better at scrolling than us, so let it handle it.

REVIEW: 128432
BUG: 357618
2016-07-16 18:47:02 +02:00
Christoph Feck 4fad4405a7 Give FileMetaDataConfigurationDialog a parent
REVIEW: 128439
2016-07-14 17:19:21 +02:00
Kai Uwe Broulik c2c075011c Merge branch 'Applications/16.04' 2016-07-01 11:37:01 +02:00
Kai Uwe Broulik 6bda60f1dd [DBusInterface] Use %U instead of %u to indicate multiple URLs are supported
Otherwise KRun opens a separate instance for every URL passed although Dolphin
already has logic to open different folders in tabs if neccessary.

REVIEW: 128306
2016-07-01 11:36:10 +02:00