1
0
mirror of https://invent.kde.org/system/dolphin synced 2024-06-30 15:36:30 +00:00
Commit Graph

201 Commits

Author SHA1 Message Date
Schrijvers Luc
2638402bca Haiku build fixes
Co-authored-by: Gerasim Troeglazov <3dEyes@gmail.com>
2024-05-21 11:00:41 +00:00
Akseli Lahtinen
742566eb69 Check if namejob is already being run before opening new createDirectory dialog
This is a fix for a bug where in network views (or otherwise slow
systems), pressing `Ctrl+Shift+N` multiple times opens multiple popup
windows and thus causes a crash when any of the popups is interacted
with after closing the topmost one. The problem is not the crash with
popups themselves, but that we're opening multiple popups in the first
place.

In regular views this works fine, since the `nameJob` does not take
long time at all and only one popup opens, immediately blocking the
shortcut.

In network views, the `nameJob` seems to take a while to run, since it
is loading info from network. If user spams `Ctrl+Shift+N` shortcut in
frustration, it starts more `nameJob`s and eventually when those jobs
are done, it opens multiple popups.

This code checks that if we're already running a `namejob`, we're very
likely waiting for the `createDir` popup to appear, so we don't do
anything until there is no more `nameJob` running. 

I've tested that it works in both network and regular Dolphin views.

BUG:481401
2024-05-11 15:59:03 +00:00
Méven Car
683533fa35 Add two first appium tests that run on CI
Based upon @mart https://invent.kde.org/system/dolphin/-/merge_requests/492/diffs

Co-authored-by: Marco Martin <mart@kde.org>
2024-04-23 18:06:32 +00:00
Albert Astals Cid
dba927590a GIT_SILENT Upgrade release service version to 24.07.70. 2024-04-21 12:08:07 +02:00
Méven Car
5d738f51a6 Use craft to build for windows 2024-03-25 16:06:32 +00:00
Albert Astals Cid
d4d6f88344 GIT_SILENT Upgrade release service version to 24.04.70. 2024-01-11 21:13:22 +01:00
Albert Astals Cid
b625a44a69 GIT_SILENT Upgrade release service version to 24.01.90. 2024-01-09 00:22:40 +01:00
Albert Astals Cid
5fcc61184d GIT_SILENT Upgrade release service version to 24.01.85. 2023-12-18 22:52:30 +01:00
Antonio Rojas
9c313813f5 Fix building with activities after the kactivities -> plasma-activities rename 2023-11-30 08:59:04 +01:00
Albert Astals Cid
4b209a6080 GIT_SILENT Upgrade release service version to 24.01.80. 2023-11-25 00:27:30 +01:00
Jonathan Esk-Riddell
93237493e4 Port to KF6 rename of KUserFeedback 2023-11-23 17:56:58 +00:00
Antonio Rojas
afc47abcb8 Fix finding KActivities lib after its move to Plasma namespace 2023-11-17 19:20:38 +01:00
Nicolas Fella
2cd3d58eec Port away from KMoreTools
The idea behind KMoreTools was to point the user at external tools for a given job.

It provides a rather complex framework for that, including suggesting not-yet-installed tools.

The UX behind that isn't great though, which somewhat deep menu hierarchies and a somewhat arbitrary list of tools.

Most KDE apps have moved away from it, with only Dolphin remaining.

Instead provide direct integration with relevant KDE tools (Filelight, KDiskFree, KFind)
2023-11-08 13:36:51 +00:00
Laurent Montel
1cf56b2303 Master is qt6 only. Not necessary to use ${QT_MAJOR_VERSION} now.
Remove qt5 specific cmake code too
2023-11-08 09:20:24 +00:00
Albert Astals Cid
92cb7820d4 GIT_SILENT Upgrade release service version to 24.01.75. 2023-11-07 20:44:58 +01:00
Bart Ribbers
32a5f1c041 Fix musl build by using fts_* from external library
musl does not support fts. There is however a standalone package that
can be used, but it must be linked against. This commit adds a check
that makes sure to link to the external library if it is required.
2023-08-11 08:45:13 +00:00
Nicolas Fella
521f4937d5 Merge branch 'master' into kf6 2023-08-10 14:42:08 +02:00
Albert Astals Cid
842ac25d0d GIT_SILENT Upgrade release service version to 23.11.70. 2023-07-17 11:44:58 +02:00
Méven Car
0a581f97be Ensure good export of dolphinvcs headers 2023-05-09 09:24:19 +02:00
Méven Car
863ee3a87c Merge branch 'master' into kf6 2023-05-08 17:46:51 +02:00
Méven Car
047bf33d90 Improve kuserfeedback import 2023-05-08 16:23:15 +02:00
Méven Car
53d277a9bf Fix kuserfeedback version 2023-05-08 15:49:05 +02:00
Méven Car
ed93133538 Clean a debug message 2023-05-08 15:44:33 +02:00
Méven Car
76e3eab6ea
Port to Qt6 2023-05-07 18:32:17 +02:00
Albert Astals Cid
a5f1e53d08 GIT_SILENT Upgrade release service version to 23.07.70. 2023-03-10 21:19:43 +01:00
Alexander Lohnau
50c889e24c Use separate KMoreTools library 2023-03-04 23:49:48 +00:00
Dāvis Mosāns
c2ef0392e9 Remove deprecated KServiceTypeTrader 2023-03-04 23:49:48 +00:00
Dāvis Mosāns
6600dc9bdc Rename KF5 to KF6 2023-03-04 20:58:48 +00:00
Méven Car
1c98a50d83
Revert "Remove deprecated KServiceTypeTrader"
This reverts commit 648c2db6e4.
2023-02-14 17:03:33 +01:00
Dāvis Mosāns
648c2db6e4 Remove deprecated KServiceTypeTrader 2023-02-10 09:44:23 +00:00
Serg Podtynnyi
38c34eeca3 Add clang-format and format code as in Frameworks 2023-02-05 12:45:38 +07:00
Nicolas Fella
7df627a7d6 Add missing KCodecs link 2023-01-15 01:38:10 +01:00
Nicolas Fella
6d21deb6e4 Properly use X11 startup ids
When one instance of Dolphin activates another it passes a startupId (X11) / activation token (wayland) along.

