]> cloud.milkyroute.net Git - dolphin.git/log
dolphin.git
23 months agoNever emit the fileMiddleClickActivated signal if isTabsForFilesEnabled is true
Stefano Crocco [Sun, 14 Jan 2024 09:36:32 +0000 (09:36 +0000)]
Never emit the fileMiddleClickActivated signal if isTabsForFilesEnabled is true

Commit d27ee07d makes it impossible for applications embedding Dolphin part (for example, Konqueror) to react to middle mouse click on a file. If I understand correctly (I'm not familiar with Dolphin code) the `fileMiddleClickActivated` signal is connected with a slot in `DolphinViewContainer`, which is only used by Dolphin itself and not by `DolphinPart`. The result is that middle clicking on a file (except archives) from a Dolphin part has no effect.

To avoid this situation, I removed the check for `!archiveProtocolIsEmpty()` in the `else if` condition. This way, if `isTabsForFilesEnabled()` is `true`, which should be true if and only if the view is inside a `DolphinPart`, the `activeTabRequested` or `tabRequested` signal will be emitted, allowing the embedding application to respond however it wants. When the view is inside the Dolphin application, instead, `isTabsForFilesEnabled()` will always be `false`, so the new behavior will be used.

23 months agoDolphinMainWindowTest: Add unit test for autosave session feature
Amol Godbole [Sat, 23 Dec 2023 21:36:31 +0000 (15:36 -0600)]
DolphinMainWindowTest: Add unit test for autosave session feature

Adds a simple test to check if session is autosaved when a new tab is
opened.

23 months agoDolphinView: Use SingleShot and Queued Connections
Amol Godbole [Thu, 9 Nov 2023 17:17:33 +0000 (11:17 -0600)]
DolphinView: Use SingleShot and Queued Connections

A minor refactor where Qt::SingleShotConnection has been utilized.
Also, signal delay using QTimer has been replaced with a
Qt::QueuedConnection.

23 months agoDolphinMainWindow: autosave session
Amol Godbole [Thu, 9 Nov 2023 17:05:48 +0000 (11:05 -0600)]
DolphinMainWindow: autosave session

Currently, the session is saved only when the app quits normally. Save
the session after a fixed time interval from the last state change i.e.
anytime the url is changed, or a tab is opened or closed, or the active
view is changed.

BUG: 425627

23 months agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Sun, 14 Jan 2024 01:41:04 +0000 (01:41 +0000)]
GIT_SILENT Sync po/docbooks with svn

23 months agoAdd setting also hide application/x-trash files when hiding hidden files
Méven Car [Sat, 6 Jan 2024 10:40:57 +0000 (11:40 +0100)]
Add setting also hide application/x-trash files when hiding hidden files

BUG: 475805

23 months agoAlways automatically choose a new file name while duplicating
Eugene Popov [Thu, 28 Dec 2023 10:06:09 +0000 (12:06 +0200)]
Always automatically choose a new file name while duplicating

Since now when duplicating items we automatically generate a name for the new item, we can do the same if an item with that name already exists.

BUG: 475410

23 months agoFix: closing split view doesn't update tab name
Jin Liu [Fri, 12 Jan 2024 04:56:43 +0000 (12:56 +0800)]
Fix: closing split view doesn't update tab name
BUG: 469316

23 months agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Sat, 13 Jan 2024 01:29:58 +0000 (01:29 +0000)]
GIT_SILENT Sync po/docbooks with svn

23 months agoExplain free space button usage in tooltip
Felix Ernst [Sat, 2 Dec 2023 15:18:42 +0000 (16:18 +0100)]
Explain free space button usage in tooltip

This is to make sure that users do not have to guess why they would
want to press the button.

23 months agoGIT_SILENT Upgrade release service version to 24.04.70.
Albert Astals Cid [Thu, 11 Jan 2024 20:13:22 +0000 (21:13 +0100)]
GIT_SILENT Upgrade release service version to 24.04.70.

