1
0
mirror of https://invent.kde.org/system/dolphin synced 2024-07-02 16:31:23 +00:00
Commit Graph

202 Commits

Author SHA1 Message Date
Alexander Lohnau
432c776599 Build without KDE & Qt derecations 2021-12-13 08:35:26 +00:00
Eugene Popov
2ef87708fd [Location Bar] Add the ability to show hidden folders in the subdirectories popup 2021-12-02 09:03:47 +00:00
Heiko Becker
aa9a80fba2 GIT_SILENT Upgrade release service version to 22.03.70. 2021-11-08 20:35:47 +01:00
Nate Graham
27bfcde4ef Port to KTerminalLauncherJob
Dolphin still uses KToolInvocation::invokeTerminal() which is
deprecated and requires KInit. However Dolphin was ported away from
requiring it in other ways, so it is now possible to have Dolphin
running but not KInit, which breaks the "Open in Terminal"
functionality.

Using KTerminalLauncherJob fixes this. It was introduced in Frameworks
5.83, so the CMake dependency version is accordingly increased.

BUG: 441072
FIXED-IN: 21.12
2021-08-31 09:12:16 -06:00
Ahmad Samir
0b81b4baf9 Use KDirLister directly now that it emits a jobError() signal
Since KIO 5.82, KCoreDirLister (the base class of KDirLister) emits a jobError()
signal when the ListJob used internally emits an error.

Drop KFileItemModelDirLister class, now redundant.

This also bump the KF version to 5.82.
2021-07-19 09:57:58 +00:00
Albert Astals Cid
d284e22f87 GIT_SILENT Upgrade release service version to 21.11.70. 2021-07-10 19:59:01 +02:00
Alex Richardson
997977c67a Make the KDocTools dependency optional
I am cross-compiling dolphin and haven't build KDocTools. Since it's only
needed for the handbook we can make the dependency optional.
2021-07-09 09:19:05 +01:00
Ömer Fadıl Usta
216068bd7c Update CMake , Qt 2021-06-25 15:57:07 +00:00
Felix Ernst
a4be53fb99 Replace custom hamburger/control menu with KHamburgerMenu 2021-04-29 13:22:10 +00:00
Christophe Giboudeaux
b0c30bea13 Remove the KInit dependency
Amends 9e8e58147
2021-03-30 09:13:14 +02:00
Albert Astals Cid
b7440b946b GIT_SILENT Upgrade release service version to 21.07.70. 2021-03-13 22:00:57 +01:00
Nicolas Fella
7dc863add7 Require C++17
Not only does C++17 bring many nice things, it also will be required
with Qt6.

Many KDE projects already require 17 without issues.
2021-02-09 20:34:23 +00:00
Laurent Montel
8236e95c76 Autogenerate categories file 2021-01-23 09:23:41 +01:00
Alexander Lohnau
48fec6c9ec Add 'Open Terminal Here' action from dolphin to menu 2020-11-21 20:22:16 +00:00
Henri Chain
e36de310cb D-Bus activation systemd service
Correctly scopes dolphin in systemd service `app-org.kde.dolphin.service` when dbus-activated (while still working if systemd is not present), as per https://systemd.io/DESKTOP_ENVIRONMENTS/

uses new ECM modules:
- https://invent.kde.org/frameworks/extra-cmake-modules/-/merge_requests/5 to simplify the systemd service templating + install
- https://invent.kde.org/frameworks/extra-cmake-modules/-/merge_requests/17 to generate the dbus service file automatically

needs https://invent.kde.org/frameworks/extra-cmake-modules/-/merge_requests/25
2020-11-19 10:40:56 +01:00
Albert Astals Cid
dd9e25cde5 GIT_SILENT Upgrade release service version to 21.03.70. 2020-11-08 18:33:53 +01:00
Elvis Angelaccio
465e06138e Add support for KUserFeedback
This commit introduces KUserFeedback in dolphin with some basic data
sources and with a settings page to configure the telemetry values.

