Commit graph

6670 commits

Author SHA1 Message Date
Felix Ernst
823e99fe78 Merge branch 'release/21.04' addendum
This should have belonged to my previous merge
480b3067d2 but somehow I managed to
miss this one line.

It was written by Derek Christ as part of
dc3beae3ab.
2021-06-22 14:52:35 +02:00
Felix Ernst
480b3067d2 Merge branch 'release/21.04' 2021-06-22 11:55:53 +02:00
Derek Christ
dc3beae3ab 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
2021-06-22 08:53:55 +00:00
Ahmad Samir
0a0d0c48ee 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 5e79f27aec)
2021-06-18 17:19:12 +02:00
Ahmad Samir
5e79f27aec 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.
2021-06-18 15:01:41 +00:00
l10n daemon script
19405fc3c7 GIT_SILENT made messages (after extraction) 2021-06-18 00:20:33 +00:00
l10n daemon script
f8fccec14e GIT_SILENT made messages (after extraction) 2021-06-14 00:19:51 +00:00
l10n daemon script
699ddc3540 GIT_SILENT made messages (after extraction) 2021-06-13 00:21:39 +00:00
Felix Ernst
63d1946384 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.
2021-06-12 17:08:28 +02:00
Felix Ernst
5271943a25 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.
2021-06-08 13:48:41 +02:00
l10n daemon script
c6262c97af GIT_SILENT made messages (after extraction) 2021-06-08 00:19:48 +00:00
l10n daemon script
14687479da GIT_SILENT made messages (after extraction) 2021-06-06 00:21:01 +00:00
Heiko Becker
10a0002277 GIT_SILENT Update Appstream for new release 2021-06-05 23:01:45 +02:00
Heiko Becker
c8cefcffe4 GIT_SILENT Update Appstream for new release
(cherry picked from commit 10a0002277)
2021-06-05 23:01:45 +02:00
Heiko Becker
73ada10c40 GIT_SILENT Upgrade release service version to 21.04.2. 2021-06-05 22:56:34 +02:00
Marco Martin
dbabe22249 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
2021-06-04 12:04:14 +00:00
l10n daemon script
9fcfbfb6e3 GIT_SILENT made messages (after extraction) 2021-06-04 00:24:27 +00:00
Albert Astals Cid
f1fdbf1ec9 Tell translators to leave the ' alone 2021-06-03 22:13:27 +02:00
Shubham
3387b60ca5 Add tooltip to Empty Trash button inside Trash 2021-06-03 18:19:34 +05:30
Friedrich W. H. Kossebau
0d95f5e537 Use more target-centric cmake code
GIT_SILENT
2021-05-31 08:39:17 +00:00
Alexander Lohnau
b6ec4b1c9e 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.
2021-05-31 07:02:16 +00:00
l10n daemon script
9fc92e7b51 GIT_SILENT made messages (after extraction) 2021-05-31 00:19:38 +00:00
Elvis Angelaccio
2f3d8c5c96 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.
2021-05-31 00:43:46 +02:00
Eugene Popov
443968a6a3 Revert "Improve padding in the Places View"
This reverts commit e9a39700fc.
2021-05-29 22:16:18 +00:00
Eugene Popov
7a5d4033f4 Revert "fix padding in places view"
This reverts commit 56888a567f.
2021-05-29 22:16:18 +00:00
Eugene Popov
df9ae6c24e Use SmallMedium icon size in the Places panel as default
This patch makes the Places panel to use SmallMedium icon size as default, making it easier to read. It also removes extra spacing from items with small icons (reverts e9a39700 and 56888a56).

BUG: 437345
2021-05-29 22:16:18 +00:00
l10n daemon script
ec3c196e5a GIT_SILENT made messages (after extraction) 2021-05-26 01:54:56 +00:00
l10n daemon script
83c9108f81 GIT_SILENT made messages (after extraction) 2021-05-26 00:23:27 +00:00
Ömer Fadıl Usta
b5e276d115 [src/settings/contextmenu/contextmenusettingspage] Fix Crash because of nullptr
BUG: 437539