23 months agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Thu, 11 Jan 2024 01:21:04 +0000 (01:21 +0000)]
GIT_SILENT Sync po/docbooks with svn

23 months agoKItemListRoleEditor: Disable spellchecking
Akseli Lahtinen [Wed, 10 Jan 2024 14:12:54 +0000 (14:12 +0000)]
KItemListRoleEditor: Disable spellchecking

No need for spellchecking when renaming folders/filenames.

BUG:477897

23 months agoterminalpanel.cpp: Set m_konsolePart to nullptr during exit signal
Akseli Lahtinen [Wed, 10 Jan 2024 09:22:46 +0000 (09:22 +0000)]
terminalpanel.cpp: Set m_konsolePart to nullptr during exit signal

If Dolphin terminal is open, and one types `exit` there and then closes Dolphin, Dolphin crashes due to a dangling pointer.

Konsole KPart is deleting itself when Konsole session exits, but Dolphin tracks it as a child of the Terminal Panel.
The Terminal Panel doesn't get destroyed when Konsole KPart does, and it tries to double free during children clean up.
(Thanks @sitter !)

Setting `m_konsolePart` to `nullptr` during exit signal fixes this, since there is already check in place for that in the destructor.

BUG:479596

23 months agoSVN_SILENT made messages (.desktop file) - always resolve ours
l10n daemon script [Wed, 10 Jan 2024 02:08:59 +0000 (02:08 +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"

23 months agoGIT_SILENT Upgrade release service version to 24.01.90.
Albert Astals Cid [Mon, 8 Jan 2024 23:22:40 +0000 (00:22 +0100)]
GIT_SILENT Upgrade release service version to 24.01.90.

23 months agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Mon, 8 Jan 2024 02:19:29 +0000 (02:19 +0000)]
GIT_SILENT Sync po/docbooks with svn

2 years agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Sun, 7 Jan 2024 02:52:57 +0000 (02:52 +0000)]
GIT_SILENT Sync po/docbooks with svn

2 years agoDolphinView: merge update functions into set functions
Méven Car [Sat, 6 Jan 2024 10:13:22 +0000 (11:13 +0100)]
DolphinView: merge update functions into set functions

NO_CHANGELOG

2 years agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Sat, 6 Jan 2024 02:15:33 +0000 (02:15 +0000)]
GIT_SILENT Sync po/docbooks with svn

2 years agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Fri, 5 Jan 2024 02:17:23 +0000 (02:17 +0000)]
GIT_SILENT Sync po/docbooks with svn

2 years agoSVN_SILENT made messages (.desktop file) - always resolve ours
l10n daemon script [Fri, 5 Jan 2024 02:08:48 +0000 (02:08 +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"

2 years agoGIT_SILENT made messages (after extraction)
l10n daemon script [Fri, 5 Jan 2024 01:36:14 +0000 (01:36 +0000)]
GIT_SILENT made messages (after extraction)

2 years agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Thu, 4 Jan 2024 02:22:51 +0000 (02:22 +0000)]
GIT_SILENT Sync po/docbooks with svn

2 years agoRemove setUpdate KBookmarkManager call
Sune Vuorela [Wed, 3 Jan 2024 14:20:59 +0000 (15:20 +0100)]
Remove setUpdate KBookmarkManager call

It is related to receiving updates from dbus; but that's removed.

Also, it defaults to true

2 years agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Wed, 3 Jan 2024 02:19:40 +0000 (02:19 +0000)]
GIT_SILENT Sync po/docbooks with svn

2 years agoUse correct KIO include
Nicolas Fella [Wed, 3 Jan 2024 00:02:48 +0000 (01:02 +0100)]
Use correct KIO include

2 years agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Sun, 31 Dec 2023 02:53:51 +0000 (02:53 +0000)]
GIT_SILENT Sync po/docbooks with svn

2 years agoGIT_SILENT made messages (after extraction)
l10n daemon script [Sun, 31 Dec 2023 01:56:03 +0000 (01:56 +0000)]
GIT_SILENT made messages (after extraction)