There are also a couple custom data sources as proof of concept: a bunch
of settings and the count of available network shares as listed by Solid.

The settings page is shown only if the user feedback framework is
enabled, but currently in Plasma we don't have a global kill switch to
disable it.

At the moment we never show an encouragement message. We need to connect
to the `Provider::showEncouragementMessage()` signal, but first we
should agree to a common way to show a non-annoying message to the users.
2020-11-05 18:31:28 +00:00
Elvis Angelaccio
957cc92f46 Revert "D-Bus activation systemd service"
This reverts commit eb441b1188.

We'll push it again after we branch 20.12. We don't want to push a too
recent version of KF5 on distros.

!27
2020-11-04 01:12:48 +01:00
Henri Chain
eb441b1188 D-Bus activation systemd service
Correctly scopes dolphin in systemd service `app-org.kde.dolphin.service` when dbus-activated (while still working if systemd is not present), as per https://systemd.io/DESKTOP_ENVIRONMENTS/

uses new ECM modules:
- https://invent.kde.org/frameworks/extra-cmake-modules/-/merge_requests/5 to simplify the systemd service templating + install
- https://invent.kde.org/frameworks/extra-cmake-modules/-/merge_requests/17 to generate the dbus service file automatically

needs https://invent.kde.org/frameworks/extra-cmake-modules/-/merge_requests/25
2020-10-21 10:20:56 +00:00
Elvis Angelaccio
3bf2922e33 Port away from QList::toSet()
The QSet range constructor requires Qt 5.14.

In `DolphinView::slotHeaderContextMenuRequested()` the conversion from
QList to QSet was pointless, so we just use a QList now.
2020-10-15 01:22:00 +02:00
Ahmad Samir
9b83378c08 Check protocol Class before creating a StatJob
StatJob::mostLocalUrl only works with ":local" protocols, adjust the code
accordingly.

Make the code async.

Remove activeContainerLocalPath() method as it isn't needed anymore.

Drive-by change: minimum required version of Qt should be 5.12 because
that's what KF >= 5.73 already requires.
2020-09-20 21:29:23 +00:00
Ahmad Samir
257eeebf4b Port KRun to OpenUrlJob
In DolphinMainWindow, since KRun allows running executables by default, use
setRunExecutables(true) so as not to change the behaviour.

Remove the now redundant slotHandleUrlStatFinished, that whole StatJob
logic is now handled by OpenUrlJob.

Bump KF required version to 5.73, since that's where
OpenUrlJob::setShowOpenOrExecuteDialog was introduced.
2020-08-18 08:43:58 +00:00
Albert Astals Cid
2463a35f3e GIT_SILENT Upgrade release service version to 20.11.70. 2020-07-11 12:20:59 +02:00
Méven Car
c81927651a Places: Use Solid::Device::DisplayName for DisplayRole
Summary:
BUG: 415281
FIXED-IN: 20.08
Counter-part of D26113

Test Plan:
Before:
{F8215025}
After:
{F8215027}

Reviewers: ngraham, #dolphin

Reviewed By: ngraham, #dolphin

Subscribers: broulik, kfm-devel

Tags: #dolphin

Differential Revision: https://phabricator.kde.org/D26114
2020-06-16 19:37:18 +02:00
Alexander Lohnau
3e1cb2c7fb Dolphin: Implement package kit for deb/rpm/pacman service packages
Summary: The deb/rpm/pacman packages are now installed/uninstalled using packagekit.

Test Plan: Try to install deb package from kde store (search for `jetbrains`). Then uninstall it.

Reviewers: #dolphin, ngraham, elvisangelaccio, meven

Reviewed By: #dolphin, ngraham, elvisangelaccio, meven

Subscribers: cblack, anthonyfieroni, asturmlechner, meven, kfm-devel

Tags: #dolphin

Differential Revision: https://phabricator.kde.org/D29119
2020-05-05 17:26:13 +02:00
Méven Car
ac234a9c55 Allow to display UDS_RECURSIVE_SIZE in status bar
Summary: Useful for trash:/ in particular

