Commit graph

7949 commits

Author SHA1 Message Date
Felix Ernst
13cf4c096f Fix saving sort role after change from header
This is a partial revert of
5186f09cab. That commit tried to
simplify code, however this lead to the saving of view properties
being skipped, introducing the linked bug.

The issue is that by the time the slotSortRoleChangedFromHeader()
method is called, the model already changed its sort role.
Therefore the check if the new role is identical to the old sort
role fails and no saving would occur.

With this partial revert the header will continue to change the
sort role itself (which allows a minor optimization of not double
sorting when also changing the sort order at the same time). The
method slotSortRoleChangedFromHeader() is then only responsible
for saving that change in the ViewProperties and telling the
SortBy menu in the user interface that the sorting has changed.

BUG: 480246
2024-04-09 05:53:41 +00:00
l10n daemon script
10d3c1e55f GIT_SILENT Sync po/docbooks with svn 2024-04-09 01:29:56 +00:00
Heiko Becker
2df8de8fcb GIT_SILENT Update Appstream for new release
(cherry picked from commit 6c00620392)
2024-04-08 17:05:41 +02:00
l10n daemon script
f7c774017a GIT_SILENT Sync po/docbooks with svn 2024-04-08 01:29:24 +00:00
l10n daemon script
2ab75d3567 GIT_SILENT Sync po/docbooks with svn 2024-04-07 01:27:55 +00:00
Jin Liu
d6beab23ec Change "Could not" to "Cannot" in error messages
To align with KIO
2024-04-06 17:13:10 +08:00
l10n daemon script
a4fa160e15 GIT_SILENT Sync po/docbooks with svn 2024-04-06 01:28:42 +00:00
Amol Godbole
24268a4df5 KItemListController: don't create rubber band for a right click in an empty region
Rubber band was being incorrectly created for a right click in an empty region.
Handle this case in KItemListController::onPress().

BUG: 484881
2024-04-05 13:47:10 +00:00
l10n daemon script
282e809b34 GIT_SILENT Sync po/docbooks with svn 2024-04-05 01:26:22 +00:00
Méven Car
b9024361fa versioncontrol: make observer the sole owner of plugins
Also properly shutdown thread.
2024-04-04 13:39:47 +02:00
Méven Car
95e88ff1fc kitemlist: don't open dir when double-click on expand arrow
BUG: 484688
2024-04-04 09:44:52 +02:00
l10n daemon script
252ce41a4f GIT_SILENT Sync po/docbooks with svn 2024-04-04 01:30:48 +00:00
Jin Liu
7d49cb567b DolphinMainWindow: show a banner when the user presses the shortcut of a disabled action
Currently, there's no feedback when the user presses a shortcut of a disabled
action, e.g. cut / paste in a read-only directory. This patch shows a banner
in that case.

It's implemented by enabling a QShortcut for each disabled action. the
QShortcut is deleted when the action is enabled again.

The following actions are included:
cut
paste
rename
moveToTrash
deleteWithTrashShortcut
deleted
createDir
copyToOtherView
moveToOtherView
2024-04-03 12:34:50 +00:00
l10n daemon script
e75bfea1cb GIT_SILENT Sync po/docbooks with svn 2024-04-03 01:30:41 +00:00
Nate Graham
fc120fab3b Mark servicemenu items' KNS content as risky
By design, these items will run arbitrary shell scripts on the user's
machine. That makes them security-sensitive and risky. Mark them
accordingly so the user is informed of the risk.

Depends on https://invent.kde.org/frameworks/knewstuff/-/merge_requests/309
2024-04-02 08:35:05 -06:00
l10n daemon script
f7834f3c6f GIT_SILENT Sync po/docbooks with svn 2024-04-02 01:20:58 +00:00
l10n daemon script
8106488c4d GIT_SILENT Sync po/docbooks with svn 2024-03-31 01:42:31 +00:00
Eugene Popov
efbae76afe Fix layout in Compact View mode for RTL
This MR fixes the layout in Compact View mode when items are grouped.
2024-03-30 12:21:58 +00:00
Eugene Popov
181c33a159 Fix selection marker for RTL
This MR makes the selection marker to be shown on the right in RTL mode.
2024-03-30 11:54:13 +00:00
Méven Car
c57b0c422b Contextmenu: add a separator before vcs actions 2024-03-30 12:12:58 +01:00
l10n daemon script
d1098049db GIT_SILENT Sync po/docbooks with svn 2024-03-30 01:21:19 +00:00
l10n daemon script
da15d5bf85 GIT_SILENT Sync po/docbooks with svn 2024-03-29 01:42:45 +00:00
Méven Car
9cadc790c7 Also use breeze style on macOS 2024-03-28 10:56:16 +00:00
Julius Künzel
b30eabbee2 Use breeze style on Windows
Most KDE apps to the same
2024-03-28 10:56:16 +00:00
Felix Ernst
231200e680 Add comment to explain KColorSchemeManager 2024-03-28 10:55:07 +00:00
Julius Künzel
d30c921e8f KColorSchemeManager only on Windows and macOS 2024-03-28 10:55:07 +00:00
Julius Künzel
aeb704851d Use KColorSchemeManager
Fixes the dark theme on Windows
2024-03-28 10:55:07 +00:00
l10n daemon script
cf3732087b GIT_SILENT Sync po/docbooks with svn 2024-03-28 01:50:11 +00:00
Tem PQD
d1b06ab94f Touch up various user-visible strings
This improves consistency among wording. More clarity is achieved
by avoiding technical terms or terms with multiple meanings.

