Commit graph

8015 commits

Author SHA1 Message Date
Nicolas Fella c4bed0e132 Use correct KIO include 2024-01-03 01:02:48 +01:00
l10n daemon script 66639b3c66 GIT_SILENT Sync po/docbooks with svn 2023-12-31 02:53:51 +00:00
l10n daemon script ab75484a9d GIT_SILENT made messages (after extraction) 2023-12-31 01:56:03 +00:00
Laurent Montel 35058d9399 Fix using good baloo branch 2023-12-29 16:42:15 +01:00
Laurent Montel 6c2bd3d9f3 Reenable flatpak CI support 2023-12-29 16:41:55 +01:00
l10n daemon script 4a2ca735bf GIT_SILENT Sync po/docbooks with svn 2023-12-29 02:20:04 +00:00
Carl Schwan bcccdc60df Add separator in Dolphin Status Bar
See https://invent.kde.org/plasma/breeze/-/merge_requests/390 for
explanation and screenshots
2023-12-28 21:51:34 +00:00
Marius P 12e8dbe8c4 org.kde.dolphin.appdata.xml add launchable
Fix "appstreamcli validate --explain" issue
"I: org.kde.dolphin.desktop:~: desktop-app-launchable-omitted
This `desktop-application` component has no `desktop-id` launchable tag,
however it contains all
the necessary information to display the application. The omission of the
launchable entry means
that this application can not be launched directly from installers or
software centers. If this
is intended, this information can be ignored, otherwise it is strongly
recommended to add a
launchable tag as well.".
2023-12-28 08:52:09 +00:00
l10n daemon script 849d9c75a7 GIT_SILENT Sync po/docbooks with svn 2023-12-28 02:19:17 +00:00
l10n daemon script ad5fad0eff GIT_SILENT made messages (after extraction) 2023-12-28 01:35:00 +00:00
Alexander Lohnau 5e74b4c017 GeneralViewSettingsPage: Initialize variables in header, avoid unused variable depending on config 2023-12-27 12:11:53 +01:00
Albert Astals Cid f22530d446 Revert "Remove unused m_showToolTips variable"
This reverts commit 9a2fc1526c.
2023-12-27 11:57:15 +01:00
Albert Astals Cid 792a92befe Fix build with cmake >= 3.28
Proposed by krop on #kde-devel

Unless my bisect skills failed broken by ebc9e448b3
2023-12-27 11:56:54 +01:00
Alexander Lohnau acbc78f8ba kfileitemmodeltest: Include KIO/SimpleJob header instead of relying on compat code
Amends 3f92ac800c
2023-12-27 06:57:31 +01:00
Alexander Lohnau 3f92ac800c Do not rely on KIO source-code compat code 2023-12-26 17:11:32 +01:00
Alexander Lohnau 9a2fc1526c Remove unused m_showToolTips variable 2023-12-26 17:11:10 +01:00
Alexander Lohnau 18ff684290 Remove unneeded lambda capture 2023-12-26 17:10:43 +01:00
Marius P b2defa2f98 Fix issues if QT_NO_CAST_FROM_ASCII is defined
Fix issues e.g. "error: ‘QString::QString(const QByteArray&)’
is private within this context".
2023-12-25 10:28:58 +00:00
Marius P 2ba33b9220 main.cpp about data: update homepage 2023-12-25 10:25:32 +00:00
l10n daemon script 3222e845ff GIT_SILENT Sync po/docbooks with svn 2023-12-25 02:11:54 +00:00
l10n daemon script fab9f72842 GIT_SILENT Sync po/docbooks with svn 2023-12-24 02:58:50 +00:00
Méven Car d2c073a35b Add 38c34eeca to .git-blame-ignore-revs
NO_CHANGELOG
2023-12-23 13:51:16 +01:00
l10n daemon script f7bf926af1 GIT_SILENT Sync po/docbooks with svn 2023-12-23 02:37:57 +00:00
Akseli Lahtinen 7043ae1100 Set viewFocus when DolphinViewContainer state is consistent
Read Felix' comment here: https://invent.kde.org/system/dolphin/-/merge_requests/679#note_835657

In short: 
> The above change moves the `m_view->setFocus()` towards a point in time in 
> which `DolphinViewContainer`'s selection mode state is consistent again.

BUG:478724
2023-12-22 08:29:40 +00:00
l10n daemon script 425fc930a6 GIT_SILENT Sync po/docbooks with svn 2023-12-22 02:30:38 +00:00
l10n daemon script 3d4e9ac639 GIT_SILENT Sync po/docbooks with svn 2023-12-21 02:58:37 +00:00
l10n daemon script 624b00e71f GIT_SILENT Sync po/docbooks with svn 2023-12-19 02:16:01 +00:00
Albert Astals Cid 5fcc61184d GIT_SILENT Upgrade release service version to 24.01.85. 2023-12-18 22:52:30 +01:00
Méven Car 3430ad1673 DolphinView: Ensure to update the whole viewState after a job created files
BUG: 476670
2023-12-18 10:10:11 +00:00
l10n daemon script b3fd75e44f GIT_SILENT Sync po/docbooks with svn 2023-12-18 02:56:57 +00:00
l10n daemon script 52488330ff GIT_SILENT Sync po/docbooks with svn 2023-12-16 02:18:48 +00:00
Akseli Lahtinen 8f043b2958 Resort directory size count after refreshing
After refreshing the view when
size count is selected as the sortRole,
count is 0 at first. When the actual count is loaded,
the sorting is done according to the count being 0. 
This can break the sort order and cause view and model
to be out of sync. 

