]> cloud.milkyroute.net Git - dolphin.git/log
dolphin.git
3 years agoAdd Qt6 CI support
Laurent Montel [Tue, 31 May 2022 19:15:47 +0000 (21:15 +0200)]
Add Qt6 CI support

3 years agoGIT_SILENT made messages (after extraction)
l10n daemon script [Wed, 1 Jun 2022 00:56:17 +0000 (00:56 +0000)]
GIT_SILENT made messages (after extraction)

3 years agoIt's enabled by default in qt6
Laurent Montel [Tue, 31 May 2022 19:13:09 +0000 (21:13 +0200)]
It's enabled by default in qt6

3 years agoWe depend against kf5.91 => remove check
Laurent Montel [Tue, 31 May 2022 19:12:01 +0000 (21:12 +0200)]
We depend against kf5.91 => remove check

3 years agoFix building KF6 with PackageKit-Qt
Ahmad Samir [Sat, 7 May 2022 14:59:05 +0000 (16:59 +0200)]
Fix building KF6 with PackageKit-Qt

3 years agoFix build with Qt6 QFont::setWeight()
Ahmad Samir [Thu, 5 May 2022 20:16:51 +0000 (22:16 +0200)]
Fix build with Qt6 QFont::setWeight()

In Qt5 it takes an int, in Qt6 it takes a QFont::Weight.

3 years agoAdd missing includes needed to build with KF6
Ahmad Samir [Fri, 6 May 2022 16:17:41 +0000 (18:17 +0200)]
Add missing includes needed to build with KF6

Apparently KPluginMetaData was implicitly included by something else.

3 years agoKServiceTypeTrader has been deprecated since KService 5.90
Ahmad Samir [Fri, 6 May 2022 16:15:33 +0000 (18:15 +0200)]
KServiceTypeTrader has been deprecated since KService 5.90

3 years agoFix version macro with respect to finding "KFileItemAction/Plugin" services
Ahmad Samir [Fri, 6 May 2022 16:12:57 +0000 (18:12 +0200)]
Fix version macro with respect to finding "KFileItemAction/Plugin" services

GIT_SILENT

3 years agoPort away from deprecated KNewStuff API
Ahmad Samir [Fri, 6 May 2022 15:36:12 +0000 (17:36 +0200)]
Port away from deprecated KNewStuff API

3 years agoMerge two relevant ifdef blocks
Ahmad Samir [Fri, 6 May 2022 15:26:15 +0000 (17:26 +0200)]
Merge two relevant ifdef blocks

GIT_SILENT

3 years agoFix building kfileitemmodeltest with KF6
Ahmad Samir [Thu, 5 May 2022 20:15:14 +0000 (22:15 +0200)]
Fix building kfileitemmodeltest with KF6

- Fix kio_version.h include
- Explicitly create a QSet for QCOMPARE

3 years agoPort away from copying QEvent when building with Qt6
Ahmad Samir [Thu, 5 May 2022 20:12:42 +0000 (22:12 +0200)]
Port away from copying QEvent when building with Qt6

Copying QEvent in Qt6 isn't allowed, instead use clone().

3 years agoKdelibs4ConfigMigrator is deprecated in KF6
Ahmad Samir [Thu, 5 May 2022 20:09:31 +0000 (22:09 +0200)]
Kdelibs4ConfigMigrator is deprecated in KF6

3 years agoPort away from deprecated ThumbCreator API
Ahmad Samir [Thu, 5 May 2022 20:07:03 +0000 (22:07 +0200)]
Port away from deprecated ThumbCreator API

Configurability of individual preview plugins has been deprecated since KIO
5.87.

3 years agoMigrate old custom view font config entries
Ahmad Samir [Thu, 5 May 2022 18:31:30 +0000 (20:31 +0200)]
Migrate old custom view font config entries

3 years agoSimplify custom font settings
Ahmad Samir [Thu, 5 May 2022 16:32:34 +0000 (18:32 +0200)]
Simplify custom font settings

