Commit graph

6937 commits

Author SHA1 Message Date
l10n daemon script 5a3c57ffb2 GIT_SILENT made messages (after extraction) 2022-05-01 00:54:47 +00:00
l10n daemon script 1a8be1544d 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-04-30 01:42:27 +00:00
l10n daemon script 776d746c67 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-04-29 01:44:43 +00:00
Felix Ernst f08a8dd06b Merge branch 'release/22.04' 2022-04-27 13:08:09 +02:00
Felix Ernst e70e12e3bd Fix terminal panel not keeping up with dir changes
The terminal panel is supposed to show the same location as the
currently active Dolphin view at all times.

However there was an issue when the terminal is supposed to
quickly switch to a new location and then back again to the old
one. The terminal ignored the switch to the old location unless it
had already fully switched to the new location. Because it isn't
particularly fast at fully switching to the new location, it would
never do the expected thing of switching back to the old location.

This commit makes it so the switch to the old location is only
ignored if there are no in-progress switches to a different
location.

BUG: 391380

BUG: 416690

FIXED-IN: 22.04.2

Not totally sure if this fixes everything but it seems like an improvement.
2022-04-27 10:40:40 +00:00
l10n daemon script 8076b54a2c 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-04-27 01:46:00 +00:00
Eugene Popov 57c0c2db7e Revert "Combine modificationtime, creationtime and accesstime roles into one group"
This reverts commit b6640f4a135dce194242644d9d0622c0964e8f1d.
2022-04-26 13:42:04 +03:00
Eugene Popov ee16ff9b48 Eliminate remarks 2022-04-26 13:42:04 +03:00
Eugene Popov 937708e7d0 Combine modificationtime, creationtime and accesstime roles into one group 2022-04-26 13:42:04 +03:00
Eugene Popov e6f142e5e7 Add the ability to sort by file extension
Currently, Dolphin doesn't have the ability to sort by file extension (sorting by type means that files will be sorted by mimetype but not by extension). This MR fixes this shortcoming.

BUG: 429579
2022-04-26 13:42:04 +03:00
l10n daemon script c88ce580e6 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-04-26 01:43:17 +00:00
l10n daemon script 7153234e46 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-04-25 01:52:30 +00:00
Alexander Lohnau be95cd3025 Define MODULE type for KCM libraries
Otherwise, they will have the "lib" prefix
2022-04-24 20:58:47 +00:00
Alexander Lohnau 1618a3ed21 Convert desktop files of plugins to json
Task: https://phabricator.kde.org/T14564
2022-04-24 20:58:47 +00:00
Felix Ernst 6c91dfa47e Don't deselect on Ctrl+Right-Click
(Part of my work towards !273)

Currently, when items are selected and a user right-clicks a selected item
while having the Ctrl key pressed down, the item is first
deselected and then a context menu is opened that doesn't involve
the item that was just deselected.

This is slightly confusing because normally one right-clicks an
item to see its context menu. Right-click being able to deselect
an item seems like unintended functionality in the first place but
in this scenario it also means that the intended opening of a
context menu for the pressed item doesn't even happen.

There is a good chance that nobody is even aware of this behaviour
because the normal way to deselect an item would be to
Ctrl+Left-Click if anything. Why would someone choose to open a
context menu and deselect items in a single step? Why would they
have selected an item they don't want to open a context menu for in
the first place?

Because of a discussion in this merge request deselecting on Ctrl+Middle-Click was also
removed for consistency with Ctrl+Right-Click and
Ctrl+Shift+Middle-Click.