Making sure we always resort all items
when the directory size/item count is changed fixes this

BUG:473999
2023-12-15 13:07:12 +00:00
Akseli Lahtinen d98037745f Change resortAllItemsInterval to 50ms
Related to https://invent.kde.org/system/dolphin/-/merge_requests/675

Reduces the delay for sorting items when something changes
2023-12-15 13:01:21 +00:00
Akseli Lahtinen a5fb0524b5 Set dockAction enabled according to settings
Panels are unlocked even they're set locked in settings at start of the app.
This sets panels locked according to the setting.

BUG:478117
2023-12-15 10:17:21 +00:00
Méven Car 2aa5477ccf Dolphin: Remove unused code, fix clazy warnings 2023-12-14 10:36:58 +01:00
l10n daemon script f8380c50eb GIT_SILENT Sync po/docbooks with svn 2023-12-14 02:14:12 +00:00
l10n daemon script 78d6b2b351 GIT_SILENT Sync po/docbooks with svn 2023-12-11 02:14:50 +00:00
l10n daemon script d3c0395eb7 GIT_SILENT Sync po/docbooks with svn 2023-12-10 02:56:46 +00:00
l10n daemon script 8df02754b9 GIT_SILENT Sync po/docbooks with svn 2023-12-09 02:15:00 +00:00
Akseli Lahtinen b1f9c2e5c9 Do not reset expandability when loading previews
Fixes a weird bug with the treeview if one has
```
[PreviewSettings]
Plugins=audiothumbnail
```
in their `dolphinrc`. It can be any PreviewSettings plugin, as long as there it at least one.

Check the bug report for more, but in short, the bug is reproducible like this:

```
create folder tree inside a test folder with 

mkdir -p 1/A/B/C/D/E/F/G/H/I
mkdir -p 2/A/B/C/D/E/F/G/H/I
mkdir -p 3/A/B/C/D/E/F/G/H/I

make sure you see the test folder, and expand it

expand folder 1, no need to expand all sub folders
expand folder 2
collapse and expand test folder
3 loses its expansion arrow

if all folders are expanded, only 3 keeps its order

if 1 and all its subfolders are expanded, then test is toggled,
folder 2 also loses its expansion arrow
```

Video of the bug:

![Screencast_20231207_112700](/uploads/4fad2a62a5a9a67760fa7faa8e3bec40/Screencast_20231207_112700.webm)

The path to the bug is: `KFileItemModelRolesUpdater::slotPreviewFailed` -> `KFileItemModelRolesUpdater::applyResolvedRoles` -> `KFileItemModelRolesUpdater::rolesData` -> `KFileItemModelRolesUpdater::startDirectorySizeCounting`. 

This causes Dolphin with preview plugins enabled trying to count the directories again, and the data gets reset even if there is something there. This then resets the `isExpandable` flag and that breaks the treeview, causing all kinds of issues, like being able to expand non-directories and makes things out of sync.

BUG:477607
2023-12-08 10:59:19 +00:00
David Edmundson 30691235c5 Do not cache indexes across async tasks
Capturing an index is unsafe as it could be out of date when this is
processed. The user could have changed directory inserted a file or
changed sorting order.
2023-12-08 09:50:24 +00:00
l10n daemon script 35235589aa GIT_SILENT Sync po/docbooks with svn 2023-12-08 02:15:54 +00:00
l10n daemon script bc4adbd97c GIT_SILENT Sync po/docbooks with svn 2023-12-06 02:22:02 +00:00
l10n daemon script 8cd7652cec GIT_SILENT Sync po/docbooks with svn 2023-12-05 02:13:27 +00:00
l10n daemon script de5fb82e3a GIT_SILENT Sync po/docbooks with svn 2023-12-04 02:14:50 +00:00
Heiko Becker f89aa7a5e2 GIT_SILENT Update Appstream for new release
(cherry picked from commit beb28a4bde)
2023-11-30 17:55:05 +01:00
Antonio Rojas 9c313813f5 Fix building with activities after the kactivities -> plasma-activities rename 2023-11-30 08:59:04 +01:00
Akseli Lahtinen 697d1648b7 Set style to nullptr before painting listview
Resolves any possible dangling pointers
if application style is changed after
toggling the selection mode

BUG:477288
2023-11-29 16:00:34 +00:00
l10n daemon script 041a3a4a34 GIT_SILENT Sync po/docbooks with svn 2023-11-29 14:18:36 +00:00
l10n daemon script 2a0342d78e GIT_SILENT Sync po/docbooks with svn 2023-11-28 02:14:52 +00:00