(cherry picked from commit 879fa9fa7d)
2021-05-25 17:12:35 +00:00
Ömer Fadıl Usta
879fa9fa7d [src/settings/contextmenu/contextmenusettingspage] Fix Crash because of nullptr
BUG: 437539
2021-05-25 01:49:20 +00:00
l10n daemon script
5fca9ee722 GIT_SILENT made messages (after extraction) 2021-05-23 00:19:48 +00:00
l10n daemon script
cdfc40e477 GIT_SILENT made messages (after extraction) 2021-05-22 00:19:19 +00:00
l10n daemon script
8da9816536 GIT_SILENT made messages (after extraction) 2021-05-21 00:19:24 +00:00
Alexander Lohnau
0318f7d8ff
Download missing licenses 2021-05-20 22:20:10 +02:00
Saravanan K
6b64c7ff56 Add action to places panel context menu trash entry to open trash settings
BUG: 367583
FIXED-IN: 21.08
2021-05-20 16:04:41 +00:00
l10n daemon script
2e536476dd GIT_SILENT made messages (after extraction) 2021-05-20 00:19:16 +00:00
Laurent Montel
953b253676 Use directly autorcc 2021-05-19 22:10:14 +02:00
l10n daemon script
2393049df5 GIT_SILENT made messages (after extraction) 2021-05-19 00:21:32 +00:00
Nate Graham
7b112c7b27 Use more appropriate icon for "Create New" action
Right now this action is using the "document-new" icon, which depicts
creating a new file. This is inaccurate, as the menu provides options for
creating more than just files: it has one option to create folders and
three for creating different types of links. In fact, depending on the
set of installed software, there may not be any options to create new
documents at all!

To fix this, the icon would need to be made either more specific or
more generic.

There is no such icon that depicts being able to create a folder, a
document, or a link; such a thing is too specific to be able to
represent with a small icon. So our only real option is to use a more
generic icon.

This commit does that.
2021-05-18 14:45:45 +00:00
Laurent Montel
45853778e6 Add cmake preset support 2021-05-18 07:15:57 +02:00
l10n daemon script
e42659081d GIT_SILENT made messages (after extraction) 2021-05-18 00:21:28 +00:00
Felix Ernst
98e1fb66d0 Fix primary view changing folder for the closing animation
This commit fixes a bug which made it so an UrlNavigator that was
disconnected from a viewContainer would still indirectly control
the viewContainer because of a dubious connection created in
DolphinMainWindow.

Instead the internal UrlNavigator of the viewContainer is used
which is always connected to its own viewContainer.

This way the the supposedly disconnected primary UrlNavigator will
actually not affect the old disconnected viewContainer that is
currently being closed.

BUG: 437080
FIXED-IN: 21.08
2021-05-17 14:52:45 +02:00
Yuri Chornoivan
75d1d25d7e Fix minor typos 2021-05-17 08:48:21 +03:00
l10n daemon script
536d9129a4 GIT_SILENT made messages (after extraction) 2021-05-17 02:06:51 +00:00
l10n daemon script
2765519a8e GIT_SILENT made messages (after extraction) 2021-05-17 00:26:53 +00:00
Carl Schwan
c60887781d Add more screenshots 2021-05-16 20:10:59 +02:00
Felix Ernst
53a778c1eb Re-arrange the contents of the hamburger menu
To improve usability, the entries in the hamburger menu are
changed. Maybe the biggest fault of the previous menu contents were
that there were too many actions.

The new menu contents are composed of all the actions which are
necessary to use Dolphin and those which are very useful and should
be of interest for most users. Some menu contents change depending
on the state of the application. We can be more bold in only
showing what really seems necessary because this commit activates
the special sub-menu of KHamburgerMenu that helps users discover
all further features of Dolphin.

The hamburger menu is from now on also added to the context menus
in the view when both the menu bar and toolbar are hidden. This
allows users to hide both of them and still use all features of
Dolphin.
2021-05-13 16:49:27 +00:00
Ismael Asensio
4d9ea4261a Merge branch 'release/21.04' 2021-05-13 15:09:42 +02:00
Ismael Asensio
29636baff0 search/facetswidget: Check for protocol before trying to fetch tags
This was causing an error when trying to list items from the
non-existent `tags:` protocol.

BUG: 435586
FIXED-IN: 21.04.1
2021-05-10 14:05:35 +02:00
Alexander Lohnau
08a4edad3e DolphinContextMenu: Allow disabling "Open Terminal" action
BUG: 436323
FIXED-IN: 21.08
2021-05-10 11:22:06 +00:00