Test Plan: {F8233980}

Reviewers: #dolphin, dfaure, elvisangelaccio, ngraham

Reviewed By: #dolphin, ngraham

Subscribers: kfm-devel

Tags: #dolphin

Differential Revision: https://phabricator.kde.org/D28794
2020-04-14 07:42:39 +02:00
Elvis Angelaccio
924499a279 Bump minimum required KF5 version
Needed after 885916b7b4.
2020-04-05 20:17:36 +02:00
Albert Astals Cid
9c3f9c4846 GIT_SILENT Upgrade release service version to 20.07.70. 2020-03-15 19:32:46 +01:00
Nate Graham
09e215be46 "Use newly-upstreamed rename dialog from KIO""
This reverts commit 41105103b0.

KIO's version was just bumped to 5.67, so this can land now without
breaking the CI.
2020-01-11 13:21:52 -07:00
Nate Graham
41105103b0 Revert "Use newly-upstreamed rename dialog from KIO"
This reverts commit bae6620f22.

Frameworks 5.67 doesn't exist yet; this needs to wait another month.
2020-01-06 14:34:36 -07:00
Nate Graham
bae6620f22 Use newly-upstreamed rename dialog from KIO
Summary:
With the rename dialog upstreamed in D17595, we can use it from there.

This will require the KF5 dep to be bumped to 5.67, which should be feasible given that we're at the very beginning of a new Applications cycle.

Depends on D17595

Test Plan:
1. Dolphin Settings > uncheck "rename inline"
2. Rename one or more files. Observe that it still works

Tests still pass.

Reviewers: #dolphin, elvisangelaccio, meven

Reviewed By: elvisangelaccio, meven

Subscribers: meven, broulik, kfm-devel

Tags: #dolphin

Differential Revision: https://phabricator.kde.org/D17597
2020-01-06 14:25:44 -07:00
Elvis Angelaccio
61edac1842 Use non-deprecated install dir variables from ECM 2019-12-24 19:30:44 +01:00
Jonathan Riddell
7bf48cbb4d Change KDE_APPLICATIONS_VERSION to RELEASE_SERVICE_VERSION https://phabricator.kde.org/T11933
GIT_SILENT
2019-12-10 16:39:11 +00:00
Yuri Chornoivan
808339bff6 Use URLs with transport encryption 2019-11-16 18:53:28 +02:00
Méven Car
89a7b316d1 [Information Panel] Allows to refresh icon and metadata for urls such as trash:/
Summary: CCBUG: 392882

Test Plan:
1. Create a file
2. Remove it, so that it goes to the trash
3. Open trash
4. Empty trash

Before:
Information panel icon is still user-trash-full

After:
Information panel icon is changed to user-trash

Reviewers: ngraham, #dolphin, elvisangelaccio

Reviewed By: ngraham, #dolphin, elvisangelaccio

Subscribers: kfm-devel

Tags: #dolphin

Differential Revision: https://phabricator.kde.org/D23668
2019-11-12 08:20:58 +01:00
Albert Astals Cid
ce081212eb GIT_SILENT Upgrade KDE Applications version to 20.03.70. 2019-11-10 01:12:45 +01:00
David Hallas
c3b914a7fa Unmounting busy device doesn't tell who is blocking
Summary: Unmounting a busy device from the places panel doesn't tell which applications have open files blocking the unmount.

Test Plan:
Mount a USB stick using Dolphin
Open a file from the USB stick
Unmount the USB stick using Dolphin
Observe the new error message.

FEATURE: 189302

Reviewers: #dolphin, elvisangelaccio, ngraham, broulik, meven

Reviewed By: #dolphin, elvisangelaccio, meven

Subscribers: meven, davidedmundson, kfm-devel

Tags: #dolphin

Differential Revision: https://phabricator.kde.org/D19989
2019-10-27 06:52:25 +01:00
Laurent Montel
96e84bef52 We depend against 5.61 2019-09-20 06:51:17 +02:00
Laurent Montel
abbb98f57b We depend against 5.61 which depends against qt 5.11 2019-09-14 09:41:37 +02:00
Simon Krull
9cd042a86c Change default Dolphin toolbar layout
Summary:
{F7205836}

