Commit graph

6998 commits

Author SHA1 Message Date
Alexander Lohnau
a8ac157bdc Port away from deprecated KDesktopFileActions::userDefinedServices overload 2021-12-01 22:10:58 +00:00
Alexander Lohnau
82202a24e2 Port away from deprecated KPluginLoader 2021-12-01 22:10:58 +00:00
Alexander Lohnau
6228921f10 Load trash KCM using KPluginMetaData
The QString overload uses KServiceTypeTrader, which is deprecated
2021-12-01 22:10:58 +00:00
Nate Graham
36c9b52db4 Use standard Keywords= instead of X-KDE-Keywords=
There's nothing KDE-specific about these keywords.
2021-12-01 09:49:25 -07:00
Felipe Kinoshita
416b164ce0
Add some keywords to desktop file 2021-11-30 16:24:09 -03:00
Nate Graham
82b542cb2b Merge branch 'release/21.12' 2021-11-29 10:25:06 -07:00
Nate Graham
4b530c91c1 Use new "edit-copy-path" icon for "Copy Location" menu item
This is safe to change without a fallback icon explicitly specified
because if it doesn't exist in the active icon theme, it will fall back
to edit-copy which is a standard FreeDesktop icon name present in
every icon theme ever.

CCBUG: 423937
2021-11-29 10:23:06 -07:00
Kai Uwe Broulik
04e3c227cb Merge branch 'release/21.12' 2021-11-29 13:31:46 +01:00
Kai Uwe Broulik
ec8f757f9c [Status Bar] Don't mess with status bar visibility in extensions
"Extensions" is additions to the status bar like free space bar
and zoom slider which should hide while loading.

The status bar itself should only show/hide based on the global setting.

BUG: 443132
2021-11-29 11:34:22 +01:00
Eduardo Cruz
3d49996615 Properly display parent folders when filtering is active and items are added or refreshed
The methods slotRefreshItems(), slotItemsAdded() and slotItemsDeleted()
are adapted so they are now compatible with the new behavior of
filtering expanded folders achieved in
ed83f37f06. The new behavior is that
expanded folders are hidden from view if neither the folder itself
nor any of its contents passes the filter. Previously expanded folders
would always stay visible no matter the filter.

A bug where the parent expanded folder would disappear after adding
or refreshing an item while filtering is also fixed.

Tests are added to make sure these behavior changes won't regress.

BUG: 442275
FIXED-IN: 22.04
2021-11-28 13:24:32 +00:00
Fushan Wen
4585f215a9 Move "Default" option to the front in "Select Remote Charset" menu
The ordering of encodings is different from other KDE apps in
"Select Remote Charset" menu. We should keep the UI consistency.

BUG: 445148
2021-11-27 17:51:14 +08:00
Kai Uwe Broulik
cdb4a7909d KFileItemModelRolesUpdater: Generate thumbnails for visible files first
Folder thumbnails are not cached as we cannot know whether something
inside a folder changed. Moreover, they are also a collage of several
files and might even traverse into subdirectories. This takes time.
2021-11-23 16:52:59 +01:00
Heiko Becker
077fdfc074 GIT_SILENT Upgrade release service version to 21.11.90. 2021-11-22 23:38:07 +01:00
Ben Cooksley
caa639fb44 Baloo widgets lives in the same module, use the correct definition to grab it 2021-11-21 16:06:32 +13:00
Eugene Popov
1657216474 Fix updating window and tab titles
This MR fixes an issue where the window and tab titles don't properly handle creating/deleting/renaming items in the places bar, as well as switching to the Search mode.
2021-11-13 18:20:59 +02:00
Andreas Kainz
5bb6bf8d1e Dolphin preferences dialog use now for everything colorfull icons 2021-11-13 10:44:21 +01:00
Heiko Becker
aa9a80fba2 GIT_SILENT Upgrade release service version to 22.03.70. 2021-11-08 20:35:47 +01:00
Heiko Becker
4b4f988078 GIT_SILENT Upgrade release service version to 21.11.80. 2021-11-08 19:58:23 +01:00
Felix Ernst
81c32c18a5 Port ViewModeSettings from macros to std::variant
Macros should be avoided if possible. Instead this commit replaces
the usage of macros with an std::variant of the ViewModeSettings.

As part of this cleanup, code that belongs to the VideModeSettings
class is moved there. Some parameters are also renamed to be more
in line with typical naming conventions.
2021-11-03 16:02:46 +00:00
Laurent Montel
1118413c63 Remove duplicate include from .h/.cpp 2021-11-02 13:20:10 +01:00
Heiko Becker
cf80ab492d GIT_SILENT Update Appstream for new release
(cherry picked from commit 3973e37b46)
2021-10-31 11:13:55 +01:00
David Murray
769d147026 Add support for recentlyused: kio to view properties.
Add "recentlyused" to the URL schemes recognised by ViewProperties as
needing special handling.  User-set view properties for the
recentlyused: kio are then saved under view_properties/recentlyused in
dolphin's app data directory.