This commit also makes a later implementation of a selection mode
more straightforward.
2022-04-20 21:44:05 +00:00
Kai Uwe Broulik b3c8c1e24e Add additional Document role for "Author"
It comes in handy when organizing your books collection
2022-04-19 21:33:34 +02:00
l10n daemon script 0dfa3611de 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-04-19 01:48:03 +00:00
l10n daemon script 4012ea30c9 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-04-18 02:45:08 +00:00
l10n daemon script fb0a3c03a6 GIT_SILENT made messages (after extraction) 2022-04-17 00:50:15 +00:00
Heiko Becker 3ebe3975a6 GIT_SILENT Update Appstream for new release
(cherry picked from commit 06bd5b2ee9)
2022-04-12 23:17:58 +02:00
Heiko Becker 06bd5b2ee9 GIT_SILENT Update Appstream for new release 2022-04-12 23:17:49 +02:00
Heiko Becker 8684f99d5e GIT_SILENT Upgrade release service version to 22.04.0. 2022-04-12 23:09:27 +02:00
Kai Uwe Broulik d5d710ed0a Merge branch 'release/22.04' 2022-04-12 15:47:42 +02:00
Kai Uwe Broulik 0c7f7c92ed [Places Panel] Support drag and drop from Ark
Accepts Ark's special dnd mime types so that archive contents can
be dragged onto a place to extract and/or (mount and) switch to the
hovered location.
2022-04-11 18:01:51 +02:00
Laurent Montel f4a94b2601 GIT_SILENT: Add window CI support 2022-04-10 13:30:39 +02:00
Felix Ernst e321a9cc3e Merge branch 'release/22.04' 2022-04-09 11:27:42 +02:00
l10n daemon script c4092e9047 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-04-09 01:51:05 +00:00
Felix Ernst 3bf471e02a Add symmetric padding on right side of details view
There have been some reports that users were unable to figure out
that the padding on the left of the left-most "name" column can be
used for deselecting or for dropping file items. All of these
reports were by people using a Dolphin version in which that
padding was way too narrow because of a regression (that has since
been fixed). Nonetheless this highlights the potential problem that
some users might be unable to notice/figure out the usefulness of
the left padding.

This commit adds a similar area on the right side of the view when
the column widths are set automatically by Dolphin. The width of
the right padding column mirrors the width of the left padding
column when sized automatically. Both can manually be hidden or
resized similarly to resizing other columns.

There are various usability advantages to having this padding by
default on both sides of the view and not only on the left:
- The right margin is more discoverable since the item highlight
    ends right before the padding column
- Less mouse travel time to reach either of the areas
- More than double the likelihood of users figuring out the
    advantages of these padding areas for deselecting or dropping
- More visual symmetry

I had suggested also having this kind of right padding even before
the initial implementation of the left padding. The contributor
implementing it was in favour of it. It only wasn't implemented
because the contributor said it was impossible without a lot of
work. Turns out adding two characters at the right position seems
to suffice in most ways.

This commit does not contain the string change of renaming "Leading
Column Padding" to "Column Padding" (since it changes two paddings
now) to not infringe on the string freeze.

BUG: 452273
2022-04-08 11:44:58 +02:00
l10n daemon script e50ff16e68 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-04-07 02:58:35 +00:00
l10n daemon script 9a334caf7d 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-04-07 01:45:45 +00:00
Heiko Becker 2a3b731ca2 GIT_SILENT Upgrade release service version to 22.03.90. 2022-04-05 21:19:50 +02:00
l10n daemon script 50c3be0ca0 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-04-05 02:58:27 +00:00
l10n daemon script 989d19c126 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-04-05 01:51:00 +00:00
Felix Ernst 86df5ae994 Merge branch 'release/22.04' 2022-04-04 14:42:02 +02:00
Felix Ernst 2de8f4c0fb Improve details mode ctrl-press rubberband creation
Since d383961719 dragging the
highlighted row of already selected items in the details view mode
will begin a drag operation of all selected items.

As a unintended side-effect of this change, dragging the row of a
previously unselected item while holding the control key would also
begin a drag operation.

After this commit, dragging the row of a previously unselected item
while holding the control key in details view mode will instead
create a rubberband. Ctrl-dragging the item's icon or text directly will drag the item as expected.

With this change, using multiple rubberbands to select scattered
items among a list of items should be as convenient as it was
previously.

BUG: 452181
2022-04-04 12:39:37 +00:00
Felix Ernst fc965a725c Merge branch 'release/22.04' 2022-04-04 12:59:29 +02:00
Felix Ernst a4f9974daf Revert "KStandardItemListWidget: handle RtL drawing properly"
This reverts commit 3ce9d1d19e.
This reverts commit ddba4f5fd8.

Aside from the two bugs mentioned below, this also fixes another
regression: The spacing on the left of the view does now once again
follow the size of its column header.

BUG: 451704
BUG: 451341
2022-04-04 10:54:42 +00:00
Ben Cooksley 836690829d Baloo is available on Linux/FreeBSD only 2022-04-03 20:09:57 +12:00
Felix Ernst b3add25694 Refactor DolphinContextMenu so its actions are retrievable
This mostly red MR should have no visible effect. It is part of my work towards !273.