2 years agoFix using good baloo branch
Laurent Montel [Fri, 29 Dec 2023 11:58:02 +0000 (12:58 +0100)]
Fix using good baloo branch

2 years agoReenable flatpak CI support
Laurent Montel [Fri, 29 Dec 2023 11:47:20 +0000 (12:47 +0100)]
Reenable flatpak CI support

2 years agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Fri, 29 Dec 2023 02:20:04 +0000 (02:20 +0000)]
GIT_SILENT Sync po/docbooks with svn

2 years agoAdd separator in Dolphin Status Bar
Carl Schwan [Thu, 21 Dec 2023 15:57:17 +0000 (16:57 +0100)]
Add separator in Dolphin Status Bar

See https://invent.kde.org/plasma/breeze/-/merge_requests/390 for
explanation and screenshots

2 years agoorg.kde.dolphin.appdata.xml add launchable
Marius P [Thu, 28 Dec 2023 01:36:41 +0000 (03:36 +0200)]
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.".

2 years agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Thu, 28 Dec 2023 02:19:17 +0000 (02:19 +0000)]
GIT_SILENT Sync po/docbooks with svn

2 years agoGIT_SILENT made messages (after extraction)
l10n daemon script [Thu, 28 Dec 2023 01:35:00 +0000 (01:35 +0000)]
GIT_SILENT made messages (after extraction)

2 years agoGeneralViewSettingsPage: Initialize variables in header, avoid unused variable depend...
Alexander Lohnau [Wed, 27 Dec 2023 11:11:53 +0000 (12:11 +0100)]
GeneralViewSettingsPage: Initialize variables in header, avoid unused variable depending on config

2 years agoRevert "Remove unused m_showToolTips variable"
Albert Astals Cid [Wed, 27 Dec 2023 10:51:35 +0000 (11:51 +0100)]
Revert "Remove unused m_showToolTips variable"

This reverts commit 9a2fc1526c169fa179e49f8c097a0a0d421723eb.

2 years agoFix build with cmake >= 3.28
Albert Astals Cid [Wed, 27 Dec 2023 10:46:22 +0000 (11:46 +0100)]
Fix build with cmake >= 3.28

Proposed by krop on #kde-devel

Unless my bisect skills failed broken by https://gitlab.kitware.com/cmake/cmake/-/commit/ebc9e448b38378cc21a6b77df03a77d9732c24ac

2 years agokfileitemmodeltest: Include KIO/SimpleJob header instead of relying on compat code
Alexander Lohnau [Wed, 27 Dec 2023 05:57:31 +0000 (06:57 +0100)]
kfileitemmodeltest: Include KIO/SimpleJob header instead of relying on compat code

Amends 3f92ac800c5e52d0a5622367ff8ffe8cbbdfa184

2 years agoDo not rely on KIO source-code compat code
Alexander Lohnau [Tue, 26 Dec 2023 16:11:32 +0000 (17:11 +0100)]
Do not rely on KIO source-code compat code

2 years agoRemove unused m_showToolTips variable
Alexander Lohnau [Tue, 26 Dec 2023 16:11:10 +0000 (17:11 +0100)]
Remove unused m_showToolTips variable

2 years agoRemove unneeded lambda capture
Alexander Lohnau [Tue, 26 Dec 2023 16:10:43 +0000 (17:10 +0100)]
Remove unneeded lambda capture

2 years agoFix issues if QT_NO_CAST_FROM_ASCII is defined
Marius P [Sun, 24 Dec 2023 06:20:40 +0000 (08:20 +0200)]
Fix issues if QT_NO_CAST_FROM_ASCII is defined

Fix issues e.g. "error: ‘QString::QString(const QByteArray&)’
is private within this context".

2 years agomain.cpp about data: update homepage
Marius P [Sat, 23 Dec 2023 19:06:40 +0000 (21:06 +0200)]
main.cpp about data: update homepage

2 years agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Mon, 25 Dec 2023 02:11:54 +0000 (02:11 +0000)]
GIT_SILENT Sync po/docbooks with svn