Use a default toolbar layout that looks better and makes more sense for new users.

Test Plan: Open Dolphin (with the default toolbar)

Reviewers: #dolphin, #vdg, ngraham, GB_2, elvisangelaccio

Reviewed By: #dolphin, #vdg, ngraham, GB_2

Subscribers: iasensio, filipf, meven, elvisangelaccio, felixernst, GB_2, ndavis, ngraham, kfm-devel, #vdg, #dolphin

Tags: #dolphin, #vdg

Differential Revision: https://phabricator.kde.org/D23075
2019-08-25 09:35:00 -06:00
Wolfgang Bauer
e39b7e8f5a Merge branch 'Applications/19.08' 2019-08-07 18:11:51 +02:00
Wolfgang Bauer
68aee5ed51 Fix build with cmake < 3.7
`VERSION_GREATER_EQUAL` was introduced in cmake 3.7, but the specified
minimum version is 3.0.
So use `NOT VERSION_LESS` instead to still support older cmake versions
too.

Differential Revision: https://phabricator.kde.org/D22984
2019-08-07 18:08:57 +02:00
Christoph Feck
813e8866b7 GIT_SILENT Upgrade KDE Applications version to 19.07.90. 2019-07-29 15:44:58 +02:00
Albert Astals Cid
981e96efe6 GIT_SILENT Upgrade KDE Applications version to 19.11.70. 2019-07-15 21:39:44 +02:00
Albert Astals Cid
c951c63e14 GIT_SILENT Upgrade KDE Applications version to 19.07.80. 2019-07-15 21:17:55 +02:00
Yuri Chornoivan
cd2078cef4 Add docs about the new 'Open new folders in tabs' option 2019-06-26 10:48:17 +03:00
Elvis Angelaccio
ff81ed60cf Fix ECM version comparison
CCMAIL: montel@kde.org
2019-06-16 12:02:42 +02:00
Laurent Montel
c337bfeeea Install in new logging directory when we use kf5 5.59.0 2019-06-13 07:07:35 +02:00
Alexander Saoutkin
27e3907a3d Open externally called files/directories in new tabs
Summary:
FEATURE: 183429
FIXED-IN: 19.08.0
GUI: new cli argument --new-window

Externally called files/directories are opened in a a new tab of an instance of Dolphin that already exists. If any of the given URIs are already open in a tab, then those tabs are activated instead of a new tab being opened.  If there is no instance then the files/directories are opened in a new window. The newly opened file/directory has its tab activated, and consequently, the window is also activated.

When the user clicks "Open In New Window" or "Detach Tab", the files/directories are opened in a new window.

Test Plan:
[Manual]
Before testing, set the default file manager in system settings as the newly built Dolphin executable.
One must also include the new dolphin executable in the $PATH, otherwise some functions will attempt to open the system dolphin instead of the new one.

Furthermore, running two different versions of Dolphin (in particular, where one does not have this patch included) can result in bugs appearing, in particular, new tabs not opening as old instances will not recognise the DBus commands sent to it. However, I see no reason why a user will have two different versions of Dolphin (apart from people like us :D).

Open directories with the help of auxillary programs (i.e. a browser). The files/directories should appear in a new window if an instance does not exist. If an existence already exists, then a new tab should be opened and activated in that instance and the window activated.
Use QDBusViewer to open folders/items by calling the ShowFolders/ShowItems methods in org.freedesktop.FileManager1 of the Dolphin instance.
When a user chooses to "Open In New Window"/"Detach Tab" then the files/directories should be opened in a new window.

Reviewers: #dolphin, elvisangelaccio

Subscribers: zzag, dfaure, fvogt, fikrim, magar, fbg13, davidedmundson, kwin, ngraham, elvisangelaccio, anthonyfieroni, kfm-devel

Tags: #dolphin

