]> cloud.milkyroute.net Git - dolphin.git/log
dolphin.git
4 years agoProperly display parent folders when filtering is active and items are added or refreshed
Eduardo Cruz [Sun, 28 Nov 2021 13:24:32 +0000 (13:24 +0000)]
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
ed83f37f06bd5c4b38c100503c3ad4dec2a87912. 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

4 years agoMove "Default" option to the front in "Select Remote Charset" menu
Fushan Wen [Mon, 8 Nov 2021 07:46:48 +0000 (15:46 +0800)]
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

4 years agoKFileItemModelRolesUpdater: Generate thumbnails for visible files first
Kai Uwe Broulik [Tue, 16 Nov 2021 19:35:05 +0000 (20:35 +0100)]
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.

4 years agoBaloo widgets lives in the same module, use the correct definition to grab it
Ben Cooksley [Sun, 21 Nov 2021 03:06:32 +0000 (16:06 +1300)]
Baloo widgets lives in the same module, use the correct definition to grab it

4 years agoDolphin preferences dialog use now for everything colorfull icons
Andreas Kainz [Sat, 13 Nov 2021 09:44:21 +0000 (10:44 +0100)]
Dolphin preferences dialog use now for everything colorfull icons

4 years agoGIT_SILENT Upgrade release service version to 22.03.70.
Heiko Becker [Mon, 8 Nov 2021 19:35:47 +0000 (20:35 +0100)]
GIT_SILENT Upgrade release service version to 22.03.70.

4 years agoPort ViewModeSettings from macros to std::variant
Felix Ernst [Sat, 7 Aug 2021 13:48:02 +0000 (15:48 +0200)]
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.

4 years agoRemove duplicate include from .h/.cpp
Laurent Montel [Tue, 2 Nov 2021 12:20:10 +0000 (13:20 +0100)]
Remove duplicate include from .h/.cpp

4 years agoGIT_SILENT Update Appstream for new release
Heiko Becker [Sun, 31 Oct 2021 10:13:55 +0000 (11:13 +0100)]
GIT_SILENT Update Appstream for new release

(cherry picked from commit 3973e37b46b4463888c1c73441d13349d53f4d6f)

4 years agoAdd support for recentlyused: kio to view properties.
David Murray [Sat, 30 Oct 2021 15:39:06 +0000 (16:39 +0100)]
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.)

4 years agoGIT_SILENT made messages (after extraction)
l10n daemon script [Wed, 27 Oct 2021 00:22:51 +0000 (00:22 +0000)]
GIT_SILENT made messages (after extraction)

4 years agoGIT_SILENT: add missing override keyword
Laurent Montel [Mon, 25 Oct 2021 11:34:22 +0000 (13:34 +0200)]
GIT_SILENT: add missing override keyword

4 years agoSave size of config dialog in state config
Alexander Lohnau [Thu, 30 Sep 2021 06:03:43 +0000 (08:03 +0200)]
Save size of config dialog in state config

CCBUG: 397602

4 years agoUtilize KXMLGUI API to store state config in separate file
Alexander Lohnau [Thu, 30 Sep 2021 05:31:58 +0000 (07:31 +0200)]
Utilize KXMLGUI API to store state config in separate file

CCBUG: 397602

4 years agoCurrently, when changing Version Control settings in Configure -> Context Menu, it
Blaster goo [Mon, 11 Oct 2021 17:41:42 +0000 (17:41 +0000)]
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

4 years agoInstall KCMs in dolphin/kcms namespace
Alexander Lohnau [Thu, 2 Sep 2021 18:11:11 +0000 (20:11 +0200)]
Install KCMs in dolphin/kcms namespace

This will allow consumers to load the plugin from this namespace
without KServiceTypeTrader being involved.

4 years agoSVN_SILENT made messages (.desktop file) - always resolve ours
l10n daemon script [Sat, 9 Oct 2021 01:19:17 +0000 (01:19 +0000)]
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"