2 years agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Sun, 24 Dec 2023 02:58:50 +0000 (02:58 +0000)]
GIT_SILENT Sync po/docbooks with svn

2 years agoAdd 38c34eeca to .git-blame-ignore-revs
Méven Car [Sat, 23 Dec 2023 12:51:16 +0000 (13:51 +0100)]
Add 38c34eeca to .git-blame-ignore-revs

NO_CHANGELOG

2 years agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Sat, 23 Dec 2023 02:37:57 +0000 (02:37 +0000)]
GIT_SILENT Sync po/docbooks with svn

2 years agoSet viewFocus when DolphinViewContainer state is consistent
Akseli Lahtinen [Fri, 22 Dec 2023 08:29:40 +0000 (08:29 +0000)]
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

2 years agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Fri, 22 Dec 2023 02:30:38 +0000 (02:30 +0000)]
GIT_SILENT Sync po/docbooks with svn

2 years agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Thu, 21 Dec 2023 02:58:37 +0000 (02:58 +0000)]
GIT_SILENT Sync po/docbooks with svn

2 years agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Tue, 19 Dec 2023 02:16:01 +0000 (02:16 +0000)]
GIT_SILENT Sync po/docbooks with svn

2 years agoGIT_SILENT Upgrade release service version to 24.01.85.
Albert Astals Cid [Mon, 18 Dec 2023 21:52:30 +0000 (22:52 +0100)]
GIT_SILENT Upgrade release service version to 24.01.85.

2 years agoDolphinView: Ensure to update the whole viewState after a job created files
Méven Car [Sat, 16 Dec 2023 12:14:17 +0000 (13:14 +0100)]
DolphinView: Ensure to update the whole viewState after a job created files

BUG: 476670

2 years agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Mon, 18 Dec 2023 02:56:57 +0000 (02:56 +0000)]
GIT_SILENT Sync po/docbooks with svn

2 years agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Sat, 16 Dec 2023 02:18:48 +0000 (02:18 +0000)]
GIT_SILENT Sync po/docbooks with svn

2 years agoResort directory size count after refreshing
Akseli Lahtinen [Fri, 15 Dec 2023 13:07:12 +0000 (13:07 +0000)]
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

2 years agoChange resortAllItemsInterval to 50ms
Akseli Lahtinen [Fri, 15 Dec 2023 13:01:21 +0000 (13:01 +0000)]
Change resortAllItemsInterval to 50ms

Related to https://invent.kde.org/system/dolphin/-/merge_requests/675

Reduces the delay for sorting items when something changes

2 years agoSet dockAction enabled according to settings
Akseli Lahtinen [Fri, 15 Dec 2023 10:17:21 +0000 (10:17 +0000)]
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

2 years agoDolphin: Remove unused code, fix clazy warnings
Méven Car [Tue, 5 Dec 2023 15:46:52 +0000 (16:46 +0100)]
Dolphin: Remove unused code, fix clazy warnings

2 years agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Thu, 14 Dec 2023 02:14:12 +0000 (02:14 +0000)]
GIT_SILENT Sync po/docbooks with svn

2 years agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Mon, 11 Dec 2023 02:14:50 +0000 (02:14 +0000)]
GIT_SILENT Sync po/docbooks with svn

2 years agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Sun, 10 Dec 2023 02:56:46 +0000 (02:56 +0000)]
GIT_SILENT Sync po/docbooks with svn

2 years agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Sat, 9 Dec 2023 02:15:00 +0000 (02:15 +0000)]
GIT_SILENT Sync po/docbooks with svn

2 years agoDo not reset expandability when loading previews
Akseli Lahtinen [Fri, 8 Dec 2023 10:59:19 +0000 (10:59 +0000)]
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

2 years agoDo not cache indexes across async tasks
David Edmundson [Thu, 7 Dec 2023 11:14:45 +0000 (12:14 +0100)]
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.

