Commit graph

5080 commits

Author SHA1 Message Date
Yuri Chornoivan 172d554059 Remove extra dot 2016-12-05 07:33:58 +02:00
Burkhard Lück 4d83ed9c77 single/double click setting is in mouse kcm, not in dolphin seetings in navigation page 2016-12-04 13:05:42 +01:00
Elvis Angelaccio abb7799f7e Fix viewpropertiestest when GlobalViewProps is true
The test was not saving its changes to the global settings, so it was
passing on the CI only because the default value of GlobalViewProps is
already false. If GlobalViewProps was set to true instead, testAutoSave()
would fail because save() was not called and GlobalViewProps was not
2016-12-03 18:04:24 +01:00
Spencer Brown 73a6bf4e10 Fix 5 clazy warnings
This bumps the minimum Qt version to 5.5 (because of Q_ENUM usage).

REVIEW: 129604
2016-12-03 15:58:39 +01:00
R.J.V. Bertin b6e76f006d Add application icon for Mac and MS Windows.
Uses the Oxygen theme because it fits in better with prevailent icons
on those platforms.
2016-11-22 18:15:42 +01:00
R.J.V. Bertin ded92cc32a Use the current window icon in QIcon::fromTheme()
This prevents removing the application icon when icon lookup fails, on
Mac or MS Windows.
2016-11-22 17:55:34 +01:00
Don Nguyen 88805f7fad Call columnWidthChanged with actual previous width
REVIEW: 129334
2016-11-21 17:41:01 +01:00
Elvis Angelaccio 4322ef4114 Merge branch 'Applications/16.12'
* Applications/16.12:
  Fix slow scrolling in dock panels
2016-11-20 13:04:47 +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 341a09fafd GIT_SILENT Upgrade KDE Applications version to 17.03.70. 2016-11-16 00:14:47 +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
l10n daemon script f92da4f341 SVN_SILENT made messages (after extraction) 2016-06-28 08:18:56 +00: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
Elvis Angelaccio 6bb62f17b5 Look for kfileitemaction plugins in the expected subfolder
For a rationale, see https://git.reviewboard.kde.org/r/128225/
2016-06-18 17:47:07 +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