Instead of having 3 separate config keys, use the KConfig QFont
de/serilaization.

3 years agokfileitemmodel: sortRoleCompare: allow to sort by access time.
Méven Car [Mon, 30 May 2022 21:26:09 +0000 (23:26 +0200)]
kfileitemmodel: sortRoleCompare: allow to sort by access time.

We had all sorts of weird behavior when sorting by access time.
The comparison was simply missing in sortRoleCompare.

3 years agoGIT_SILENT made messages (after extraction)
l10n daemon script [Tue, 31 May 2022 00:55:26 +0000 (00:55 +0000)]
GIT_SILENT made messages (after extraction)

3 years agoAllow OpenTerminalHere to work for recentlyused:/ and recentdocuments:/
Méven Car [Sun, 29 May 2022 10:11:08 +0000 (12:11 +0200)]
Allow OpenTerminalHere to work for recentlyused:/ and recentdocuments:/

3 years agoSVN_SILENT made messages (.desktop file) - always resolve ours
l10n daemon script [Sun, 29 May 2022 01:46:43 +0000 (01:46 +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"

3 years agoSVN_SILENT made messages (.desktop file) - always resolve ours
l10n daemon script [Sat, 28 May 2022 02:27:04 +0000 (02:27 +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"

3 years agoGIT_SILENT made messages (after extraction)
l10n daemon script [Sat, 28 May 2022 01:06:47 +0000 (01:06 +0000)]
GIT_SILENT made messages (after extraction)

3 years agoRemove hover highlight before opening view context menu
Felix Ernst [Thu, 26 May 2022 08:38:15 +0000 (10:38 +0200)]
Remove hover highlight before opening view context menu

If one was fast to open the right-click context menu on the row of
an item in details view mode, the hover highlight would persist
while the context menu for the view was open.

This one-liner makes it so the highlight on the row is always
removed before the right-click context menu for the view is opened
so it is as clear as possible that the newly opened context menu
has no relation to the fileItem.

3 years agoFix paste on row while in details view mode
Felix Ernst [Tue, 24 May 2022 12:46:45 +0000 (14:46 +0200)]
Fix paste on row while in details view mode

Before this change, right-clicking the row of an unselected item
in details view mode would be in a weird state:
- It didn't really count as a click on the item because the item
    didn't get selected by this click before opening the context
    menu.
- It didn't really count as a click on the view background either
    because the actions that showed up depended on the item in
    that row.

This commit fixes this by considering a right-click in the same row
as an unselected item as a click on the view background.
The behaviour of right-clicking the icon or name of a file directly
is unchanged.

This fixes the following bugs:
- The Paste action that shows up when right-clicking in the
    unselected row of a folder now works (instead of doing
    nothing). It now pastes the clipboard contents onto the view
    background.
- When right-clicking the unselected row of a file (not a folder)
    a Paste action once again shows up.

3 years agoExtend selection rectangle to left edge
Travis Burrows [Thu, 26 May 2022 12:38:22 +0000 (12:38 +0000)]
Extend selection rectangle to left edge

This commit changes it so the sizes of selection rectangles and hover
highlights in compact and details view mode is identical for all items.

Before this commit, selection rectangles in lists would have varying
indentation of the left edge of the selection rectangle depending on
the preview image's width-to-height ratio. This would cause a sort of
"ragged edge" in both compact and details list view when multiple items
were selected.

This commit doesn't change anything about icon view mode.

BUG: 453046

3 years agoChange wording "Leading Column Padding" to "Side Padding"
Jin Liu [Thu, 26 May 2022 08:31:12 +0000 (08:31 +0000)]
Change wording "Leading Column Padding" to "Side Padding"

Since it actually adds padding on both left and right sides,
"Side Padding" might be more accurate.

This change is also propagated to variable and method names.

BUG: 453172

3 years agofix: Dolphin right click and compress doesn't scroll
Andrey Butirsky [Thu, 9 Sep 2021 14:59:36 +0000 (17:59 +0300)]
fix: Dolphin right click and compress doesn't scroll

For newly created items being selected, we had updateViewState() called
twice, and the first call blocked work execution needed in the other one

3 years agoprevent excessive tab opening
Andrey Butirsky [Wed, 18 May 2022 12:52:26 +0000 (15:52 +0300)]
prevent excessive tab opening

Without this, KIO::highlightInFileManager() will open additional tab
even if file to be highlighted is already present in current view

3 years agoAdd ki18n_install and kdoctools_install
Albert Astals Cid [Sun, 22 May 2022 22:46:13 +0000 (00:46 +0200)]
Add ki18n_install and kdoctools_install

3 years agoSVN_SILENT made messages (.desktop file) - always resolve ours
l10n daemon script [Sun, 22 May 2022 01:44:35 +0000 (01:44 +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"

3 years agofix name of uninstall command (without extension)
Christian Hartmann [Sat, 21 May 2022 15:04:14 +0000 (15:04 +0000)]
fix name of uninstall command (without extension)

fixing a minor typo allows using "uninstall" command (variant **without** extension) on de-installation of a service menu

3 years agofix: service-menu-installer ignoring symlinks on un-install
Christian Hartmann [Tue, 5 Apr 2022 11:06:19 +0000 (13:06 +0200)]
fix: service-menu-installer ignoring symlinks on un-install

service-menu-installer ignores <package-name>.tar.gz-dir/uninstall.sh
if this is actualy just a symbolic link to install.sh in the same directory
(hardlinks and copies work)

canonicalPath() is used to get the name of the file on disk and returns install.sh
in the case of a symbolic link. install.sh without any arguments is called instead
of uninstall.sh consequently and no de-installation takes place.

replace canonicalPath() with absolutePath() as used in the rest of source file

resolves:

BUG: 452289

3 years agoFix QDirIterator wildcard when fallback install script is searched for
Alexander Lohnau [Wed, 18 May 2022 06:10:34 +0000 (08:10 +0200)]
Fix QDirIterator wildcard when fallback install script is searched for

Otherwise, we do not find scripts like "install-user.sh".

BUG: 453870

3 years agoGIT_SILENT made messages (after extraction)
l10n daemon script [Fri, 20 May 2022 00:47:19 +0000 (00:47 +0000)]
GIT_SILENT made messages (after extraction)

3 years agoAdd tooltip to free space info widget showing full disk capacity
Shubham [Wed, 18 May 2022 18:42:51 +0000 (18:42 +0000)]
Add tooltip to free space info widget showing full disk capacity

BUG: 452867
FIXED-IN: 22.08

3 years agoSVN_SILENT made messages (.desktop file) - always resolve ours
l10n daemon script [Wed, 18 May 2022 01:44:40 +0000 (01:44 +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"

3 years agoSVN_SILENT made messages (.desktop file) - always resolve ours
l10n daemon script [Tue, 17 May 2022 01:46:51 +0000 (01:46 +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"

3 years agoSVN_SILENT made messages (.desktop file) - always resolve ours
l10n daemon script [Mon, 16 May 2022 01:50:33 +0000 (01:50 +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"

3 years agoSVN_SILENT made messages (.desktop file) - always resolve ours
l10n daemon script [Sun, 15 May 2022 01:59:30 +0000 (01:59 +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"

3 years agoDrop KNS3 prefix for KMoreTools includes
Alexander Lohnau [Sun, 8 May 2022 07:54:30 +0000 (09:54 +0200)]
Drop KNS3 prefix for KMoreTools includes

In KF6 KMoreTools should become it's own library and thus the KNS3 prefix should get removed.
Considering that the classes are not in any namespace, having a namespaced include is not needed and only causes noise.

3 years agoPort to QStringView
Laurent Montel [Wed, 11 May 2022 06:17:35 +0000 (08:17 +0200)]
Port to QStringView

3 years agoRemove unused include
Laurent Montel [Wed, 11 May 2022 06:17:08 +0000 (08:17 +0200)]
Remove unused include

3 years agoKItemList: fix warnings
Méven Car [Sun, 8 May 2022 11:31:42 +0000 (13:31 +0200)]
KItemList: fix warnings

NO_CHANGELOG

3 years agoSVN_SILENT made messages (.desktop file) - always resolve ours
l10n daemon script [Sat, 7 May 2022 01:45:00 +0000 (01:45 +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"

3 years agoSearchBox: Add topMargin to balance the spacing
Ismael Asensio [Wed, 4 May 2022 18:30:01 +0000 (20:30 +0200)]
SearchBox: Add topMargin to balance the spacing

3 years agoSVN_SILENT made messages (.desktop file) - always resolve ours
l10n daemon script [Fri, 6 May 2022 01:46:29 +0000 (01:46 +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"

3 years agoSVN_SILENT made messages (.desktop file) - always resolve ours
l10n daemon script [Thu, 5 May 2022 01:47:17 +0000 (01:47 +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"

3 years agoGIT_SILENT made messages (after extraction)
l10n daemon script [Thu, 5 May 2022 00:47:58 +0000 (00:47 +0000)]
GIT_SILENT made messages (after extraction)

3 years agoREmove duplicate header between header/file
Laurent Montel [Wed, 4 May 2022 18:54:52 +0000 (20:54 +0200)]
REmove duplicate header between header/file

3 years agoSVN_SILENT made messages (.desktop file) - always resolve ours
l10n daemon script [Wed, 4 May 2022 01:46:27 +0000 (01:46 +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"

3 years agoSVN_SILENT made messages (.desktop file) - always resolve ours
l10n daemon script [Tue, 3 May 2022 01:50:40 +0000 (01:50 +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"

3 years agoRe-add "Open Terminal Here" feature
oioi 555 [Mon, 2 May 2022 20:25:24 +0000 (20:25 +0000)]
Re-add "Open Terminal Here" feature

This is equivalent to the "Open Terminal Here" feature that existed until Version 20.12.

If the user has selected folders, replace "Open Terminal" in the context menu with "Open Terminal Here".
When more than 5 folders are selected, a modal window will ask the user if they are sure they want to
open all 6 or more terminal windows.

In Detail View, users can also select a file,
which will open a terminal at the location of that file.

BUG: 452637
FIXED-IN: 22.08

3 years agoSVN_SILENT made messages (.desktop file) - always resolve ours
l10n daemon script [Mon, 2 May 2022 01:41:17 +0000 (01:41 +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"

3 years agoMerge branch 'release/22.04'
Felix Ernst [Sun, 1 May 2022 10:10:02 +0000 (12:10 +0200)]
Merge branch 'release/22.04'

3 years agoFix icon resize animation
Eugene Popov [Sat, 23 Apr 2022 15:28:22 +0000 (18:28 +0300)]
Fix icon resize animation

This MR fixes an issue where, under certain conditions, an icon resize animation is performed that shouldn't be there.

3 years agoSVN_SILENT made messages (.desktop file) - always resolve ours
l10n daemon script [Sun, 1 May 2022 03:11:08 +0000 (03:11 +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"

3 years agoGIT_SILENT made messages (after extraction)
l10n daemon script [Sun, 1 May 2022 02:30:23 +0000 (02:30 +0000)]
GIT_SILENT made messages (after extraction)

3 years agoSVN_SILENT made messages (.desktop file) - always resolve ours
l10n daemon script [Sun, 1 May 2022 01:55:50 +0000 (01:55 +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"

3 years agoGIT_SILENT made messages (after extraction)
l10n daemon script [Sun, 1 May 2022 00:54:47 +0000 (00:54 +0000)]
GIT_SILENT made messages (after extraction)

3 years agoSVN_SILENT made messages (.desktop file) - always resolve ours
l10n daemon script [Sat, 30 Apr 2022 01:42:27 +0000 (01:42 +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"

3 years agoSVN_SILENT made messages (.desktop file) - always resolve ours
l10n daemon script [Fri, 29 Apr 2022 01:44:43 +0000 (01:44 +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"

3 years agoMerge branch 'release/22.04'
Felix Ernst [Wed, 27 Apr 2022 11:08:09 +0000 (13:08 +0200)]
Merge branch 'release/22.04'

3 years agoFix terminal panel not keeping up with dir changes
Felix Ernst [Wed, 27 Apr 2022 10:40:40 +0000 (10:40 +0000)]
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.

3 years agoSVN_SILENT made messages (.desktop file) - always resolve ours
l10n daemon script [Wed, 27 Apr 2022 01:46:00 +0000 (01:46 +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"

3 years agoRevert "Combine modificationtime, creationtime and accesstime roles into one group"
Eugene Popov [Tue, 26 Apr 2022 10:26:35 +0000 (13:26 +0300)]
Revert "Combine modificationtime, creationtime and accesstime roles into one group"

This reverts commit b6640f4a135dce194242644d9d0622c0964e8f1d.

3 years agoEliminate remarks
Eugene Popov [Mon, 25 Apr 2022 21:08:00 +0000 (00:08 +0300)]
Eliminate remarks

3 years agoCombine modificationtime, creationtime and accesstime roles into one group
Eugene Popov [Mon, 25 Apr 2022 09:44:32 +0000 (12:44 +0300)]
Combine modificationtime, creationtime and accesstime roles into one group

3 years agoAdd the ability to sort by file extension
Eugene Popov [Wed, 20 Apr 2022 14:30:46 +0000 (17:30 +0300)]
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

3 years agoSVN_SILENT made messages (.desktop file) - always resolve ours
l10n daemon script [Tue, 26 Apr 2022 01:43:17 +0000 (01:43 +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"

3 years agoSVN_SILENT made messages (.desktop file) - always resolve ours
l10n daemon script [Mon, 25 Apr 2022 01:52:30 +0000 (01:52 +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"

3 years agoDefine MODULE type for KCM libraries
Alexander Lohnau [Sat, 16 Apr 2022 11:05:02 +0000 (13:05 +0200)]
Define MODULE type for KCM libraries

Otherwise, they will have the "lib" prefix

3 years agoConvert desktop files of plugins to json
Alexander Lohnau [Sat, 16 Apr 2022 11:03:38 +0000 (13:03 +0200)]
Convert desktop files of plugins to json

Task: https://phabricator.kde.org/T14564

3 years agoDon't deselect on Ctrl+Right-Click
Felix Ernst [Wed, 20 Apr 2022 21:44:05 +0000 (21:44 +0000)]
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.

3 years agoAdd additional Document role for "Author"
Kai Uwe Broulik [Tue, 19 Apr 2022 19:31:53 +0000 (21:31 +0200)]
Add additional Document role for "Author"

It comes in handy when organizing your books collection

3 years agoSVN_SILENT made messages (.desktop file) - always resolve ours
l10n daemon script [Tue, 19 Apr 2022 01:48:03 +0000 (01:48 +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"

3 years agoSVN_SILENT made messages (.desktop file) - always resolve ours
l10n daemon script [Mon, 18 Apr 2022 02:45:08 +0000 (02:45 +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"

3 years agoGIT_SILENT made messages (after extraction)
l10n daemon script [Sun, 17 Apr 2022 00:50:15 +0000 (00:50 +0000)]
GIT_SILENT made messages (after extraction)

3 years agoGIT_SILENT Update Appstream for new release
Heiko Becker [Tue, 12 Apr 2022 21:17:49 +0000 (23:17 +0200)]
GIT_SILENT Update Appstream for new release

(cherry picked from commit 06bd5b2ee9324e268da2e5c0cf54bc8d8d725ae9)

3 years agoGIT_SILENT Update Appstream for new release
Heiko Becker [Tue, 12 Apr 2022 21:17:49 +0000 (23:17 +0200)]
GIT_SILENT Update Appstream for new release

3 years agoGIT_SILENT Upgrade release service version to 22.04.0.
Heiko Becker [Tue, 12 Apr 2022 21:09:27 +0000 (23:09 +0200)]
GIT_SILENT Upgrade release service version to 22.04.0.

3 years agoMerge branch 'release/22.04'
Kai Uwe Broulik [Tue, 12 Apr 2022 13:47:42 +0000 (15:47 +0200)]
Merge branch 'release/22.04'

3 years ago[Places Panel] Support drag and drop from Ark
Kai Uwe Broulik [Thu, 7 Apr 2022 19:41:43 +0000 (21:41 +0200)]
[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.

3 years agoGIT_SILENT: Add window CI support
Laurent Montel [Sun, 10 Apr 2022 11:30:39 +0000 (13:30 +0200)]
GIT_SILENT: Add window CI support

3 years agoMerge branch 'release/22.04'
Felix Ernst [Sat, 9 Apr 2022 09:27:42 +0000 (11:27 +0200)]
Merge branch 'release/22.04'

3 years agoSVN_SILENT made messages (.desktop file) - always resolve ours
l10n daemon script [Sat, 9 Apr 2022 01:51:05 +0000 (01:51 +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"

3 years agoAdd symmetric padding on right side of details view
Felix Ernst [Fri, 8 Apr 2022 09:07:23 +0000 (11:07 +0200)]
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

3 years agoSVN_SILENT made messages (.desktop file) - always resolve ours
l10n daemon script [Thu, 7 Apr 2022 02:58:35 +0000 (02:58 +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"

3 years agoSVN_SILENT made messages (.desktop file) - always resolve ours
l10n daemon script [Thu, 7 Apr 2022 01:45:45 +0000 (01:45 +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"

3 years agoGIT_SILENT Upgrade release service version to 22.03.90.
Heiko Becker [Tue, 5 Apr 2022 19:19:50 +0000 (21:19 +0200)]
GIT_SILENT Upgrade release service version to 22.03.90.

3 years agoSVN_SILENT made messages (.desktop file) - always resolve ours
l10n daemon script [Tue, 5 Apr 2022 02:58:27 +0000 (02:58 +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"

3 years agoSVN_SILENT made messages (.desktop file) - always resolve ours
l10n daemon script [Tue, 5 Apr 2022 01:51:00 +0000 (01:51 +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"

3 years agoMerge branch 'release/22.04'
Felix Ernst [Mon, 4 Apr 2022 12:42:02 +0000 (14:42 +0200)]
Merge branch 'release/22.04'

3 years agoImprove details mode ctrl-press rubberband creation
Felix Ernst [Mon, 4 Apr 2022 12:39:37 +0000 (12:39 +0000)]
Improve details mode ctrl-press rubberband creation

Since d3839617193e92463806580699caa595c892b8a6 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

3 years agoMerge branch 'release/22.04'
Felix Ernst [Mon, 4 Apr 2022 10:59:29 +0000 (12:59 +0200)]
Merge branch 'release/22.04'

3 years agoRevert "KStandardItemListWidget: handle RtL drawing properly"
Felix Ernst [Mon, 4 Apr 2022 10:54:42 +0000 (10:54 +0000)]
Revert "KStandardItemListWidget: handle RtL drawing properly"

This reverts commit 3ce9d1d19e081fbb9acf020f15652175673bcf5c.
This reverts commit ddba4f5fd88c4fa855e3f2eb0d9d95a6290d150a.

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

3 years agoBaloo is available on Linux/FreeBSD only
Ben Cooksley [Sun, 3 Apr 2022 08:09:57 +0000 (20:09 +1200)]
Baloo is available on Linux/FreeBSD only

3 years agoRefactor DolphinContextMenu so its actions are retrievable
Felix Ernst [Sat, 2 Apr 2022 17:00:58 +0000 (17:00 +0000)]
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.

3 years agoInstall servicemenus in new install location
Alexander Lohnau [Tue, 15 Mar 2022 19:01:55 +0000 (20:01 +0100)]
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

3 years agoMerge branch 'release/22.04'
Felix Ernst [Fri, 1 Apr 2022 10:17:25 +0000 (12:17 +0200)]
Merge branch 'release/22.04'