4 years agoFix typo: PascalCase in docs
ivan tkachenko [Thu, 7 Oct 2021 13:39:35 +0000 (16:39 +0300)]
Fix typo: PascalCase in docs

4 years agoChange settings window title to "Configure" for consistency sake
Felipe Kinoshita [Wed, 6 Oct 2021 18:30:42 +0000 (15:30 -0300)]
Change settings window title to "Configure" for consistency sake

This commit makes Dolphin's settings window more consistent with
other KDE apps.

4 years agoGIT_SILENT Update Appstream for new release
Heiko Becker [Mon, 4 Oct 2021 22:11:03 +0000 (00:11 +0200)]
GIT_SILENT Update Appstream for new release

(cherry picked from commit 89629bfcc6b74d0d102a01a920e9d9b17580088f)

4 years agoRewrite filter algorithm to properly support filtering with expanded folders under...
Eduardo Cruz [Mon, 4 Oct 2021 07:13:54 +0000 (07:13 +0000)]
Rewrite filter algorithm to properly support filtering with expanded folders under Detail View mode.

BUG: 411878
CCBUG: 442275
FIXED-IN: 21.12

4 years agoAdd kde-ci file
Nicolas Fella [Sun, 3 Oct 2021 13:25:14 +0000 (15:25 +0200)]
Add kde-ci file

4 years agoGIT_SILENT: remove .arcconfig
Laurent Montel [Sat, 2 Oct 2021 07:48:36 +0000 (09:48 +0200)]
GIT_SILENT: remove .arcconfig

4 years agoMerge branch 'release/21.08'
Nate Graham [Tue, 28 Sep 2021 19:57:14 +0000 (13:57 -0600)]
Merge branch 'release/21.08'

4 years agoFix closing a secondary viewContainer on startup settings change
Eugene Popov [Tue, 28 Sep 2021 19:39:52 +0000 (19:39 +0000)]
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

4 years agoDon't force icon for preferred search tool action if one is manually configured
Nicolas Fella [Wed, 22 Sep 2021 18:52:52 +0000 (20:52 +0200)]
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 d3f427a6da1b117c85b1080bf198ae4758d00e8e)

4 years agoDon't force icon for preferred search tool action if one is manually configured
Nicolas Fella [Wed, 22 Sep 2021 18:52:52 +0000 (20:52 +0200)]
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

4 years agoSVN_SILENT made messages (.desktop file) - always resolve ours
l10n daemon script [Mon, 20 Sep 2021 01:28:18 +0000 (01:28 +0000)]
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"

4 years agoGIT_SILENT made messages (after extraction)
l10n daemon script [Mon, 20 Sep 2021 00:22:38 +0000 (00:22 +0000)]
GIT_SILENT made messages (after extraction)

4 years agoGIT_SILENT made messages (after extraction)
l10n daemon script [Mon, 13 Sep 2021 01:46:10 +0000 (01:46 +0000)]
GIT_SILENT made messages (after extraction)

4 years agoGIT_SILENT made messages (after extraction)
l10n daemon script [Mon, 13 Sep 2021 00:20:54 +0000 (00:20 +0000)]
GIT_SILENT made messages (after extraction)

4 years agoMerge branch 'release/21.08'
Nate Graham [Tue, 7 Sep 2021 19:32:17 +0000 (13:32 -0600)]
Merge branch 'release/21.08'

4 years agoFixed a missing bracket.
Tyson Tan [Tue, 7 Sep 2021 18:11:06 +0000 (18:11 +0000)]
Fixed a missing bracket.

4 years agoMake "Empties Trash to create free space" translatable.
Tyson Tan [Sun, 5 Sep 2021 14:17:30 +0000 (14:17 +0000)]
Make "Empties Trash to create free space" translatable.

4 years agoPort to KTerminalLauncherJob
Nate Graham [Tue, 31 Aug 2021 15:09:14 +0000 (09:09 -0600)]
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

4 years agoTabs: ensure to have folder icons for remote folders
Méven Car [Tue, 24 Nov 2020 17:07:56 +0000 (18:07 +0100)]
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 /

