Commit graph

7244 commits

Author SHA1 Message Date
l10n daemon script 249c87e11c GIT_SILENT Sync po/docbooks with svn 2023-01-24 02:31:21 +00:00
l10n daemon script 07b22d8474 GIT_SILENT Sync po/docbooks with svn 2023-01-23 02:17:34 +00:00
l10n daemon script 7be0f2d6fb GIT_SILENT Sync po/docbooks with svn 2023-01-22 02:34:53 +00:00
l10n daemon script 83964c2071 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"
2023-01-22 02:03:57 +00:00
l10n daemon script 579eadeb6d GIT_SILENT made messages (after extraction) 2023-01-22 01:00:52 +00:00
Oliver Beard 86d89c3bd1 Use both split view names in tab names
When the tab is a split view, use the name of both views rather than only the active view.
2023-01-19 22:33:10 +00:00
l10n daemon script c709386185 GIT_SILENT Sync po/docbooks with svn 2023-01-19 02:40:35 +00:00
l10n daemon script 2263e577ff GIT_SILENT Sync po/docbooks with svn 2023-01-17 02:47:24 +00:00
Willyanto Willyanto 0a0f0c76db Replace qswap with std::swap
Fixes obsolete function 'qSwap' called. It is recommended to use 'std::swap'
instead. (CWE-477)
2023-01-16 23:45:56 +07:00
l10n daemon script bf0260642b GIT_SILENT Sync po/docbooks with svn 2023-01-16 02:31:47 +00:00
Nicolas Fella 7df627a7d6 Add missing KCodecs link 2023-01-15 01:38:10 +01:00
l10n daemon script 135174d6b2 GIT_SILENT Sync po/docbooks with svn 2023-01-14 17:52:30 +00:00
l10n daemon script 975a346ee2 GIT_SILENT Sync po/docbooks with svn 2023-01-14 02:23:52 +00:00
l10n daemon script 4002dd567b GIT_SILENT Sync po/docbooks with svn 2023-01-13 03:27:27 +00:00
Kai Uwe Broulik afba1fd4f3 Update split action when settings change
In case "closing split view closes active view" setting is changed
2023-01-12 17:50:21 +00:00
l10n daemon script 6a95adf857 GIT_SILENT Sync po/docbooks with svn 2023-01-12 02:25:07 +00:00
Felix Ernst df5cf6fe85 Adapt autotest to new expected "Space" key behaviour
The old expected behaviour was that pressing Space would select
the current item. We now trigger selection mode instead and don't
select. At some point in the future we might want to instead have
Space trigger a "QuickLook" feature for quick viewing of full
files. In any case, the old behaviour of having Space select is
no longer expected, but Ctrl+Space can still be used for this.

It might also make sense to have Space trigger the old selection
behaviour if both selection mode and "QuickLook" are disabled, but
that is very low priority and will cause more code complexity than
the non-default benefits are worth.
2023-01-11 16:11:36 +01:00
Felix Ernst 44c82a16b3 Make space shortcut for selection mode view-local instead of global
Before this commit, the "Space" keyboard shortcut was bound to
triggering selection mode by default. After this commit, pressing
"Space" will only trigger selection mode when the file view area
has keyboard focus.

Pros:
+ Other buttons in the UI can be triggered with Space once again
  just like it is expected from an accessibility point of view.
+ "Type-ahead" searching works once more when typing the space
  char for file names containing such a space char.

Cons:
- "Space" can no longer be used to add the currently underlined
  item to the selection. Instead "Ctrl+Space" needs to be used.
  (However, this is the current status anyway unless a user has
  manually unbound "Space" as a shortcut from Selection Mode.)
- The Selection Mode action will no longer show "Space" as its
  shortcut in menus.

Overall, I see solutions to all of these problems, but they seem
over-engineered for the issues they are trying to solve, so I
believe this somewhat small commit is the best solution for now.

BUG: 458282
BUG: 458281
CCBUG: 463048
FIXED-IN: 23.04
2023-01-11 15:49:20 +01:00
Fabian Vogt eab9205c31 Remove unnecessary method parameter
(cherry picked from commit ee919ea329)
2023-01-09 16:21:34 +01:00
Fabian Vogt 50b9913233 Fix size of directories if a subdir fails to open
If opening the directory fails, it returns -1 as size. Don't add that to the
parent's total size.

(cherry picked from commit a6490755ca)
2023-01-09 16:21:33 +01:00
Fabian Vogt a81b287e7a Don't recurse into symlinks when counting directory contents
Symlink contents should not be visited for the purpose of displaying sizes.
Not only is potentially misleading because the storage is actually used
elsewhere (the target location), it can be completely wrong as contents can
be visited multiple times, even recursively.