On X11 this is passed using the DESKTOP_STARTUP_ID environment variable. The code tries to read that through KStartupInfo::startupId().

That doesn't work though, since Qt at startup reads the environment variable afterwards. However, it is nice enough to allow us to access
it through QX11Info::nextStartupId(). Use that to read the token in the first instance and pass it to the second instance like we do on Wayland

The user-facing impact of this is minimal since KStartupInfo::setNewStartupId internally falls back to KWindowSystem::forceActiveWindow when no
startupId is passed.
2022-12-30 12:33:01 +00:00
ivan tkachenko
d55099ad47
Add zsh completions
Completes all non-generic-Qt options listed in --help output.

Note: it uses the new variable KDE_INSTALL_ZSHAUTOCOMPLETEDIR, which was
added in ECM 5.101.

Read more: https://invent.kde.org/frameworks/extra-cmake-modules/-/merge_requests/310
2022-12-12 21:19:42 +03:00
Albert Astals Cid
ba6acd88d0 GIT_SILENT Upgrade release service version to 23.03.70. 2022-11-05 21:25:49 +01:00
Laurent Montel
227ccfdd3d Sync QT_MIN_VERSION with KF's REQUIRED_QT_VERSION
In KF we already looking for 5.15.2
and looking something lower than that
is a bit meaningless
2022-08-01 19:18:23 +02:00
Albert Astals Cid
ecc5279f8d GIT_SILENT Upgrade release service version to 22.11.70. 2022-07-12 23:42:01 +02:00
Friedrich W. H. Kossebau
dc3d153bb6 Remove defunc & now deprecated SHOW_DEPRECATIONS flag
ecm_set_disabled_deprecation_versions() in versions < 5.96 was brokwn
when it comes to SHOW_DEPRECATIONS, warnings for newer deprecations
were disabled if the flag was set or not.
Starting with ECM 5.96 the macro now enables warnings by default,
so the flag is no longer needed.

GIT_SILENT
2022-06-28 23:25:10 +02:00
Méven Car
460bcd533a Bump KF5_MIN_VERSION after e9bd295b make 5.92 necessary 2022-06-12 07:23:37 -06:00
Albert Astals Cid
7fed7c9777 Add ki18n_install and kdoctools_install 2022-05-23 00:46:13 +02:00
Steffen Hartleib
f509d41baf Using the gesture recognizer from KWidgetsAddons
Using the gesture recognizer from KWidgetsAddons, so that the source code for the gestures is only in one place
2022-03-23 22:00:31 +00:00
Laurent Montel
c6bccbf6de Fix some compile error against qt6 2022-03-15 13:30:13 +01:00
Albert Astals Cid
db16b7d1cd GIT_SILENT Upgrade release service version to 22.07.70. 2022-03-12 12:57:14 +01:00
Laurent Montel
c21a02bcab Adapt build system for building against qt6 2022-01-14 08:04:01 +01:00
Alexander Lohnau
8bc7f72a73 Utilize ecm_set_deprecation_versions to exclude deprecated API 2022-01-14 07:13:20 +01:00
Kai Uwe Broulik
0603e18cd4 Port back to KFilePlacesView
This removes the custom-view engine version of the places panel
and replaces it with the upstream `KFilePlacesView` from KIO.
2022-01-09 18:09:10 +01:00
Claudio Cambra
3abc4cfcd4 Add Flatpak patches to Dolphin depending on CMake definition
When Dolphin gets packaged as a flatpak, this patch gets applied:

https://invent.kde.org/packaging/flatpak-kde-applications/-/blob/master/dolphinpatch.patch

That's not really an ideal solution, so this is probably a better idea -- to upstream the patches and apply them depending on a CMake definition
2022-01-04 21:53:44 +00:00
Nate Graham
28ecfd5a34 Improve sudo/kdesu error message
Now that you can get elevated privileges while using the app, we can
display a more useful and descriptive error message when people try to
run Dolphin using `sudo` or `kdesu`.

Also bump the frameworks dependency to 5.90 since that's the KIO
version that includes this change, so we can be sure that the message is
always accurate.
2021-12-31 10:38:19 -07:00
Friedrich W. H. Kossebau
ab5ed86896 Use KDECompilerSettings instead of KDEFrameworkCompilerSettings
The latter is only for KF modules to use.

Also include the KDE cmake modules as first thing, as their settings
can influence other included macros.

GIT_SILENT
2021-12-13 12:12:28 +01:00
Alexander Lohnau
432c776599 Build without KDE & Qt derecations 2021-12-13 08:35:26 +00:00