4 years ago[Split view] Reset splitter position on double click
Eugene Popov [Mon, 30 Aug 2021 14:18:21 +0000 (14:18 +0000)]
[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

4 years agoRevert "Revert "Disable Hidden Files Last sort by default""
Elvis Angelaccio [Sun, 29 Aug 2021 17:52:58 +0000 (19:52 +0200)]
Revert "Revert "Disable Hidden Files Last sort by default""

This reverts commit 272aa65bb55dd31f58e8a8e24ea7bc8bd2712daa.

4 years agoRevert "Revert "Configurable Show hidden files and folders last toggle""
Elvis Angelaccio [Sun, 29 Aug 2021 17:52:44 +0000 (19:52 +0200)]
Revert "Revert "Configurable Show hidden files and folders last toggle""

This reverts commit bb67def173f31819bb9a696627f9af71c7037dcd.

4 years agoRevert "Revert "Show hidden files and folders last""
Elvis Angelaccio [Sun, 29 Aug 2021 17:52:22 +0000 (19:52 +0200)]
Revert "Revert "Show hidden files and folders last""

This reverts commit 63e12c0cdf4e3437b95b9c50e5791dbf97183687.

4 years agoMerge branch 'release/21.08'
Elvis Angelaccio [Sun, 29 Aug 2021 17:42:51 +0000 (19:42 +0200)]
Merge branch 'release/21.08'

4 years agoFilter the items that have changed
Eugene Popov [Sun, 29 Aug 2021 17:35:35 +0000 (17:35 +0000)]
Filter the items that have changed

4 years agoGIT_SILENT Update Appstream for new release
Heiko Becker [Fri, 27 Aug 2021 20:54:49 +0000 (22:54 +0200)]
GIT_SILENT Update Appstream for new release

(cherry picked from commit b9f320b1646140350edb82cfcf55bce7a325439f)

4 years agoGIT_SILENT Update Appstream for new release
Heiko Becker [Fri, 27 Aug 2021 20:54:49 +0000 (22:54 +0200)]
GIT_SILENT Update Appstream for new release

4 years agoGIT_SILENT Upgrade release service version to 21.08.1.
Heiko Becker [Fri, 27 Aug 2021 20:39:28 +0000 (22:39 +0200)]
GIT_SILENT Upgrade release service version to 21.08.1.

4 years agoFoldersPanel: Fix inline renaming
Jan Paul Batrina [Thu, 19 Aug 2021 14:34:40 +0000 (22:34 +0800)]
FoldersPanel: Fix inline renaming

Commit 5a0da4a9c8d10dc1921077d84bdabf05d20150b0 changed the value
for emitRoleEditingFinished() to a struct containing
the new name, but folderspanel was not updated.

BUG: 441124

4 years agoUse default icon size when resetting zoom level
Eugene Popov [Thu, 26 Aug 2021 11:14:24 +0000 (11:14 +0000)]
Use default icon size when resetting zoom level

BUG: 437349

4 years agoDBus activation with filemanager iface
Andrey Butirsky [Fri, 20 Aug 2021 09:31:36 +0000 (12:31 +0300)]
DBus activation with filemanager iface

In Dolphin on wayland currently, if you right clicks a file and create a
zip file from it, Dolphin makes a new window.
What we want to happen is Dolphin to focus the window we have with the
file selected.

This patches Dolphin's dbusinterface.cpp to call
KWindowSystem::setCurrentXdgActivationToken()
with the startupID

4 years agoFix selecting file always opening new instance
Alexander Lohnau [Sat, 14 Aug 2021 11:07:24 +0000 (13:07 +0200)]
Fix selecting file always opening new instance

Instead try to attach to all existing instances and quit after succeeding.

BUG: 440663

4 years agoSVN_SILENT made messages (.desktop file) - always resolve ours
l10n daemon script [Mon, 23 Aug 2021 02:29:46 +0000 (02:29 +0000)]
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"

4 years agoGIT_SILENT made messages (after extraction)
l10n daemon script [Mon, 23 Aug 2021 01:54:12 +0000 (01:54 +0000)]
GIT_SILENT made messages (after extraction)

4 years agoSVN_SILENT made messages (.desktop file) - always resolve ours
l10n daemon script [Mon, 23 Aug 2021 01:28:23 +0000 (01:28 +0000)]
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"

4 years agoGIT_SILENT made messages (after extraction)
l10n daemon script [Mon, 23 Aug 2021 00:22:17 +0000 (00:22 +0000)]
GIT_SILENT made messages (after extraction)

4 years agoSimplify KFileItemModel's sorting
Christian Muehlhaeuser [Tue, 13 Jul 2021 22:36:27 +0000 (00:36 +0200)]
Simplify KFileItemModel's sorting

Returns from function as soon as we encounter a decisive comparison,
while ensuring the fallbacks provide a stable sorting. Added comment
to clarify the situation.

4 years agoAvoid crash on start when help actions are restricted through the Kiosk system
Alexander Volkov [Tue, 10 Aug 2021 09:00:21 +0000 (12:00 +0300)]
Avoid crash on start when help actions are restricted through the Kiosk system

KHelpMenu may not create some actions, so check for nullptr before
setting "What's this?" text.

(cherry picked from commit 0ac57fbe90d580a514c3bac4cefaa9ed87f178f9)

4 years agoAvoid crash on start when help actions are restricted through the Kiosk system
Alexander Volkov [Tue, 10 Aug 2021 09:00:21 +0000 (12:00 +0300)]
Avoid crash on start when help actions are restricted through the Kiosk system

KHelpMenu may not create some actions, so check for nullptr before
setting "What's this?" text.

4 years agoSVN_SILENT made messages (.desktop file) - always resolve ours
l10n daemon script [Mon, 9 Aug 2021 02:11:38 +0000 (02:11 +0000)]
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"

4 years agoGIT_SILENT made messages (after extraction)
l10n daemon script [Mon, 9 Aug 2021 01:36:37 +0000 (01:36 +0000)]
GIT_SILENT made messages (after extraction)

4 years agoSVN_SILENT made messages (.desktop file) - always resolve ours
l10n daemon script [Mon, 9 Aug 2021 01:11:30 +0000 (01:11 +0000)]
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"

4 years agoGIT_SILENT made messages (after extraction)
l10n daemon script [Mon, 9 Aug 2021 00:18:47 +0000 (00:18 +0000)]
GIT_SILENT made messages (after extraction)

4 years agoRevert "Show hidden files and folders last"
Nate Graham [Fri, 6 Aug 2021 16:46:33 +0000 (10:46 -0600)]
Revert "Show hidden files and folders last"

This reverts commit 996e430b62075c5b69571f141456dbe5f2956679.

The accompanying feature to make the behavior configurable and disable
it by default was reverted in 21.08, so we need to revert the feature
itself as well and only ship it in 21.12, to avoid changing people's
setting back and forth, which is often not well-received.

4 years agoGIT_SILENT: improve cmakepreset support
Laurent Montel [Fri, 6 Aug 2021 05:08:06 +0000 (07:08 +0200)]
GIT_SILENT: improve cmakepreset support

4 years agoRevert "Configurable Show hidden files and folders last toggle"
Heiko Becker [Thu, 5 Aug 2021 22:36:57 +0000 (00:36 +0200)]
Revert "Configurable Show hidden files and folders last toggle"

This reverts commit 50149d6abb8a0a978db3c6afb5238bc42a4a89c8.

It breaks the string freeze and I don't think it can count as a bug
fix, so it breaks the feature freeze, too.

CCMAIL: zrenfire@gmail.com

4 years agoRevert "Disable Hidden Files Last sort by default"
Heiko Becker [Thu, 5 Aug 2021 22:36:50 +0000 (00:36 +0200)]
Revert "Disable Hidden Files Last sort by default"

This reverts commit fd2203bb3925edb5d657d49a706e26ea736362d2.

4 years agoMerge branch 'release/21.08'
Nate Graham [Thu, 5 Aug 2021 14:34:04 +0000 (08:34 -0600)]
Merge branch 'release/21.08'

4 years agoDisable Hidden Files Last sort by default
Chris Holland [Wed, 4 Aug 2021 06:26:10 +0000 (02:26 -0400)]
Disable Hidden Files Last sort by default

4 years agoConfigurable Show hidden files and folders last toggle
Gaston Haro [Sun, 1 Aug 2021 17:00:05 +0000 (13:00 -0400)]
Configurable Show hidden files and folders last toggle

CCBUG: 241227

Revision: https://phabricator.kde.org/D29115

4 years agoGIT_SILENT Update Appstream for new release
Heiko Becker [Wed, 4 Aug 2021 21:49:19 +0000 (23:49 +0200)]
GIT_SILENT Update Appstream for new release

(cherry picked from commit 2b90a13c62ba9fe8d15377b7811ac6e0ec26b3c4)

4 years agoGIT_SILENT Update Appstream for new release
Heiko Becker [Wed, 4 Aug 2021 21:49:19 +0000 (23:49 +0200)]
GIT_SILENT Update Appstream for new release

4 years agoGIT_SILENT Upgrade release service version to 21.08.0.
Heiko Becker [Wed, 4 Aug 2021 21:39:33 +0000 (23:39 +0200)]
GIT_SILENT Upgrade release service version to 21.08.0.

4 years agoMerge branch 'release/21.08'
Nate Graham [Mon, 2 Aug 2021 16:32:31 +0000 (10:32 -0600)]
Merge branch 'release/21.08'

4 years agoFix how --select treats files
Jordan Bucklin [Sat, 31 Jul 2021 19:31:49 +0000 (12:31 -0700)]
Fix how --select treats files

Previously, when passing file URLs with the --select option,
Dolphin would open the file in its corresponding application, as
well as opening an empty tab in Dolphin as if the file were a
directory. This happens specifically when trying to restore a
session.

This commit prevents Dolphin from opening a file in an application
and from opening an empty tab while passing the --select option,
and selects the URLs instead.

BUG: 436584

4 years agoFix width issues when un-maximizing Dolphin
Felix Ernst [Sat, 31 Jul 2021 15:01:52 +0000 (17:01 +0200)]
Fix width issues when un-maximizing Dolphin

Before this commit un-maximizing or to be more precise instantly
changing the size of the window by a large amount could potentially
change the width of the sidebars, the viewContainers and the window
itself to unexpected/undesired widths.

This happened because the spacing calculation is triggered when the
primary ViewContainer is resized but at this point in time some of
the other widgets, especially the secondary ViewContainer and the
navigatorsWidget have generally not been resized yet. Therefore the
width and spacing calculations are based on partly updated and
partly outdated values leading to wrong results.

This commit makes it so calculation of spacings is delayed until
all widths have been updated.

Yes, spacing probably should not have the power to resize the
window but unfortunately the spacing can not be set to be less
forceful when taking space because otherwise the UrlNavigators
will take all space they can get with their
QSizePolicy::MinimumExpanding.

BUG: 430521
FIXED-IN: 21.08

4 years agoRevert "Don't session-restore invalid paths"
Nate Graham [Wed, 28 Jul 2021 18:54:10 +0000 (12:54 -0600)]
Revert "Don't session-restore invalid paths"

This reverts commit c733b3aa9787a618a0ce5bb03b3fc731f5663b21.

There are people who prefer the old behavior of session-restoring all
paths including the ones which are currently inaccessible. The idea is
that Dolphin is like a web browser; if a website is not currently
available, the browser tells you that instead of silently discarding the
URL and showing you the homepage. Doing this can be considered a form
of data loss.

In addition, the reason for the change was to prevent Dolphin from
showing invalid paths on launch for unmounted removable disks, but that
specific case was fixed separately by switching to ~ for any tabs/views
that were showing locations on a just-unmounted removable disk. So you
will never run into the problem if yo unmount a disk in Dolphin and then
close it.

Accordingly, let's revert the change because it causes more problems than
it resolves.

BUG: 439864
CCBUG: 427619
FIXED-IN: 21.08

4 years agoGIT_SILENT Upgrade release service version to 21.07.90.
Heiko Becker [Tue, 27 Jul 2021 19:29:00 +0000 (21:29 +0200)]
GIT_SILENT Upgrade release service version to 21.07.90.

4 years agoMerge remote-tracking branch 'origin/release/21.08'
Albert Astals Cid [Mon, 26 Jul 2021 22:34:14 +0000 (00:34 +0200)]
Merge remote-tracking branch 'origin/release/21.08'

4 years agoAdd break; to KItemListRoleEditor::keyPressEvent cases
Albert Astals Cid [Wed, 21 Jul 2021 21:24:32 +0000 (23:24 +0200)]
Add break; to KItemListRoleEditor::keyPressEvent cases

4 years ago[PlacesPanel] Remove horizontal scrollbar
Eugene Popov [Sun, 11 Jul 2021 18:12:16 +0000 (21:12 +0300)]
[PlacesPanel] Remove horizontal scrollbar

This MR removes the horizontal scrollbar of the Places panel. For titles that don't fit in the panel, their elided versions will be used (i.e., with ...).

BUG: 301758

(cherry picked from commit deaf5916f2f87d78825f33f2ba11475a24c9380f)

4 years agoRemove unneeded KCM plugin keyword stuff
Nicolas Fella [Wed, 21 Jul 2021 19:41:12 +0000 (21:41 +0200)]
Remove unneeded KCM plugin keyword stuff

4 years agoGIT_SILENT made messages (after extraction)
l10n daemon script [Fri, 23 Jul 2021 00:20:10 +0000 (00:20 +0000)]
GIT_SILENT made messages (after extraction)

4 years agoClean up KF API older than 5.82
Ahmad Samir [Sat, 17 Jul 2021 12:36:54 +0000 (14:36 +0200)]
Clean up KF API older than 5.82

GIT_SILENT

4 years agoUse KDirLister directly now that it emits a jobError() signal
Ahmad Samir [Thu, 15 Jul 2021 22:29:07 +0000 (00:29 +0200)]
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.

4 years ago[DetailsView] Improve zooming
Eugene Popov [Sun, 11 Jul 2021 21:31:06 +0000 (00:31 +0300)]
[DetailsView] Improve zooming

Under some conditions, when zooming, only the size of the icon is changed, but not the entire item, which visually doesn't look good. The main idea of this MR is that when scaling the whole element should be resized, not just the icon, so I came up with some zoom levels for the main icon sizes. With this commit, zooming will resize the entire element, even if the resizing of the icon doesn't affect the size of the entire element.

4 years ago[PlacesPanel] Remove horizontal scrollbar
Eugene Popov [Sun, 11 Jul 2021 18:12:16 +0000 (21:12 +0300)]
[PlacesPanel] Remove horizontal scrollbar

This MR removes the horizontal scrollbar of the Places panel. For titles that don't fit in the panel, their elided versions will be used (i.e., with ...).

BUG: 301758

4 years agoDelete some items that were intended to be deleted. Avoid trying to delete items...
Toni Asensi Esteve [Sat, 17 Jul 2021 17:47:57 +0000 (19:47 +0200)]
Delete some items that were intended to be deleted. Avoid trying to delete items that don't exist

When deleting items of a list, follow a sequence that ensures that the item
that is going to be deleted exists.

Revision: https://invent.kde.org/system/dolphin/-/merge_requests/240

4 years agoMerge branch 'release/21.08'
Nate Graham [Sat, 17 Jul 2021 03:08:18 +0000 (23:08 -0400)]
Merge branch 'release/21.08'

4 years agoFix placeholder label text within an empty folder in Trash
Jordan Bucklin [Sat, 17 Jul 2021 01:37:36 +0000 (18:37 -0700)]
Fix placeholder label text within an empty folder in Trash

An empty folder within the Trash bin previously had the placeholder
label "Trash is empty". This label should only appear in top-most
Trash/ url, and "Folder is empty" otherwise.

BUG: 439952

4 years agoAllow to have HiDpi previews
Méven Car [Sat, 19 Dec 2020 06:45:52 +0000 (07:45 +0100)]
Allow to have HiDpi previews

BUG: 401170

4 years agoMerge branch 'release/21.08'
Elvis Angelaccio [Tue, 13 Jul 2021 19:50:41 +0000 (21:50 +0200)]
Merge branch 'release/21.08'

4 years agoEnsure stable sort order when sorting by size
Christian Muehlhaeuser [Sat, 10 Jul 2021 17:35:26 +0000 (19:35 +0200)]
Ensure stable sort order when sorting by size

Folders with equal size caused the sort operation to become unstable,
as the result of lessThan was non-deterministic.

We need the fallback mechanisms at the bottom of the function to
resovle the situation and provide a stable sort order.

This also fixes expanding the contents of a folder into the wrong
parent.

BUG: 433247
FIXED-IN: 21.08

4 years agoDon't exit immediately if DBus isn't running
Alex Richardson [Fri, 9 Jul 2021 08:32:04 +0000 (09:32 +0100)]
Don't exit immediately if DBus isn't running

I am trying to run Dolphin on a minimal FreeBSD CHERI-RISC-V QEMU
instance and I haven't got DBus running. Without this change, KDBusService
causes dolphin to exit immediately since the default behaviour is to
exit if it can't connect to DBus.

4 years agoAvoid crashing on startup if DBus isn't running
Alex Richardson [Fri, 9 Jul 2021 08:30:58 +0000 (09:30 +0100)]
Avoid crashing on startup if DBus isn't running

I am trying to run Dolphin on a minimal FreeBSD CHERI-RISC-V QEMU
instance and I haven't got DBus running. Without this change, I get
crashes because QDBusConnection::sessionBus().interface() returns NULL
if DBus isn't running.

4 years agoGIT_SILENT Upgrade release service version to 21.11.70.
Albert Astals Cid [Sat, 10 Jul 2021 17:59:01 +0000 (19:59 +0200)]
GIT_SILENT Upgrade release service version to 21.11.70.

4 years agoGIT_SILENT Upgrade release service version to 21.07.80.
Albert Astals Cid [Sat, 10 Jul 2021 16:40:59 +0000 (18:40 +0200)]
GIT_SILENT Upgrade release service version to 21.07.80.

4 years agoMake the KDocTools dependency optional
Alex Richardson [Fri, 9 Jul 2021 08:19:05 +0000 (09:19 +0100)]
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.

4 years agoGIT_SILENT made messages (after extraction)
l10n daemon script [Fri, 9 Jul 2021 00:19:18 +0000 (00:19 +0000)]
GIT_SILENT made messages (after extraction)

4 years agoGIT_SILENT made messages (after extraction)
l10n daemon script [Wed, 7 Jul 2021 00:20:10 +0000 (00:20 +0000)]
GIT_SILENT made messages (after extraction)

4 years agoGIT_SILENT Update Appstream for new release
Heiko Becker [Mon, 5 Jul 2021 18:59:45 +0000 (20:59 +0200)]
GIT_SILENT Update Appstream for new release

(cherry picked from commit f8838005d7fba29522605e26f71c0b68e25e54a0)

4 years agoReuse KFileItemActions instance during lifetime of dolphin
Alexander Lohnau [Sun, 18 Apr 2021 06:37:45 +0000 (08:37 +0200)]
Reuse KFileItemActions instance during lifetime of dolphin

With https://invent.kde.org/frameworks/kio/-/merge_requests/411 the
plugin instances can be reused during the lifetime of the
KFileItemActions object. This improves performance and also allows
the plugins to emit errors, even if they run async.

4 years agocontextmenu: Listen to new error signal from KFileItemActions
Alexander Lohnau [Sat, 17 Apr 2021 19:55:22 +0000 (21:55 +0200)]
contextmenu: Listen to new error signal from KFileItemActions

Task: https://phabricator.kde.org/T12164