]> cloud.milkyroute.net Git - dolphin.git/log
dolphin.git
4 years agoMerge branch 'release/21.08'
Elvis Angelaccio [Sun, 29 Aug 2021 17:42:51 +0000 (19:42 +0200)]
Merge branch 'release/21.08'

4 years agoFilter the items that have changed
Eugene Popov [Sun, 29 Aug 2021 17:35:35 +0000 (17:35 +0000)]
Filter the items that have changed

4 years agoGIT_SILENT Update Appstream for new release
Heiko Becker [Fri, 27 Aug 2021 20:54:49 +0000 (22:54 +0200)]
GIT_SILENT Update Appstream for new release

(cherry picked from commit b9f320b1646140350edb82cfcf55bce7a325439f)

4 years agoGIT_SILENT Update Appstream for new release
Heiko Becker [Fri, 27 Aug 2021 20:54:49 +0000 (22:54 +0200)]
GIT_SILENT Update Appstream for new release

4 years agoGIT_SILENT Upgrade release service version to 21.08.1.
Heiko Becker [Fri, 27 Aug 2021 20:39:28 +0000 (22:39 +0200)]
GIT_SILENT Upgrade release service version to 21.08.1.

4 years agoFoldersPanel: Fix inline renaming
Jan Paul Batrina [Thu, 19 Aug 2021 14:34:40 +0000 (22:34 +0800)]
FoldersPanel: Fix inline renaming

Commit 5a0da4a9c8d10dc1921077d84bdabf05d20150b0 changed the value
for emitRoleEditingFinished() to a struct containing
the new name, but folderspanel was not updated.

BUG: 441124

4 years agoUse default icon size when resetting zoom level
Eugene Popov [Thu, 26 Aug 2021 11:14:24 +0000 (11:14 +0000)]
Use default icon size when resetting zoom level

BUG: 437349

4 years agoDBus activation with filemanager iface
Andrey Butirsky [Fri, 20 Aug 2021 09:31:36 +0000 (12:31 +0300)]
DBus activation with filemanager iface

In Dolphin on wayland currently, if you right clicks a file and create a
zip file from it, Dolphin makes a new window.
What we want to happen is Dolphin to focus the window we have with the
file selected.

This patches Dolphin's dbusinterface.cpp to call
KWindowSystem::setCurrentXdgActivationToken()
with the startupID

4 years agoFix selecting file always opening new instance
Alexander Lohnau [Sat, 14 Aug 2021 11:07:24 +0000 (13:07 +0200)]
Fix selecting file always opening new instance

Instead try to attach to all existing instances and quit after succeeding.

BUG: 440663