Notable changes:
-Specify full settings path: "Configure Dolphin > View > General"
in Show Hidden Files whatsThis
-Mention setting to hide files with application/x-trash MIME type
in "Show Hidden Files" whatsThis
-Mention Split View mode in "Copy/Move to Other View" whatsThis
-Reword "Activate Tab" actions to "Go to Tab" (Next, Previous,
Last, numbers)
-Add "Last Tab" iconText, consistent with "Next Tab" & "Previous
Tab"
-Update Split View whatsthis to explain how to tell which view is
"in focus" visually
-Replace "pane" with "view" in split view settings text, and
clarify tooltip text
-Reword "objects" to "items" in whatsThis texts
-Reword "find bar" to "search bar" in Search button whatsThis text
2024-03-27 23:52:18 +00:00
Eugene Popov
240d33ce17 Better support for RTL
This MR fixes some issues related to RTL scripts:
- wrong layout in Compact View mode
- broken horizontal scrolling in Icon View and Details View modes
- broken navigation with left and right arrow keys in Details View mode

BUG: 484012  
BUG: 449493
2024-03-27 10:28:15 +00:00
l10n daemon script
7a7cab61b6 GIT_SILENT Sync po/docbooks with svn 2024-03-27 01:43:53 +00:00
l10n daemon script
4725126090 GIT_SILENT Sync po/docbooks with svn 2024-03-26 01:43:30 +00:00
Méven Car
5d738f51a6 Use craft to build for windows 2024-03-25 16:06:32 +00:00
Julius Künzel
b318ec31bb Fix right-mouse click crashes on Windows 2024-03-25 16:05:22 +00:00
l10n daemon script
d385c4d4c8 GIT_SILENT Sync po/docbooks with svn 2024-03-25 01:43:37 +00:00
Méven Car
d270700c0e versioncontrol: Prevent a use-after-free in UpdateItemStatesThread
UpdateItemStatesThread kept a pointer reference to m_plugin whose
lifetime was tied to VersionControlObserver parents.
On application shutdown it could happen the thread is still running when
the Observer is destroyed.

Make the plugin pointer a weak reference, allowing to stop the thread
when the plugin is gone.

BUG: 477425
2024-03-24 11:55:54 +01:00
l10n daemon script
5795d57dcb GIT_SILENT Sync po/docbooks with svn 2024-03-24 01:25:23 +00:00
Eugene Popov
bddf439124 Avoid wrapping text in the status bar
The size of the status bar isn't intended to display multiline text.
2024-03-23 21:02:24 +00:00
Eugene Popov
b3ac8d783b KItemListView: Improve scrollToItem()
Prevent an item with a long name from scrolling to the right edge when navigating in Compact View mode.
2024-03-23 09:30:29 +00:00
l10n daemon script
325380ffd1 GIT_SILENT Sync po/docbooks with svn 2024-03-23 01:24:26 +00:00
l10n daemon script
6e93b63551 GIT_SILENT Sync po/docbooks with svn 2024-03-22 01:23:02 +00:00
l10n daemon script
c651a17e97 GIT_SILENT Sync po/docbooks with svn 2024-03-21 01:25:52 +00:00
l10n daemon script
7294263703 GIT_SILENT Sync po/docbooks with svn 2024-03-20 01:26:34 +00:00
l10n daemon script
d054ecaaed GIT_SILENT Sync po/docbooks with svn 2024-03-19 01:27:30 +00:00
Kai Uwe Broulik
f97c61ffac DolphinContextMenu: Add hint that secondary app will be opened by middle click
Displays it in the menu like a keyboard shortcut. Otherwise nobody
will ever find this feature.
2024-03-18 17:48:28 +00:00
l10n daemon script
731059d0ce GIT_SILENT Sync po/docbooks with svn 2024-03-18 01:43:29 +00:00
l10n daemon script
29519de9f6 GIT_SILENT Sync po/docbooks with svn 2024-03-17 01:41:47 +00:00
Nicolas Fella
d7c1799057 Save 'Open Archives as Folders' setting
This got lost in 489b56b68b

BUG: 474500
2024-03-16 15:23:11 +01:00
l10n daemon script
6e95d2b985 GIT_SILENT Sync po/docbooks with svn 2024-03-16 01:46:34 +00:00
l10n daemon script
d7bdba870b 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"
2024-03-16 01:17:09 +00:00