BUG: 434125
(cherry picked from commit 491068a440)
2023-01-09 16:21:31 +01:00
Felix Ernst eede574723 Fix potential nullptr de-reference
The `break` that is replaced by a `return` here would only break
out of the innermost while loop so the std::vector::end could still
become accessed after that. By returning here we completely exit
out of both nested loops and therefore don't access the
std::vector::end.
2023-01-08 15:07:16 +01:00
l10n daemon script 1ea868f2f8 GIT_SILENT Sync po/docbooks with svn 2023-01-08 02:28:16 +00:00
l10n daemon script 1c4baff760 GIT_SILENT Sync po/docbooks with svn 2023-01-07 03:13:13 +00:00
l10n daemon script 07e3d025b7 GIT_SILENT Sync po/docbooks with svn 2023-01-06 02:58:34 +00:00
l10n daemon script 89f6b1f646 GIT_SILENT Sync po/docbooks with svn 2023-01-05 02:33:27 +00:00
l10n daemon script 1e6efdcae1 GIT_SILENT Sync po/docbooks with svn 2023-01-04 03:13:12 +00:00
l10n daemon script db9fee3ccf GIT_SILENT Sync po/docbooks with svn 2023-01-03 03:39:50 +00:00
Albert Astals Cid 2b11166bb2 GIT_SILENT Update Appstream for new release
(cherry picked from commit 28f49e6b91)
2023-01-03 00:14:37 +01:00
l10n daemon script 3822ba380f GIT_SILENT Sync po/docbooks with svn 2023-01-02 03:11:45 +00:00
l10n daemon script d11d478148 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"
2023-01-02 02:34:18 +00:00
l10n daemon script dccd8c4899 GIT_SILENT made messages (after extraction) 2023-01-02 01:08:31 +00:00
l10n daemon script 0c1157f316 GIT_SILENT Sync po/docbooks with svn 2023-01-01 03:15:01 +00:00
Nicolas Fella 6d21deb6e4 Properly use X11 startup ids
When one instance of Dolphin activates another it passes a startupId (X11) / activation token (wayland) along.

On X11 this is passed using the DESKTOP_STARTUP_ID environment variable. The code tries to read that through KStartupInfo::startupId().

That doesn't work though, since Qt at startup reads the environment variable afterwards. However, it is nice enough to allow us to access
it through QX11Info::nextStartupId(). Use that to read the token in the first instance and pass it to the second instance like we do on Wayland

The user-facing impact of this is minimal since KStartupInfo::setNewStartupId internally falls back to KWindowSystem::forceActiveWindow when no
startupId is passed.
2022-12-30 12:33:01 +00:00
l10n daemon script 414311b8c8 GIT_SILENT Sync po/docbooks with svn 2022-12-30 10:06:37 +00:00
l10n daemon script b2c8d3c995 GIT_SILENT Sync po/docbooks with svn 2022-12-30 02:48:16 +00:00
l10n daemon script 36fda229fe 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"
2022-12-30 02:12:34 +00:00
l10n daemon script 88c504b381 GIT_SILENT Sync po/docbooks with svn 2022-12-28 02:26:54 +00:00
l10n daemon script df11f2f168 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"
2022-12-28 02:03:50 +00:00
l10n daemon script 42fd1964bd GIT_SILENT made messages (after extraction) 2022-12-28 00:52:36 +00:00
Laurent Montel 2aa64b2c38 Not use forward and includes 2022-12-26 13:22:44 +01:00
l10n daemon script 02fd1c1ecb GIT_SILENT Sync po/docbooks with svn 2022-12-25 03:17:06 +00:00
l10n daemon script ce492eb685 GIT_SILENT Sync po/docbooks with svn 2022-12-24 02:19:38 +00:00
l10n daemon script 73d025b896 GIT_SILENT Sync po/docbooks with svn 2022-12-23 02:15:30 +00:00
l10n daemon script b508215d34 GIT_SILENT Sync po/docbooks with svn 2022-12-21 02:16:43 +00:00
Laurent Montel 7d3bf84e9d Remove duplicate headers between cpp/h files 2022-12-20 21:54:57 +01:00
l10n daemon script 2fd151774c GIT_SILENT Sync po/docbooks with svn 2022-12-17 12:38:52 +00:00
l10n daemon script 64710d0197 GIT_SILENT Sync po/docbooks with svn 2022-12-17 02:23:12 +00:00
l10n daemon script 42b57060dc GIT_SILENT Sync po/docbooks with svn 2022-12-16 02:30:54 +00:00
l10n daemon script 0e22101ac3 GIT_SILENT Sync po/docbooks with svn 2022-12-15 02:25:22 +00:00