Differential Revision: https://phabricator.kde.org/D16648
2019-05-30 22:40:08 +02:00
Alexander Stippich
36b61838a2 handle maps with multiple or single entries from Baloo
Summary:
Handle maps which may contain multiple entries with the same key.
Bumps frameworks to 5.58. Equivalent to D20739.

Reviewers: #dolphin, elvisangelaccio, bruns

Reviewed By: #dolphin, elvisangelaccio, bruns

Subscribers: kfm-devel

Tags: #dolphin

Differential Revision: https://phabricator.kde.org/D21157
2019-05-30 11:18:41 +02:00
Stefan Brüns
ecf1ae6d0b [InformationPanel] Use the new inline configuration mode
Summary:
The current external configuration dialog has some issues:

- its layout is suboptimal, as its initial size is typically to small
- it is quite disassociated with the actual widget it configures, properties
  have a different order, and the property names can be quite abstract
  without the corresponding value.

Doing the visibility selection inline typically avoids the sizing problem,
as the containing application (dolphin) is often vertically maximized.
The selection becomes more obvious, as the item order is kept,
and the values are shown.

Depends on D20524

CCBUG: 389571

Reviewers: #dolphin, #baloo, #frameworks, ngraham, astippich, #vdg, elvisangelaccio

Reviewed By: #dolphin, elvisangelaccio

Subscribers: elvisangelaccio, meven, kfm-devel

Tags: #dolphin

Differential Revision: https://phabricator.kde.org/D20525
2019-04-23 12:36:14 +02:00
Nate Graham
3dec3ee092 Merge branch 'Applications/19.04' 2019-03-24 11:31:44 -06:00
Elvis Angelaccio
3fe6547197 Revert "Create a global launch shortcut (Meta+E)"
This reverts commit 58084cf7da.

Plasma considers khotkeys deprecated, so we shouldn't add new users
making the migration even harder.
Dolphin should use the `X-KDE-Shortcuts` desktop entry instead.

More details in David's comment: https://phabricator.kde.org/D19831#437096
2019-03-24 12:07:24 +01:00
Christoph Feck
b2b1f76031 Merge remote-tracking branch 'origin/Applications/19.04' 2019-03-18 23:00:25 +01:00
Elvis Angelaccio
5b463d82fe Bring back KActivities support
Summary: This code has been unused since the KF5 port.

Reviewers: #dolphin, #plasma

Subscribers: kfm-devel

Tags: #dolphin

Differential Revision: https://phabricator.kde.org/D18273
2019-03-18 21:18:04 +01:00
Nate Graham
363fd1afa9 Merge branch 'Applications/19.04' 2019-03-17 16:12:38 -06:00
Nate Graham
58084cf7da Create a global launch shortcut (Meta+E)
Summary:
This patch adds a global shortcut ({key Meta E}) to launch Dolphin, just like Konsole has.

FEATURE: 405302
FIXED-IN: 19.04.0

Test Plan:
1. Apply patch and reboot, or create and log into a new user
2. Hit {key Meta E}
3. Dolphin opens!

Reviewers: #dolphin, #vdg, elvisangelaccio

Reviewed By: #dolphin, elvisangelaccio

Subscribers: hallas, elvisangelaccio, kfm-devel

Tags: #dolphin

Differential Revision: https://phabricator.kde.org/D19831
2019-03-17 16:12:18 -06:00
Albert Astals Cid
21b140943d GIT_SILENT Upgrade KDE Applications version to 19.07.70. 2019-03-16 22:11:47 +01:00
Albert Astals Cid
13ae434646 GIT_SILENT Upgrade KDE Applications version to 19.03.80. 2019-03-16 21:54:08 +01:00
Alexander Stippich
7a57be9812 Use new display string function from KFileMetaData
Summary:
Delete all the custom formatting functions
and use the ones provided from KFileMetaData.

Reviewers: #dolphin, elvisangelaccio

Reviewed By: #dolphin, elvisangelaccio

Subscribers: bcooksley, elvisangelaccio, kfm-devel

