Commit graph

7402 commits

Author SHA1 Message Date
l10n daemon script
4cf179ed31 GIT_SILENT Sync po/docbooks with svn 2022-10-31 03:14:01 +00:00
Heiko Becker
6ed5aedb20 GIT_SILENT Update Appstream for new release
(cherry picked from commit 98ec3e98a0)
2022-10-30 21:47:37 +01:00
l10n daemon script
5f974d7208 GIT_SILENT Sync po/docbooks with svn 2022-10-30 02:13:22 +00:00
l10n daemon script
417eeced08 GIT_SILENT Sync po/docbooks with svn 2022-10-29 02:14:42 +00:00
l10n daemon script
22da90be53 GIT_SILENT Sync po/docbooks with svn 2022-10-28 02:24:45 +00:00
Felix Ernst
f267544472 Fix view mode-specific settings not always applying
When the current view mode is different from the view mode for
which settings were changed in Dolphin's settings dialog, those
changes were sometimes not present when then changing the view
mode of a view to the view mode for which settings were changed.

This commit fixes this by always loading the settings for all view
modes in the DolphinItemListView even if the view is currently
using only one of those view modes.
2022-10-27 09:40:03 +00:00
Felix Ernst
57cdee5951 Change the full row highlight checkbox to radiobuttons
This commit changes how the setting to switch between full row
highlight and the old way of only having the icons and names be
activatable in details mode is presented on the settings page.

Before this commit a singular checkbox is used that talks about
the highlight effect.

But the highlight effect isn't actually what users should be
interested in. They mostly care how much of the area can be used to
activate an item. To make this clear this commit uses radio buttons
instead that give a distinctive choice between activation areas.
2022-10-27 09:40:03 +00:00
Felix Ernst
a4fc7b0be9 Make details column text readable
When not using the full row highlight, the text of non-name columns
in details view mode was wrongly colored in a way that pretended
that the full row selection highlight was active.

When it isn't active we use the normal color that we generally use
when the additional information is not within the selection
highlight.
2022-10-27 09:40:03 +00:00
Felix Ernst
9478f14730 Make details view mode's full row activation optional
In d383961719 the details view mode
was changed in a way that made the full row of an item the click
target instead of only having the item's icon and text be the
representative clickable area of an item.

This commit makes this new behaviour optional through a setting
which can be changed in Dolphin's settings dialog.

The explanation for introducing yet another setting in this case is
as follows:

While the introduced change is an improvement for many typical
workflows, there are some workflows for which this new behaviour
is problematic. Quite prominently a usage of Dolphin that tries
to maximise information density is made worse by the change because
now side padding is necessary to click the view's background. While
the side padding is and was optional, disabling it made switching
the active view in split view mode more difficult among other
things. For a more complete discussion about the issues, please
check out the bug report(s) and the discussion in Dolphin's gitlab
issue with number 34.

Co-authored-by: Ivan Čukić <ivan.cukic@kde.org>

BUG: 453700
FIXED-IN: 22.12
2022-10-27 09:40:03 +00:00
l10n daemon script
3590619391 GIT_SILENT Sync po/docbooks with svn 2022-10-27 02:15:26 +00:00
l10n daemon script
3d7abd2326 GIT_SILENT Sync po/docbooks with svn 2022-10-26 02:17:33 +00:00
l10n daemon script
21b9bcc7c6 GIT_SILENT Sync po/docbooks with svn 2022-10-25 02:19:13 +00:00
l10n daemon script
c74d844ec2 GIT_SILENT Sync po/docbooks with svn 2022-10-23 02:09:26 +00:00
l10n daemon script
e89ec10c98 GIT_SILENT Sync po/docbooks with svn 2022-10-21 02:19:55 +00:00
l10n daemon script
aa140474e9 GIT_SILENT Sync po/docbooks with svn 2022-10-20 03:30:34 +00:00
l10n daemon script
3333246dba 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-10-20 02:11:03 +00:00
l10n daemon script
58ff9c9cc8 GIT_SILENT made messages (after extraction) 2022-10-20 00:54:36 +00:00
Ahmad Samir
1d04d04cf3 Fix build with older KF versions
GIT_SILENT
2022-10-19 17:45:10 +02:00
l10n daemon script
29f283277b GIT_SILENT Sync po/docbooks with svn 2022-10-19 02:13:26 +00:00
l10n daemon script
60735888dd GIT_SILENT Sync po/docbooks with svn 2022-10-17 02:30:26 +00:00
Laurent Montel
ffb39daa15 Add Qt6 windows CI support 2022-10-16 15:02:22 +00:00
Laurent Montel
3834cf786b Fix compile against qt6.4
"error C2397: conversion from 'qsizetype' to 'int' requires a narrowing
conversion"
2022-10-16 17:02:04 +02:00
Ahmad Samir
197a7f6905 Port away from deprecated KIO API 2022-10-16 13:13:55 +02:00
Ahmad Samir
a0c0b43b97 DolphinTrash: port away from deprecated KIO API
Also change empty() method to return void, nothing was using the KJob * it was returning.
2022-10-16 13:13:22 +02:00
l10n daemon script
673c54ce35 GIT_SILENT Sync po/docbooks with svn 2022-10-16 02:25:35 +00:00
Felix Ernst
75679f628a Fix dismiss button in selection mode paste bar
This one liner changes the signal that is emitted when the
"Dismiss" button is pressed on the Paste bottom bar in selection
mode. Before this commit, the `leaveSelectionModeRequested()`
signal was used but it had no effect because technically the
selection mode isn't active anymore when the paste bar is shown.