(Previously, the recentlyused: kio was treated, by default, as if it was
a remote location for the purposes of view properties.  Since it
displays somewhat specialised results (files/directories from various
locations), users might find it useful to set particular view properties
and have them remembered.)
2021-10-30 16:39:06 +01:00
l10n daemon script
c1200b3ddb GIT_SILENT made messages (after extraction) 2021-10-27 00:22:51 +00:00
Laurent Montel
3f76d92402 GIT_SILENT: add missing override keyword 2021-10-25 13:34:22 +02:00
Alexander Lohnau
b497dc9cbd Save size of config dialog in state config
CCBUG: 397602
2021-10-20 16:07:11 +00:00
Alexander Lohnau
946b911a5d Utilize KXMLGUI API to store state config in separate file
CCBUG: 397602
2021-10-20 16:07:11 +00:00
Blaster goo
73082d2e42 Currently, when changing Version Control settings in Configure -> Context Menu, it
tells you to restart to apply those settings. This commit changes that by asking you
if you would like to restart now or later.

FEATURE: 441192
FIXED-IN: 21.12
2021-10-11 17:41:42 +00:00
Alexander Lohnau
2f5e4cb029
Install KCMs in dolphin/kcms namespace
This will allow consumers to load the plugin from this namespace
without KServiceTypeTrader being involved.
2021-10-09 14:14:27 +02:00
l10n daemon script
1937681d50 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"
2021-10-09 01:19:17 +00:00
ivan tkachenko
ec031d0f7d
Fix typo: PascalCase in docs 2021-10-07 16:39:35 +03:00
Felipe Kinoshita
a5770d5246
Change settings window title to "Configure" for consistency sake
This commit makes Dolphin's settings window more consistent with
other KDE apps.
2021-10-06 15:30:42 -03:00
Heiko Becker
8f0f12309c GIT_SILENT Update Appstream for new release
(cherry picked from commit 89629bfcc6)
2021-10-05 00:11:03 +02:00
Eduardo Cruz
ed83f37f06 Rewrite filter algorithm to properly support filtering with expanded folders under Detail View mode.
BUG: 411878
CCBUG: 442275
FIXED-IN: 21.12
2021-10-04 07:13:54 +00:00
Nicolas Fella
6a697efb73 Add kde-ci file 2021-10-03 15:25:14 +02:00
Laurent Montel
6f78e9143f GIT_SILENT: remove .arcconfig 2021-10-02 09:48:36 +02:00
Nate Graham
0c44dfe2b1 Merge branch 'release/21.08' 2021-09-28 13:57:14 -06:00
Eugene Popov
fa8d9de4d8 Fix closing a secondary viewContainer on startup settings change
Apply split view settings only when changing the corresponding option.

BUG: 426221
FIXED-IN: 21.08.2
2021-09-28 19:39:52 +00:00
Nicolas Fella
8bf64cf8b1 Don't force icon for preferred search tool action if one is manually configured
The code reads the icon from the relevant application and uses that for the action

When the user has configured one manually in the toolbar settings that is overridden

To avoid this only change the icon if it is the default one (search)

BUG: 442815
(cherry picked from commit d3f427a6da)
2021-09-22 23:25:23 +02:00
Nicolas Fella
d3f427a6da Don't force icon for preferred search tool action if one is manually configured
The code reads the icon from the relevant application and uses that for the action

When the user has configured one manually in the toolbar settings that is overridden

To avoid this only change the icon if it is the default one (search)

BUG: 442815
2021-09-22 21:23:53 +00:00
l10n daemon script
f8c292c556 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"
2021-09-20 01:28:18 +00:00
l10n daemon script
084dbbe2f7 GIT_SILENT made messages (after extraction) 2021-09-20 00:22:38 +00:00
l10n daemon script
0ac967c021 GIT_SILENT made messages (after extraction) 2021-09-13 01:46:10 +00:00
l10n daemon script
caa4afc156 GIT_SILENT made messages (after extraction) 2021-09-13 00:20:54 +00:00
Nate Graham
de7c7ca274 Merge branch 'release/21.08' 2021-09-07 13:32:17 -06:00
Tyson Tan
9e4a2c93b3 Fixed a missing bracket. 2021-09-07 18:11:06 +00:00
Tyson Tan
d6ded8c28d Make "Empties Trash to create free space" translatable. 2021-09-05 14:17:30 +00: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
Méven Car
653d5714a7 Tabs: ensure to have folder icons for remote folders
KIO::iconForUrl relies on filename to find the icon for remote files.
Appending / at the end of the filename allows it to interpret it as
a folder.

This causes inconsistent tab icons.

To reproduce:

Open in a tab a url on a smb or sftp folder, i.e sftp:/my-server/photos

Before:
Icon is a cloud.

After:
Icon is a folder

Previously a folder icon could be presented if the tab was first opened
with a url with a trailing /
2021-08-30 14:58:08 +00:00
Eugene Popov
b712c9fc46 [Split view] Reset splitter position on double click
This commit makes Dolphin to reset the position of the Split View splitter
on double-click.

BUG: 206525
FIXED-IN: 21.12
2021-08-30 14:18:21 +00:00
Elvis Angelaccio
99cc976a85 Revert "Revert "Disable Hidden Files Last sort by default""
This reverts commit 272aa65bb5.
2021-08-29 19:52:58 +02:00