2 years agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Fri, 8 Dec 2023 02:15:54 +0000 (02:15 +0000)]
GIT_SILENT Sync po/docbooks with svn

2 years agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Wed, 6 Dec 2023 02:22:02 +0000 (02:22 +0000)]
GIT_SILENT Sync po/docbooks with svn

2 years agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Tue, 5 Dec 2023 02:13:27 +0000 (02:13 +0000)]
GIT_SILENT Sync po/docbooks with svn

2 years agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Mon, 4 Dec 2023 02:14:50 +0000 (02:14 +0000)]
GIT_SILENT Sync po/docbooks with svn

2 years agoGIT_SILENT Update Appstream for new release
Heiko Becker [Thu, 30 Nov 2023 16:54:58 +0000 (17:54 +0100)]
GIT_SILENT Update Appstream for new release

(cherry picked from commit beb28a4bdeac3b2b0eb6ca559acfeca9af1b530e)

2 years agoFix building with activities after the kactivities -> plasma-activities rename
Antonio Rojas [Thu, 30 Nov 2023 07:59:04 +0000 (08:59 +0100)]
Fix building with activities after the kactivities -> plasma-activities rename

2 years agoSet style to nullptr before painting listview
Akseli Lahtinen [Wed, 29 Nov 2023 16:00:34 +0000 (16:00 +0000)]
Set style to nullptr before painting listview

Resolves any possible dangling pointers
if application style is changed after
toggling the selection mode

BUG:477288

2 years agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Wed, 29 Nov 2023 14:18:36 +0000 (14:18 +0000)]
GIT_SILENT Sync po/docbooks with svn

2 years agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Tue, 28 Nov 2023 02:14:52 +0000 (02:14 +0000)]
GIT_SILENT Sync po/docbooks with svn

2 years agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Mon, 27 Nov 2023 02:15:27 +0000 (02:15 +0000)]
GIT_SILENT Sync po/docbooks with svn

2 years agoPlaces Panel: Swap "Open in Split View" and "Configure Trash"
Kai Uwe Broulik [Sat, 25 Nov 2023 22:21:51 +0000 (23:21 +0100)]
Places Panel: Swap "Open in Split View" and "Configure Trash"

Ensure the "open" actions are all in a row.

2 years agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Sun, 26 Nov 2023 02:58:51 +0000 (02:58 +0000)]
GIT_SILENT Sync po/docbooks with svn

2 years agoSVN_SILENT made messages (.desktop file) - always resolve ours
l10n daemon script [Sun, 26 Nov 2023 02:33:09 +0000 (02:33 +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"

2 years agoAdapt to renamed activities library repo
Nicolas Fella [Sat, 25 Nov 2023 15:04:48 +0000 (16:04 +0100)]
Adapt to renamed activities library repo

2 years agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Sat, 25 Nov 2023 02:11:31 +0000 (02:11 +0000)]
GIT_SILENT Sync po/docbooks with svn

2 years agoGIT_SILENT Upgrade release service version to 24.01.80.
Albert Astals Cid [Fri, 24 Nov 2023 23:27:30 +0000 (00:27 +0100)]
GIT_SILENT Upgrade release service version to 24.01.80.

2 years agoReduce status bar minimum width
Felix Ernst [Fri, 24 Nov 2023 11:18:19 +0000 (12:18 +0100)]
Reduce status bar minimum width

This is to make sure that when the window is resized it is less
likely that the places panel will be resized only because the
status bar doesn't want to become very narrow in width.

2 years agoTurn free space label into a flat button
Felix Ernst [Sat, 18 Nov 2023 11:31:00 +0000 (12:31 +0100)]
Turn free space label into a flat button

The usage of a label to show this space information is problematic
because there are features/actions hidden behind clicking the
label. A button makes this clear. It also fixes the accessibility
of this control because previously this info would never be read
out by screen readers as it couldn't get keyboard focus.

A side-effect of this change is that the free disk space bar looks
more normal with non-Breeze styles. This had been a long-standing
issue.

2 years agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Fri, 24 Nov 2023 02:13:23 +0000 (02:13 +0000)]
GIT_SILENT Sync po/docbooks with svn