Tags: #dolphin

Differential Revision: https://phabricator.kde.org/D19105
2019-03-01 12:02:03 +01:00
Elvis Angelaccio
8bc93b564c Introduce HAVE_TERMINAL
Source code should check for features detected during configure-time,
rather than checking for a specific OS.

See also commit 87e8d0ba5f.
2019-01-28 22:38:21 +01:00
Elvis Angelaccio
d23b842a14 Fix required version for baloo and kfilemetadata 2019-01-15 18:53:45 +01:00
Elvis Angelaccio
0634e68336 Use stable version as required version for baloo-widgets 2019-01-15 18:52:02 +01:00
Elvis Angelaccio
b5df5f4d95 [PlacesPanel] Port to KFilePlaceEditDialog
Summary:
This patch ports away from the old PlacesItemEditDialog copy,
which doesn't honour the "applicationLocal" checkbox.

KFilePlaceEditDialog was not exported by KIO, but it will be starting
from 5.53

BUG: 376619
FIXED-IN: 19.03.80

Test Plan:
* Create a new place ("Add Entry" from the panel context menu) and check the "only show in dolphin" checkbox
* Edit an existing (global) place and check the "only show in dolphin" checkbox

Reviewers: #dolphin

Subscribers: kfm-devel

Tags: #dolphin

Differential Revision: https://phabricator.kde.org/D16824
2018-11-24 12:18:01 +01:00
Albert Astals Cid
27179cd275 GIT_SILENT Upgrade KDE Applications version to 19.03.70. 2018-11-10 08:37:42 +01:00
Albert Astals Cid
cbf1b5bc0c GIT_SILENT Upgrade KDE Applications version to 18.03.70. 2018-11-09 23:35:44 +01:00
Laurent Montel
7c9db51c1d Autogenerate debug file + install debug categories file 2018-11-02 13:23:10 +01:00
Elvis Angelaccio
6674c9c387 Port away from kdelibs4support
Summary:
It was only used as fallback when baloo was not found, but
`KFileMetaDataWidget` is useless without nepomuk.

The result of this patch is that the information panel and the tooltips
won't be available from platforms without baloo (instead of being
available but broken). The baloo dependency remains optional.

Closes T8720

Test Plan:
Build dolphin with `cmake -DCMAKE_DISABLE_FIND_PACKAGE_KF5Baloo=ON ..` and
make sure it doesn't show tooltips or the information panel.

Reviewers: #dolphin, broulik, ngraham

Subscribers: kfm-devel

Tags: #dolphin

Maniphest Tasks: T8720

Differential Revision: https://phabricator.kde.org/D14814
2018-08-21 01:03:33 +02:00
Albert Astals Cid
6072f3a683 GIT_SILENT Upgrade KDE Applications version to 18.11.70. 2018-07-16 19:59:42 +02:00
Friedrich W. H. Kossebau
cd4f42b33a Remove QT definitions duplicated from KDEFrameworkCompilerSettings or dead 2018-06-29 18:42:00 +02:00
Elvis Angelaccio
7a5dbbc6c5 cmake: add warning when baloo will be disabled
Summary:
KFileMetaDataWidget is useless without nepomuk (which no one ships
anymore). Let's add at least a warning until we will get rid of
kdelibs4support (see T8720).

Test Plan: Uninstall baloo-widgets, build dolphin and check the cmake output.

Subscribers: kfm-devel

Tags: #dolphin

Differential Revision: https://phabricator.kde.org/D13005
2018-05-20 18:54:53 +02:00
Nathaniel Graham
9a3d4a29ba Revert "Reverting Baloo-widgets version change in cmakelists, since this breaks the information panel"
Sorry, this was actually correct, and the rest of us were using old baloo-widgets.

Anyone experiencing issues with Information Panel content in Dolphin master should
Compile and deploy baloo-widgets from git master too.

CCMAIL: elvis.angelaccio@kde.org
CCMAIL: kde@privat.broulik.de