Everything works as expected if instead
`barVisibilityChangeRequested()` is emitted.
2022-10-15 08:44:41 +00:00
Friedrich W. H. Kossebau
5be69f0dab Port away from deprecated KMessageBox Yes/No
GIT_SILENT
2022-10-15 07:18:34 +00:00
l10n daemon script
a509bd7629 GIT_SILENT Sync po/docbooks with svn 2022-10-15 02:22:25 +00:00
Nicolas Fella
6c19e73367 Fix Wayland window activation when attaching to an existing instance
The application launching Dolphin passes a token via the XDG_ACTIVATION_TOKEN environment variable

We need to pass that to the running instance so that it can use it to raise itself
2022-10-14 14:46:29 +00:00
l10n daemon script
354aba3c85 GIT_SILENT Sync po/docbooks with svn 2022-10-14 02:12:06 +00:00
l10n daemon script
b65fcbbcdd GIT_SILENT Sync po/docbooks with svn 2022-10-13 02:13:17 +00:00
Andrey Butirsky
c628c9d64d fix opening new windows unnecessary
fixes a regression introduced by
https://invent.kde.org/utilities/ark/-/merge_requests/44

BUG: 440663
2022-10-12 20:04:07 +00:00
Laurent Montel
9e2418f025 Remove unused includes 2022-10-12 13:48:32 +02:00
l10n daemon script
e9b8a36932 GIT_SILENT Sync po/docbooks with svn 2022-10-12 02:06:29 +00:00
Felix Ernst
0c8183afed Rename variable
Based on code review feedback by Andrey Butirsky.
2022-10-11 16:25:39 +02:00
Felix Ernst
37a98417cd Add helper methods to tab widget for view containers
This commit introduces the private getter
DolphinTabWidget::viewContainerAt(ViewIndex)
and another private method
DolphinTabWidget::activateViewContainerAt(ViewIndex).

Both methods return nullptr if there is no valid
DolphinViewContainer at the specified ViewIndex.
2022-10-11 15:26:31 +02:00
Felix Ernst
4d81aabd1e Fix item highlighting through DBus
Before this commit, even items that are distant children of
currently open views were considered selectable. This lead to the
bug that items meant to be highlighted through DBus would not be
highlighted if any ancestor of the item was open in any view.

This was fixed by only considering items in view if they can be
seen by scrolling. Main difficulty here was to make this also work
for the details view mode which allows expanding.

To implement this cleanly, some refactoring seemed necessary
because the logic to determine if an item is already in view
was previously intertwined with the logic to identify already open
directories.

This commit also contains the following refactorings aiming to
make the code more readable:
- A magic value (-1) is replaced using std::optional.
- A boolean trap is removed.
- A QPair is replaced by a struct with named variables.
- More and improved documentation
2022-10-11 15:26:31 +02:00
Laurent Montel
8916a647d6 don't use const'ref here (found by clazy) 2022-10-11 08:59:26 +02:00
Laurent Montel
8e0d84d0af Remove unused include 2022-10-11 08:59:19 +02:00
Laurent Montel
6b0483bf8a Use std::chrono_literals 2022-10-11 08:59:06 +02:00
Laurent Montel
a490a6625b Use QStringLiteral 2022-10-11 08:58:50 +02:00
Laurent Montel
a50cc58e1b Use const'ref 2022-10-11 08:58:40 +02:00
Laurent Montel
bb30d8f01a Remove unused includes 2022-10-11 08:51:12 +02:00
Laurent Montel
a5c0f7588a Show all includes in qtc6 2022-10-11 08:51:03 +02:00
Laurent Montel
40cc5f665d port to KIO::createDefaultJobUiDelegate 2022-10-11 08:46:12 +02:00
Heiko Becker
d3617c06d4 GIT_SILENT Update Appstream for new release
(cherry picked from commit 87d846346d)
2022-10-10 21:48:22 +02:00
l10n daemon script
eb922b0d7b GIT_SILENT Sync po/docbooks with svn 2022-10-09 02:17:53 +00:00
l10n daemon script
932cd56ece GIT_SILENT Sync po/docbooks with svn 2022-10-08 10:59:47 +00:00
Marco Martin
71ea4a88d8 Replace context menu on long press with selection mode
on long touch (and not on mouse press) don't pop up the context menu
anymore but enter selection mode, similar behavior to mobile applications.
the full context menu is still available from the actions toolbar
appearing in selection mode
2022-10-08 07:02:00 +00:00
l10n daemon script
84c4701bef GIT_SILENT Sync po/docbooks with svn 2022-10-07 02:31:45 +00:00