2 years agoPort to KF6 rename of KUserFeedback
Jonathan Esk-Riddell [Fri, 10 Nov 2023 17:55:23 +0000 (17:55 +0000)]
Port to KF6 rename of KUserFeedback

2 years agoOnly use KActivities on Linux/BSD
Nicolas Fella [Thu, 23 Nov 2023 17:37:29 +0000 (18:37 +0100)]
Only use KActivities on Linux/BSD

2 years agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Thu, 23 Nov 2023 02:17:21 +0000 (02:17 +0000)]
GIT_SILENT Sync po/docbooks with svn

2 years agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Wed, 22 Nov 2023 02:12:49 +0000 (02:12 +0000)]
GIT_SILENT Sync po/docbooks with svn

2 years agopanels/information: Create pixmap with explicit devicePixelRatio
Kai Uwe Broulik [Mon, 20 Nov 2023 21:12:52 +0000 (22:12 +0100)]
panels/information: Create pixmap with explicit devicePixelRatio

2 years agoCreate thumbnails with scene devicePixelRatio
Kai Uwe Broulik [Mon, 20 Nov 2023 21:39:14 +0000 (22:39 +0100)]
Create thumbnails with scene devicePixelRatio

2 years agoviews: Use scene devicePixelRatio rather than qApp
Kai Uwe Broulik [Mon, 20 Nov 2023 13:16:18 +0000 (14:16 +0100)]
views: Use scene devicePixelRatio rather than qApp

When possible, use the devicePixelRatio from the scene which on Wayland
unlike the QApplication will properly support fractional scaling.

A KItemViewsUtils class is introduced that can be reused elsewhere.

2 years agodolphinview: Fix right-click on header whilst unfocused
Oliver Beard [Sun, 19 Nov 2023 17:58:37 +0000 (17:58 +0000)]
dolphinview: Fix right-click on header whilst unfocused

When the window is unfocused, there's no activeWindow and right-clicking on the header causes the menu to appear with window decorations.

2 years agodolphinview: Change case of status bar text
Oliver Beard [Thu, 16 Nov 2023 12:46:09 +0000 (12:46 +0000)]
dolphinview: Change case of status bar text
We should use lower case for this text, matching other strings (properties dialog, information panel).

2 years agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Mon, 20 Nov 2023 02:54:40 +0000 (02:54 +0000)]
GIT_SILENT Sync po/docbooks with svn

2 years agoGIT_SILENT: Port to new CI template
Laurent Montel [Sun, 19 Nov 2023 10:12:26 +0000 (11:12 +0100)]
GIT_SILENT: Port to new CI template

2 years agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Sun, 19 Nov 2023 02:29:57 +0000 (02:29 +0000)]
GIT_SILENT Sync po/docbooks with svn

2 years agoMake main view react to context menu events
Felix Ernst [Mon, 13 Nov 2023 16:50:24 +0000 (17:50 +0100)]
Make main view react to context menu events

Before this commit, Dolphin's main view would not react to any
context menu events. It only showed context menus based on
hard-coded mouse or keyboard events i.e. mouse right-click and
presses of the "Menu" key.

This commit removes those hard-coded reactions and instead makes it
so the view shows a context menu whenever a QContextMenuEvent is
received. Therefore, a context menu will now be opened when any
platform- or system-specific context menu triggers are invoked e.g.
the Shift+F10 keyboard shortcut.

Aside from this, the only side-effect is a partial removal of an
unrelated bug: Previously, the hover highlight on items was never
cleared when the header column in details view mode was hovered.
With this commit, the hover is now correctly cleared most of the
time.

2 years agoFix finding KActivities lib after its move to Plasma namespace
Antonio Rojas [Fri, 17 Nov 2023 08:17:18 +0000 (09:17 +0100)]
Fix finding KActivities lib after its move to Plasma namespace