This reverts commit 58edb20a99.
2018-05-17 16:32:58 -06:00
Nathaniel Graham
58edb20a99 Reverting Baloo-widgets version change in cmakelists, since this breaks the information panel
Let's find another way to do this.

CCMAIL: elvis.angelaccio@kde.org
CCMAIL: kde@privat.broulik.de
2018-05-17 08:32:20 -06:00
Elvis Angelaccio
2912894d4f Fix broken build without baloo-widgets master
D11245 introduced a dependency on baloo-widgets master, but
baloo-widgets is only an optional dependency.
2018-05-12 20:54:01 +02:00
Albert Astals Cid
ffec5f17d3 GIT_SILENT Upgrade KDE Applications version to 18.07.70. 2018-03-19 23:50:00 +01:00
Elvis Angelaccio
b46d57d5fb Align minimum ECM and KF5 versions
It doesn't make sense to require 1.6.0 which is years old.
2018-03-11 17:09:11 +01:00
Roman Inflianskas
0c9343d614 Fix some compile warnings
Reviewers: markg, elvisangelaccio

Reviewed By: markg, elvisangelaccio

Subscribers: chehrlic, rkflx, elvisangelaccio, #dolphin

Differential Revision: https://phabricator.kde.org/D10995
2018-03-10 18:07:47 +03:00
Elvis Angelaccio
add821885d Bump minimum KF5 version
This should have been part of D9333.
2018-01-27 11:24:10 +01:00
Albert Astals Cid
7a4d1e6199 Needs kio >= 5.42
At least since 5f1df43b87
2018-01-10 22:26:39 +01:00
Renato Araujo Oliveira Filho
da6f8fe086 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
2017-12-14 09:40:34 -03:00
Heiko Becker
2e6450da1c Merge remote-tracking branch 'origin/Applications/17.12' 2017-12-02 11:00:04 +01:00
Heiko Becker
cd90c04343 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
2017-12-01 19:27:57 +01:00
Christoph Feck
99883ca8de GIT_SILENT Upgrade KDE Applications version to 17.11.90. 2017-11-30 22:16:12 +01:00
Nathaniel Graham
bebcf035d2 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
2017-11-15 19:49:05 -07:00
Albert Astals Cid
a1108e8400 GIT_SILENT Upgrade KDE Applications version to 18.03.70. 2017-11-13 08:59:39 +01:00
Albert Astals Cid
eab64f9732 GIT_SILENT Upgrade KDE Applications version to 17.11.80. 2017-11-13 01:03:00 +01:00
Gregor Mi
3749b55527
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
2017-09-21 15:41:26 +02:00
Elvis Angelaccio
735b171451 Set version in project()
As discussed on release-team [1], this will enable automatically setting
product versions on bugzilla [2].

[1]: https://mail.kde.org/pipermail/release-team/2017-July/010474.html
[2]: https://community.kde.org/Guidelines_and_HOWTOs/Application_Versioning#Bugzilla_versions
2017-09-03 11:18:04 +02:00
Albert Astals Cid
ea142de633 GIT_SILENT Upgrade KDE Applications version to 17.11.70. 2017-07-17 20:28:07 +02:00
Albert Astals Cid
287e61b480 GIT_SILENT Upgrade KDE Applications version to 17.07.70. 2017-03-20 23:16:43 +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
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
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
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
b7edab2244 GIT_SILENT Upgrade KDE Applications version to 16.11.70. 2016-07-19 23:28:02 +02:00
Kai Uwe Broulik
c2c075011c Merge branch 'Applications/16.04' 2016-07-01 11:37:01 +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
Albert Astals Cid
98d77cb96a GIT_SILENT Upgrade KDE Applications version to 16.04.2. 2016-06-07 14:03:39 +02:00
David Edmundson
b7ad5fb99d Merge branch 'Applications/16.04' 2016-05-18 10:13:16 +01:00
Albert Astals Cid
d0777bc791 GIT_SILENT Upgrade KDE Applications version to 16.04.1. 2016-04-27 20:55:15 +02:00