There are two calls necessary to open the DolphinContextMenu:
One to construct it and one to execute/show it.

Before this commit, the actual populating of the ContextMenu was
done on execute. This meant that the actions of the ContextMenu
couldn't be looked at or changed without first showing the Menu
to the user. It also meant that the construction itself didn't
actually do much constructing/populating at all which might seem
a bit unintuitive.

This commit changes this behaviour so the DolphinContextMenu is
actually populated fully on construction. The executing/showing of
the ContextMenu now does just that and nothing more.

Previously, some actions in the context menu were actually not
wired up to anything and instead the DolphinContextMenu or the
DolphinMainWindow executed some code after the user had clicked
such a dummy action from the ContextMenu. Now all the actions are
properly constructed beforehand and no special handling is
necessary when the ContextMenu hides itself.

This commit removes the pos parameter from the DolphinContextMenu
constructor. This parameter contained the position where the Menu
would be shown later. This information isn't necessary to have on
construction and was already part of the exec(pos) call in the
first place. The variable m_pos that stored the value is removed.

This commit also removes a "customActions" functionality that can
supposedly be used to add further custom actions to the
DolphinContextMenu but this functionality isn't ever used
anywhere so its usefulness is questionable. It also wouldn't be
difficult to re-add this functionality if it was ever required for
something.

This commit also addresses an old TODO in dolphinpart.cpp that
asked for the calls for opening the DolphinContextMenu to actually
contain the information for which items the DolphinContextMenu is
supposed to be constructed. Before this, only the item that was
directly clicked was transmitted and then DolphinContextMenu
retrieved the currently selected set of items by itself.
It makes more sense that DolphinContextMenu would be informed on
construction which items it is supposed to show context actions
for.

Most of this is necessary so we are able to show the contextual
actions anywhere else than in the ContextMenu in the future.

I am targeting 22.08 with this MR because it makes no sense to merge a refactor for the upcoming release already.
2022-04-02 17:00:58 +00:00
Alexander Lohnau 0c38a27cc0 Install servicemenus in new install location
Since KIO 5.85, this new file location is preferred over the
KServiceTypeTrader results.

With this change, single desktop files from the KDE store are installed
in the correct location. If however a custom install script is used,
developers need to adjust their scripts.

Because the "kio/servicemenus" locations is different than the one
KAuthorized allows by default, we have to mark the file as executable.

Task: https://phabricator.kde.org/T14543
2022-04-01 17:55:11 +00:00
Felix Ernst 0e15ff7f14 Merge branch 'release/22.04' 2022-04-01 12:17:25 +02:00
George Florea Bănuș 29383426d6 Fix tooltip closing while mouse moves over item
The itemHovered signal is emitted whenever the mouses moves causing the
tooltip to close.
2022-04-01 10:12:05 +00:00
l10n daemon script 356ccd21b4 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-04-01 02:03:03 +00:00
Nicolas Fella 3ccc0420a6 Merge branch 'release/22.04' 2022-04-01 00:13:19 +02:00
Nicolas Fella 1041b52c7a Don't crash when mountpoint is not found
findByPath may return a nullptr, in that case don't access it

BUG: 452100
2022-03-31 23:24:59 +02:00
Kai Uwe Broulik 64ffcdad4f [ToolTipManager] Create DolphinFileMetaDataWidget on-demand again
This reverts b7fbd19a76 but creates the
widget only once and then reuses it.

However, ownership of a parent-less widget is transferred to the
`KToolTipWidget` but since we first request metadata, then show the
tooltip (or won't if the mouse moved on since), we cannot rely on
the `KToolTipWidget` exclusively.

Instead, when we still delete the widget ourself until we have
shown the `KToolTipWidget` once at which point it will handle the
life time for us.

This fixes parenting the widget to `DolphinView` which would make
it appear as a broken line in the top left of the window.
2022-03-31 14:22:24 +02:00
l10n daemon script a8966d230c 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-03-29 03:51:20 +00:00
l10n daemon script c7531ba749 GIT_SILENT made messages (after extraction) 2022-03-29 03:00:38 +00:00
l10n daemon script 447c35868c 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-03-29 02:21:23 +00:00
l10n daemon script d658c7e090 GIT_SILENT made messages (after extraction) 2022-03-29 00:58:32 +00:00