Commit graph

7088 commits

Author SHA1 Message Date
Nicolas Fella
3b4676b387 Fix opening FTP files in their preferred app
When passing an URL like ftp://foo/bar.txt OpenUrlJob opens it in the default handler for ftp urls, not the one for txt files, which would be more appropriate here

By passing along the mimetype we can change that behavior to what we want

BUG: 443253
2022-02-04 00:18:00 +01:00
Méven Car
08a9aaad2c InformationPanel: Improve video arrow overlay appearance 2022-02-02 18:16:59 +01:00
Bharadwaj Raju
487e95376d Don't set ignoreMaximumSize on preview jobs for slow files
With this change (plus https://invent.kde.org/frameworks/kio/-/merge_requests/702), slow files will be treated as remote files for generating previews. This should make browsing local mounts of remote locations smoother.
2022-02-02 09:41:10 +00:00
Méven Car
851b356f38 Dimension role: use × instead of x 2022-01-31 20:35:58 +01:00
Nicolas Fella
ca35c71f3d Improve placeholder message for unassigned tag
When opening tags:/ we show 'No tags' when there are no tags found.

When opening a tag that exists but doesn't have any files associated we show the same message, which isnt't appropriate.

Instead show "No files tagged with 'foo'", which makes more sense
2022-01-31 18:16:29 +00:00
Kai Uwe Broulik
1c5b6d4d10 Add "Unlock panels" to main window context menu
It's the Qt-provided one that shows on the menu bar
and dock widget title bars.
2022-01-31 12:06:08 +00:00
Kai Uwe Broulik
d68bb06e89 Sync panel action icon to built-in toggleViewAction
Ensures the icon is used consistently also in Qt-provided UI
2022-01-29 20:33:23 +00:00
Felix Ernst
64af89a3ff Fix my previous bad merge
I failed to notice that the changes didn't apply cleanly. With this
commit everything should be a-okay again.
2022-01-29 18:47:40 +01:00
Felix Ernst
793ad44cb8 Merge branch 'release/21.12' 2022-01-29 18:14:49 +01:00
Eugene Popov
43e915213e Revert "[DetailsView] Improve zooming"
This reverts commit 7908aff3b5.

Reverting this commit will fix the issue of not being able to rename
the last file in Details View and will also make the items in Details
View and Compact View have the same height.

BUG: 447215
FIXED-IN: 21.12.2
2022-01-29 16:35:47 +00:00
Heiko Becker
26ac2f6e0a GIT_SILENT Update Appstream for new release
(cherry picked from commit 9d08bb5b97)
2022-01-28 23:29:52 +01:00
Heiko Becker
9d08bb5b97 GIT_SILENT Update Appstream for new release 2022-01-28 23:29:39 +01:00
Heiko Becker
dd77fcb3a6 GIT_SILENT Upgrade release service version to 21.12.2. 2022-01-28 22:39:33 +01:00
l10n daemon script
166e71533e 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-01-28 01:45:57 +00:00
Jan Blackquill
65846125d7 Make group headers mirror rtl 2022-01-25 23:49:03 +00:00
Stephan Sahm
d71b617205 Expose konsolepart shortcuts in Dolphin's shortcuts view
Adapt some changes from Yakuake a0b08cb1f7

credit to Stephan Sahm @schlichtanders

BUG: 428265
2022-01-25 17:33:01 +00:00
Kai Uwe Broulik
94262a1c02 Add "Dimensions" (width x height) role
It is more convenient to use than individual width and height properties
2022-01-25 13:34:29 +01:00
Kai Uwe Broulik
7c5af3f88e [Places Panel] Stop drag activation timer when dropping
Avoids switching folders after a drop while interacting with
the Copy/Move/Link menu.
2022-01-24 17:44:03 +01:00
l10n daemon script
d04cc67786 GIT_SILENT made messages (after extraction) 2022-01-24 02:10:57 +00:00
l10n daemon script
f3cf4e3ae1 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-01-24 01:45:03 +00:00
l10n daemon script
d192c8984f GIT_SILENT made messages (after extraction) 2022-01-24 00:46:18 +00:00
Kai Uwe Broulik
d832216159 [Tab Bar] Accept proposed action only ontop of a tab
You cannot drop a file/folder onto the empty area of the tab bar,
so show the appropriate "not allowed" cursor.
2022-01-23 18:49:24 +00:00
Jan Blackquill
b81d3fbbbb KItemListViewLayouter: handle grid view layouts in RtL properly 2022-01-19 22:29:18 +00:00
Nicolás Alvarez
f8f97f0593 Switch to new CI tooling 2022-01-19 13:37:49 +00:00
Snehit Sah
0a311a5288 Add content rating
Signed-off-by: Snehit Sah <snehitsah@protonmail.com>
2022-01-18 15:46:08 +00:00
Yuri Chornoivan
2d1842c4f8 Fix typo and release name 2022-01-18 16:41:14 +02:00
Yuri Chornoivan
a73caceaf4 Document the new context menu item 2022-01-17 08:52:38 +02:00
Tom Lin
d383961719 Full row highlight implementation
This commit implements full-row selection and hover highlights for the
details view mode.

This commit also contains fixes for 444680, 444753, both uncovered
during this change.

BUG: 181438
BUG: 444680
BUG: 444753
FIXED-IN: 22.04
2022-01-16 14:01:32 +00:00
Laurent Montel
a286506405 We depend against kf5.91 2022-01-15 17:44:36 +01:00
Laurent Montel
c21a02bcab Adapt build system for building against qt6 2022-01-14 08:04:01 +01:00
Alexander Lohnau
8bc7f72a73 Utilize ecm_set_deprecation_versions to exclude deprecated API 2022-01-14 07:13:20 +01:00
Alexander Lohnau
63124f569c Port away from deprecated I18N*_NOOP macros 2022-01-13 21:41:19 +01:00
Kai Uwe Broulik
af2baf8047 Remove KStandardItem and KStandardItemModel
They were used by the custom places panel and are now unused.
2022-01-11 13:43:44 +01:00
Kai Uwe Broulik
0603e18cd4 Port back to KFilePlacesView
This removes the custom-view engine version of the places panel
and replaces it with the upstream `KFilePlacesView` from KIO.
2022-01-09 18:09:10 +01:00
Claudio Cambra
3abc4cfcd4 Add Flatpak patches to Dolphin depending on CMake definition
When Dolphin gets packaged as a flatpak, this patch gets applied:

https://invent.kde.org/packaging/flatpak-kde-applications/-/blob/master/dolphinpatch.patch

That's not really an ideal solution, so this is probably a better idea -- to upstream the patches and apply them depending on a CMake definition
2022-01-04 21:53:44 +00:00
Alexander Lohnau
dafa1e1f20 Utilize KIO::PreviewJob::availableThumbnailerPlugins method to fetch available preview plugins 2022-01-04 17:07:38 +00:00
Heiko Becker
9185c5128e GIT_SILENT Update Appstream for new release
(cherry picked from commit 306e7e2493)
2022-01-03 22:19:57 +01:00
Heiko Becker
306e7e2493 GIT_SILENT Update Appstream for new release 2022-01-03 22:19:47 +01:00
Heiko Becker
a3fb770d6c GIT_SILENT Upgrade release service version to 21.12.1. 2022-01-03 22:12:16 +01:00
Alexander Lohnau
795406e21b Load service menus for settings from new file location
This is a replacement for the KServiceTypeTrader loading.
Because third parties still use the KServiceTypeTrader file location, we need to
support both for the time being.
2022-01-02 10:13:27 +01:00
Alexander Lohnau
e447b88296 Version control plugins: Remove defunct KServiceTypeTrader query for available plugins
We do not load those plugins anymore, consequently it does not make sense to find and display them in the settings
2022-01-02 10:04:56 +01:00
l10n daemon script
f386f848de 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-01-02 02:03:50 +00:00
Nate Graham
28ecfd5a34 Improve sudo/kdesu error message
Now that you can get elevated privileges while using the app, we can
display a more useful and descriptive error message when people try to
run Dolphin using `sudo` or `kdesu`.

Also bump the frameworks dependency to 5.90 since that's the KIO
version that includes this change, so we can be sure that the message is
always accurate.
2021-12-31 10:38:19 -07:00
l10n daemon script
c40fe3b886 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"
2021-12-31 01:44:30 +00:00
Ben Cooksley
694e4e2452 Use the CDN based endpoint rather than the legacy endpoint which hits our download redirector. 2021-12-30 07:31:41 +13:00
Fushan Wen
eb0a7da653
kitemlistview: Port KItemListView::itemAt to std::optional
Use `value_or(-1)` for those functions that don't use `std::optional`.
2021-12-28 22:48:28 +08:00
l10n daemon script
c071150b7d 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"
2021-12-28 01:43:52 +00:00
Leo Treloar
4b224516f4 Add name-only tooltip and make logicalHeightHints a pair of qreal and bool 2021-12-28 11:48:23 +11:00
Leo Treloar
e46e982dbd Change default value of MaximumTextLines to 3
The previous default of allowing an unlimited number of text lines to be
displayed in icon view can lead to very large, inconsistent, and
unattractive gaps between rows. Capping this by default makes things
look much neater.
2021-12-24 17:07:54 +11:00
l10n daemon script
b38d7150d9 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"
2021-12-20 01:45:56 +00:00