4 years agoSVN_SILENT made messages (.desktop file) - always resolve ours
l10n daemon script [Mon, 23 Aug 2021 02:29:46 +0000 (02:29 +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"

4 years agoGIT_SILENT made messages (after extraction)
l10n daemon script [Mon, 23 Aug 2021 01:54:12 +0000 (01:54 +0000)]
GIT_SILENT made messages (after extraction)

4 years agoSVN_SILENT made messages (.desktop file) - always resolve ours
l10n daemon script [Mon, 23 Aug 2021 01:28:23 +0000 (01:28 +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"

4 years agoGIT_SILENT made messages (after extraction)
l10n daemon script [Mon, 23 Aug 2021 00:22:17 +0000 (00:22 +0000)]
GIT_SILENT made messages (after extraction)

4 years agoSimplify KFileItemModel's sorting
Christian Muehlhaeuser [Tue, 13 Jul 2021 22:36:27 +0000 (00:36 +0200)]
Simplify KFileItemModel's sorting

Returns from function as soon as we encounter a decisive comparison,
while ensuring the fallbacks provide a stable sorting. Added comment
to clarify the situation.

4 years agoAvoid crash on start when help actions are restricted through the Kiosk system
Alexander Volkov [Tue, 10 Aug 2021 09:00:21 +0000 (12:00 +0300)]
Avoid crash on start when help actions are restricted through the Kiosk system

KHelpMenu may not create some actions, so check for nullptr before
setting "What's this?" text.

(cherry picked from commit 0ac57fbe90d580a514c3bac4cefaa9ed87f178f9)

4 years agoAvoid crash on start when help actions are restricted through the Kiosk system
Alexander Volkov [Tue, 10 Aug 2021 09:00:21 +0000 (12:00 +0300)]
Avoid crash on start when help actions are restricted through the Kiosk system

KHelpMenu may not create some actions, so check for nullptr before
setting "What's this?" text.

4 years agoSVN_SILENT made messages (.desktop file) - always resolve ours
l10n daemon script [Mon, 9 Aug 2021 02:11:38 +0000 (02: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"

4 years agoGIT_SILENT made messages (after extraction)
l10n daemon script [Mon, 9 Aug 2021 01:36:37 +0000 (01:36 +0000)]
GIT_SILENT made messages (after extraction)

4 years agoSVN_SILENT made messages (.desktop file) - always resolve ours
l10n daemon script [Mon, 9 Aug 2021 01:11:30 +0000 (01: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"

4 years agoGIT_SILENT made messages (after extraction)
l10n daemon script [Mon, 9 Aug 2021 00:18:47 +0000 (00:18 +0000)]
GIT_SILENT made messages (after extraction)

4 years agoRevert "Show hidden files and folders last"
Nate Graham [Fri, 6 Aug 2021 16:46:33 +0000 (10:46 -0600)]
Revert "Show hidden files and folders last"

This reverts commit 996e430b62075c5b69571f141456dbe5f2956679.

The accompanying feature to make the behavior configurable and disable
it by default was reverted in 21.08, so we need to revert the feature
itself as well and only ship it in 21.12, to avoid changing people's
setting back and forth, which is often not well-received.

4 years agoGIT_SILENT: improve cmakepreset support
Laurent Montel [Fri, 6 Aug 2021 05:08:06 +0000 (07:08 +0200)]
GIT_SILENT: improve cmakepreset support

4 years agoRevert "Configurable Show hidden files and folders last toggle"
Heiko Becker [Thu, 5 Aug 2021 22:36:57 +0000 (00:36 +0200)]
Revert "Configurable Show hidden files and folders last toggle"

This reverts commit 50149d6abb8a0a978db3c6afb5238bc42a4a89c8.

It breaks the string freeze and I don't think it can count as a bug
fix, so it breaks the feature freeze, too.

CCMAIL: zrenfire@gmail.com

4 years agoRevert "Disable Hidden Files Last sort by default"
Heiko Becker [Thu, 5 Aug 2021 22:36:50 +0000 (00:36 +0200)]
Revert "Disable Hidden Files Last sort by default"

This reverts commit fd2203bb3925edb5d657d49a706e26ea736362d2.

4 years agoMerge branch 'release/21.08'
Nate Graham [Thu, 5 Aug 2021 14:34:04 +0000 (08:34 -0600)]
Merge branch 'release/21.08'

4 years agoDisable Hidden Files Last sort by default
Chris Holland [Wed, 4 Aug 2021 06:26:10 +0000 (02:26 -0400)]
Disable Hidden Files Last sort by default

4 years agoConfigurable Show hidden files and folders last toggle
Gaston Haro [Sun, 1 Aug 2021 17:00:05 +0000 (13:00 -0400)]
Configurable Show hidden files and folders last toggle

CCBUG: 241227

Revision: https://phabricator.kde.org/D29115

4 years agoGIT_SILENT Update Appstream for new release
Heiko Becker [Wed, 4 Aug 2021 21:49:19 +0000 (23:49 +0200)]
GIT_SILENT Update Appstream for new release

(cherry picked from commit 2b90a13c62ba9fe8d15377b7811ac6e0ec26b3c4)

4 years agoGIT_SILENT Update Appstream for new release
Heiko Becker [Wed, 4 Aug 2021 21:49:19 +0000 (23:49 +0200)]
GIT_SILENT Update Appstream for new release

4 years agoGIT_SILENT Upgrade release service version to 21.08.0.
Heiko Becker [Wed, 4 Aug 2021 21:39:33 +0000 (23:39 +0200)]
GIT_SILENT Upgrade release service version to 21.08.0.

4 years agoMerge branch 'release/21.08'
Nate Graham [Mon, 2 Aug 2021 16:32:31 +0000 (10:32 -0600)]
Merge branch 'release/21.08'

4 years agoFix how --select treats files
Jordan Bucklin [Sat, 31 Jul 2021 19:31:49 +0000 (12:31 -0700)]
Fix how --select treats files

Previously, when passing file URLs with the --select option,
Dolphin would open the file in its corresponding application, as
well as opening an empty tab in Dolphin as if the file were a
directory. This happens specifically when trying to restore a
session.

This commit prevents Dolphin from opening a file in an application
and from opening an empty tab while passing the --select option,
and selects the URLs instead.

BUG: 436584

4 years agoFix width issues when un-maximizing Dolphin
Felix Ernst [Sat, 31 Jul 2021 15:01:52 +0000 (17:01 +0200)]
Fix width issues when un-maximizing Dolphin

Before this commit un-maximizing or to be more precise instantly
changing the size of the window by a large amount could potentially
change the width of the sidebars, the viewContainers and the window
itself to unexpected/undesired widths.

This happened because the spacing calculation is triggered when the
primary ViewContainer is resized but at this point in time some of
the other widgets, especially the secondary ViewContainer and the
navigatorsWidget have generally not been resized yet. Therefore the
width and spacing calculations are based on partly updated and
partly outdated values leading to wrong results.

This commit makes it so calculation of spacings is delayed until
all widths have been updated.

Yes, spacing probably should not have the power to resize the
window but unfortunately the spacing can not be set to be less
forceful when taking space because otherwise the UrlNavigators
will take all space they can get with their
QSizePolicy::MinimumExpanding.

BUG: 430521
FIXED-IN: 21.08

4 years agoRevert "Don't session-restore invalid paths"
Nate Graham [Wed, 28 Jul 2021 18:54:10 +0000 (12:54 -0600)]
Revert "Don't session-restore invalid paths"

This reverts commit c733b3aa9787a618a0ce5bb03b3fc731f5663b21.

There are people who prefer the old behavior of session-restoring all
paths including the ones which are currently inaccessible. The idea is
that Dolphin is like a web browser; if a website is not currently
available, the browser tells you that instead of silently discarding the
URL and showing you the homepage. Doing this can be considered a form
of data loss.

In addition, the reason for the change was to prevent Dolphin from
showing invalid paths on launch for unmounted removable disks, but that
specific case was fixed separately by switching to ~ for any tabs/views
that were showing locations on a just-unmounted removable disk. So you
will never run into the problem if yo unmount a disk in Dolphin and then
close it.

Accordingly, let's revert the change because it causes more problems than
it resolves.

BUG: 439864
CCBUG: 427619
FIXED-IN: 21.08

4 years agoGIT_SILENT Upgrade release service version to 21.07.90.
Heiko Becker [Tue, 27 Jul 2021 19:29:00 +0000 (21:29 +0200)]
GIT_SILENT Upgrade release service version to 21.07.90.

4 years agoMerge remote-tracking branch 'origin/release/21.08'
Albert Astals Cid [Mon, 26 Jul 2021 22:34:14 +0000 (00:34 +0200)]
Merge remote-tracking branch 'origin/release/21.08'

4 years agoAdd break; to KItemListRoleEditor::keyPressEvent cases
Albert Astals Cid [Wed, 21 Jul 2021 21:24:32 +0000 (23:24 +0200)]
Add break; to KItemListRoleEditor::keyPressEvent cases

4 years ago[PlacesPanel] Remove horizontal scrollbar
Eugene Popov [Sun, 11 Jul 2021 18:12:16 +0000 (21:12 +0300)]
[PlacesPanel] Remove horizontal scrollbar

This MR removes the horizontal scrollbar of the Places panel. For titles that don't fit in the panel, their elided versions will be used (i.e., with ...).

BUG: 301758

(cherry picked from commit deaf5916f2f87d78825f33f2ba11475a24c9380f)

4 years agoRemove unneeded KCM plugin keyword stuff
Nicolas Fella [Wed, 21 Jul 2021 19:41:12 +0000 (21:41 +0200)]
Remove unneeded KCM plugin keyword stuff

4 years agoGIT_SILENT made messages (after extraction)
l10n daemon script [Fri, 23 Jul 2021 00:20:10 +0000 (00:20 +0000)]
GIT_SILENT made messages (after extraction)

4 years agoClean up KF API older than 5.82
Ahmad Samir [Sat, 17 Jul 2021 12:36:54 +0000 (14:36 +0200)]
Clean up KF API older than 5.82

GIT_SILENT

4 years agoUse KDirLister directly now that it emits a jobError() signal
Ahmad Samir [Thu, 15 Jul 2021 22:29:07 +0000 (00:29 +0200)]
Use KDirLister directly now that it emits a jobError() signal

Since KIO 5.82, KCoreDirLister (the base class of KDirLister) emits a jobError()
signal when the ListJob used internally emits an error.

Drop KFileItemModelDirLister class, now redundant.

This also bump the KF version to 5.82.

4 years ago[DetailsView] Improve zooming
Eugene Popov [Sun, 11 Jul 2021 21:31:06 +0000 (00:31 +0300)]
[DetailsView] Improve zooming

Under some conditions, when zooming, only the size of the icon is changed, but not the entire item, which visually doesn't look good. The main idea of this MR is that when scaling the whole element should be resized, not just the icon, so I came up with some zoom levels for the main icon sizes. With this commit, zooming will resize the entire element, even if the resizing of the icon doesn't affect the size of the entire element.

4 years ago[PlacesPanel] Remove horizontal scrollbar
Eugene Popov [Sun, 11 Jul 2021 18:12:16 +0000 (21:12 +0300)]
[PlacesPanel] Remove horizontal scrollbar

This MR removes the horizontal scrollbar of the Places panel. For titles that don't fit in the panel, their elided versions will be used (i.e., with ...).

BUG: 301758

4 years agoDelete some items that were intended to be deleted. Avoid trying to delete items...
Toni Asensi Esteve [Sat, 17 Jul 2021 17:47:57 +0000 (19:47 +0200)]
Delete some items that were intended to be deleted. Avoid trying to delete items that don't exist

When deleting items of a list, follow a sequence that ensures that the item
that is going to be deleted exists.

Revision: https://invent.kde.org/system/dolphin/-/merge_requests/240

4 years agoMerge branch 'release/21.08'
Nate Graham [Sat, 17 Jul 2021 03:08:18 +0000 (23:08 -0400)]
Merge branch 'release/21.08'

4 years agoFix placeholder label text within an empty folder in Trash
Jordan Bucklin [Sat, 17 Jul 2021 01:37:36 +0000 (18:37 -0700)]
Fix placeholder label text within an empty folder in Trash

An empty folder within the Trash bin previously had the placeholder
label "Trash is empty". This label should only appear in top-most
Trash/ url, and "Folder is empty" otherwise.

BUG: 439952

4 years agoAllow to have HiDpi previews
Méven Car [Sat, 19 Dec 2020 06:45:52 +0000 (07:45 +0100)]
Allow to have HiDpi previews

BUG: 401170

4 years agoMerge branch 'release/21.08'
Elvis Angelaccio [Tue, 13 Jul 2021 19:50:41 +0000 (21:50 +0200)]
Merge branch 'release/21.08'

4 years agoEnsure stable sort order when sorting by size
Christian Muehlhaeuser [Sat, 10 Jul 2021 17:35:26 +0000 (19:35 +0200)]
Ensure stable sort order when sorting by size

Folders with equal size caused the sort operation to become unstable,
as the result of lessThan was non-deterministic.

We need the fallback mechanisms at the bottom of the function to
resovle the situation and provide a stable sort order.

This also fixes expanding the contents of a folder into the wrong
parent.

BUG: 433247
FIXED-IN: 21.08

4 years agoDon't exit immediately if DBus isn't running
Alex Richardson [Fri, 9 Jul 2021 08:32:04 +0000 (09:32 +0100)]
Don't exit immediately if DBus isn't running

I am trying to run Dolphin on a minimal FreeBSD CHERI-RISC-V QEMU
instance and I haven't got DBus running. Without this change, KDBusService
causes dolphin to exit immediately since the default behaviour is to
exit if it can't connect to DBus.

4 years agoAvoid crashing on startup if DBus isn't running
Alex Richardson [Fri, 9 Jul 2021 08:30:58 +0000 (09:30 +0100)]
Avoid crashing on startup if DBus isn't running

I am trying to run Dolphin on a minimal FreeBSD CHERI-RISC-V QEMU
instance and I haven't got DBus running. Without this change, I get
crashes because QDBusConnection::sessionBus().interface() returns NULL
if DBus isn't running.

4 years agoGIT_SILENT Upgrade release service version to 21.11.70.
Albert Astals Cid [Sat, 10 Jul 2021 17:59:01 +0000 (19:59 +0200)]
GIT_SILENT Upgrade release service version to 21.11.70.

4 years agoGIT_SILENT Upgrade release service version to 21.07.80.
Albert Astals Cid [Sat, 10 Jul 2021 16:40:59 +0000 (18:40 +0200)]
GIT_SILENT Upgrade release service version to 21.07.80.

4 years agoMake the KDocTools dependency optional
Alex Richardson [Fri, 9 Jul 2021 08:19:05 +0000 (09:19 +0100)]
Make the KDocTools dependency optional

I am cross-compiling dolphin and haven't build KDocTools. Since it's only
needed for the handbook we can make the dependency optional.

4 years agoGIT_SILENT made messages (after extraction)
l10n daemon script [Fri, 9 Jul 2021 00:19:18 +0000 (00:19 +0000)]
GIT_SILENT made messages (after extraction)

4 years agoGIT_SILENT made messages (after extraction)
l10n daemon script [Wed, 7 Jul 2021 00:20:10 +0000 (00:20 +0000)]
GIT_SILENT made messages (after extraction)

4 years agoGIT_SILENT Update Appstream for new release
Heiko Becker [Mon, 5 Jul 2021 18:59:45 +0000 (20:59 +0200)]
GIT_SILENT Update Appstream for new release

(cherry picked from commit f8838005d7fba29522605e26f71c0b68e25e54a0)

4 years agoReuse KFileItemActions instance during lifetime of dolphin
Alexander Lohnau [Sun, 18 Apr 2021 06:37:45 +0000 (08:37 +0200)]
Reuse KFileItemActions instance during lifetime of dolphin

With https://invent.kde.org/frameworks/kio/-/merge_requests/411 the
plugin instances can be reused during the lifetime of the
KFileItemActions object. This improves performance and also allows
the plugins to emit errors, even if they run async.

4 years agocontextmenu: Listen to new error signal from KFileItemActions
Alexander Lohnau [Sat, 17 Apr 2021 19:55:22 +0000 (21:55 +0200)]
contextmenu: Listen to new error signal from KFileItemActions

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

4 years agoFix regex porting regression
Elvis Angelaccio [Sun, 4 Jul 2021 20:15:17 +0000 (22:15 +0200)]
Fix regex porting regression

QAbstractItemModel::match() under the hood uses QRegExp::exactMatch(),
so with QRegularExpression we need to use anchoredPattern() on the pattern.

Regression spotted by a failing dolphinmainwindowtest.

4 years agoPort to new KActionMenu popup mode API
David Hurka [Sun, 6 Dec 2020 18:47:07 +0000 (18:47 +0000)]
Port to new KActionMenu popup mode API

Use KActionMenu and KToolBarPopupAction::setPopupMode()
methods instead of setDelayed() and setStickyMenu().
Are available since KF 5.77 and KF 5.78 respectively,
which is already required by Dolphin.

4 years agoPort away from deprecated enum
Elvis Angelaccio [Sun, 4 Jul 2021 10:39:30 +0000 (12:39 +0200)]
Port away from deprecated enum

We already require Qt 5.15

4 years agoDrop unused list
Elvis Angelaccio [Sun, 4 Jul 2021 10:31:53 +0000 (12:31 +0200)]
Drop unused list

Spotted by clazy.

GIT_SILENT

4 years agoAdd support for hover sequence thumbnails (via ThumbSequenceCreator)
David Lerch [Sat, 30 Jan 2021 11:11:22 +0000 (12:11 +0100)]
Add support for hover sequence thumbnails (via ThumbSequenceCreator)

This shows a slideshow of thumbs when the user hovers a file item.

4 years agoInformationPanel ensure to have a showUrl when no items are selected
Méven Car [Fri, 12 Mar 2021 06:18:52 +0000 (07:18 +0100)]
InformationPanel ensure to have a showUrl when no items are selected

4 years agoDrop unused include
Elvis Angelaccio [Sun, 4 Jul 2021 09:56:37 +0000 (11:56 +0200)]
Drop unused include

GIT_SILENT

4 years agoPort konsolepart loading to use KPluginLoader directly
Nicolas Fella [Sat, 3 Jul 2021 18:13:39 +0000 (20:13 +0200)]
Port konsolepart loading to use KPluginLoader directly

No need to go via KService

4 years agoSVN_SILENT made messages (.desktop file) - always resolve ours
l10n daemon script [Sun, 4 Jul 2021 01:17:03 +0000 (01:17 +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"

4 years agoRemove unused includes
Nicolas Fella [Sat, 3 Jul 2021 18:19:33 +0000 (20:19 +0200)]
Remove unused includes

4 years agoUse KNewStuff3 as group key in knsrc file
Alexander Lohnau [Sat, 3 Jul 2021 15:34:41 +0000 (17:34 +0200)]
Use KNewStuff3 as group key in knsrc file

The other key was used during the transition from KDE4->KDE5 and makes no difference when the config file is read

4 years agoRemove deprecated and defunct KNewStuff properties
Alexander Lohnau [Sat, 3 Jul 2021 15:25:40 +0000 (17:25 +0200)]
Remove deprecated and defunct KNewStuff properties

4 years agoRemove go action for settings kio slave
Alexander Lohnau [Wed, 30 Jun 2021 13:38:53 +0000 (15:38 +0200)]
Remove go action for settings kio slave

The settings kio slave is about to be removed, see
https://invent.kde.org/network/kio-extras/-/merge_requests/107.

4 years agoShow a "Loading..." placeholder text
Mufeed Ali [Tue, 29 Jun 2021 13:52:57 +0000 (13:52 +0000)]
Show a "Loading..." placeholder text

Since a placeholder text is being used when the folder is empty, it
also makes sense to show a similar placeholder text when the view is
still loading, especially now that the status bar which previously
contained a loading indicator now disappears when a folder is loading.

4 years agoKFileItemModel: Allow to group files and folder together
Méven Car [Mon, 8 Mar 2021 06:25:31 +0000 (07:25 +0100)]
KFileItemModel: Allow to group files and folder together

When folders size is available and unless sort dir first is set, folders
and files can be grouped together in the regular size groups.

Without this you can end up with multiple groups being added each time a
folder size alternates with a file size.

Relates to d520b417c97bdbdfece2a497dac8b5384a80b597

4 years agoUpdate CMake , Qt
Ömer Fadıl Usta [Fri, 25 Jun 2021 15:57:07 +0000 (15:57 +0000)]
Update CMake , Qt

4 years agoMerge branch 'release/21.04' addendum
Felix Ernst [Tue, 22 Jun 2021 12:52:35 +0000 (14:52 +0200)]
Merge branch 'release/21.04' addendum

This should have belonged to my previous merge
480b3067d25e4b49ea55285313a7c10e93f98ffd but somehow I managed to
miss this one line.

It was written by Derek Christ as part of
dc3beae3ab2c55cd3501e17f93b51e93e876a177.

4 years agoMerge branch 'release/21.04'
Felix Ernst [Tue, 22 Jun 2021 09:55:53 +0000 (11:55 +0200)]
Merge branch 'release/21.04'

4 years agoFix shift-action modifier in context menu
Derek Christ [Fri, 18 Jun 2021 13:12:54 +0000 (15:12 +0200)]
Fix shift-action modifier in context menu

Before this patch, the shift-action modifier in context menus did not
work when a sub-context menu is open, that does not have the main
context menu as its parent.
The new fix installs an event filter on QApplication whenever a new
context menu is opened to make the context menu aware of shift-presses
even when a sub-context menu is in focus.

BUG: 425997
FIXED-IN: 21.04

4 years agoFix X-DocPath entries
Ahmad Samir [Mon, 14 Jun 2021 13:14:57 +0000 (15:14 +0200)]
Fix X-DocPath entries

This way they're more correct, which means they can work with KHelpCenter
and when falling back to opening the relevant page at docs.kde.org in any
web browser.

See https://invent.kde.org/graphics/okular/-/merge_requests/441 for more
details.

(cherry picked from commit 5e79f27aec817a44606e9e4f32b055d78eeb280c)

4 years agoFix X-DocPath entries
Ahmad Samir [Mon, 14 Jun 2021 13:14:57 +0000 (15:14 +0200)]
Fix X-DocPath entries

This way they're more correct, which means they can work with KHelpCenter
and when falling back to opening the relevant page at docs.kde.org in any
web browser.

See https://invent.kde.org/graphics/okular/-/merge_requests/441 for more
details.

4 years agoGIT_SILENT made messages (after extraction)
l10n daemon script [Fri, 18 Jun 2021 00:20:33 +0000 (00:20 +0000)]
GIT_SILENT made messages (after extraction)

4 years agoGIT_SILENT made messages (after extraction)
l10n daemon script [Mon, 14 Jun 2021 00:19:51 +0000 (00:19 +0000)]
GIT_SILENT made messages (after extraction)

4 years agoGIT_SILENT made messages (after extraction)
l10n daemon script [Sun, 13 Jun 2021 00:21:39 +0000 (00:21 +0000)]
GIT_SILENT made messages (after extraction)

4 years agoRemove the filter action from the toolbar
Felix Ernst [Tue, 8 Jun 2021 12:06:42 +0000 (14:06 +0200)]
Remove the filter action from the toolbar

This commit removes the "toggle_filter" action from the default
toolbar configuration. It is not quite important enough to be
always visible on the toolbar by default. Instead it is easily
accessible through the hamburger menu and the menu bar.

The filter is only really necessary if one has a lot of items in
the current location and one knows exactly how to identify a
certain item among them by the name which probably isn't how most
people browse their files.

There are also some more advanced use-cases but advanced users
will be able to either learn the keyboard shortcut or move this
action back to the toolbar.

4 years agoAdd "Sort By" to the hamburger menu
Felix Ernst [Tue, 8 Jun 2021 11:48:41 +0000 (13:48 +0200)]
Add "Sort By" to the hamburger menu

People seem to use the "Sort By" menu often enough that it should
be available through the hamburger menu.

Before this change one could only sort the view through the right-
click context menu, using the details view mode or by using the
actions from the menu bar.

4 years agoGIT_SILENT made messages (after extraction)
l10n daemon script [Tue, 8 Jun 2021 00:19:48 +0000 (00:19 +0000)]
GIT_SILENT made messages (after extraction)

4 years agoGIT_SILENT made messages (after extraction)
l10n daemon script [Sun, 6 Jun 2021 00:21:01 +0000 (00:21 +0000)]
GIT_SILENT made messages (after extraction)

4 years agoGIT_SILENT Update Appstream for new release
Heiko Becker [Sat, 5 Jun 2021 21:01:45 +0000 (23:01 +0200)]
GIT_SILENT Update Appstream for new release

4 years agoGIT_SILENT Update Appstream for new release
Heiko Becker [Sat, 5 Jun 2021 21:01:45 +0000 (23:01 +0200)]
GIT_SILENT Update Appstream for new release

(cherry picked from commit 10a00022778c43247036d4de1ceeb582f7da96ec)

4 years agoGIT_SILENT Upgrade release service version to 21.04.2.
Heiko Becker [Sat, 5 Jun 2021 20:56:34 +0000 (22:56 +0200)]
GIT_SILENT Upgrade release service version to 21.04.2.

4 years agoAdd SortOrderForUrl method to DBus interface
Marco Martin [Fri, 4 Jun 2021 12:04:14 +0000 (12:04 +0000)]
Add SortOrderForUrl method to DBus interface

adds a method to ask what's the sorting strategy (column and order) for a particular Url, as Dolphin can have directory-specific sorting strategies

This makes possible for other apps that have lists of files, like Gwenview to use the same sorting when invoked from dolphin, ie opening an image

CCBUG:236059

4 years agoGIT_SILENT made messages (after extraction)
l10n daemon script [Fri, 4 Jun 2021 00:24:27 +0000 (00:24 +0000)]
GIT_SILENT made messages (after extraction)

4 years agoTell translators to leave the ' alone
Albert Astals Cid [Tue, 1 Jun 2021 22:00:58 +0000 (00:00 +0200)]
Tell translators to leave the ' alone

4 years agoAdd tooltip to Empty Trash button inside Trash
Shubham [Thu, 3 Jun 2021 12:49:34 +0000 (18:19 +0530)]
Add tooltip to Empty Trash button inside Trash

4 years agoUse more target-centric cmake code
Friedrich W. H. Kossebau [Mon, 17 May 2021 07:05:34 +0000 (09:05 +0200)]
Use more target-centric cmake code

GIT_SILENT

4 years agoRemove code path for loading deprecated VSC plugins
Alexander Lohnau [Sat, 29 May 2021 18:24:47 +0000 (20:24 +0200)]
Remove code path for loading deprecated VSC plugins

In case there are custom, old plugin lying around they can't be loaded
anyways, because the version does not match. In case that gets fixed one
could just port the plugin to JSON metadata.

Also the mechanism that is used is about to be deprecated.

4 years agoGIT_SILENT made messages (after extraction)
l10n daemon script [Mon, 31 May 2021 00:19:38 +0000 (00:19 +0000)]
GIT_SILENT made messages (after extraction)

4 years agoFix crash on Wayland when closing the mainwindow while another dialog is open
Elvis Angelaccio [Sat, 19 Dec 2020 17:43:44 +0000 (18:43 +0100)]
Fix crash on Wayland when closing the mainwindow while another dialog is open

For some reason on Wayland `QClipboad::dataChanged` can be emitted after
the main window gets deleted. In particular this happens when closing the
main window while another dialog is open.

Since we are closing the window, we can just disconnect this signal and
prevent this crash from ever happening.

4 years agoRevert "Improve padding in the Places View"
Eugene Popov [Tue, 25 May 2021 11:24:59 +0000 (14:24 +0300)]
Revert "Improve padding in the Places View"

This reverts commit e9a39700fc004004b1ff231023e9d5333a2b8317.