Commit graph

6836 commits

Author SHA1 Message Date
l10n daemon script 943af95605 GIT_SILENT made messages (after extraction) 2021-08-23 01:54:12 +00:00
l10n daemon script e76bf5cb18 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-08-23 01:28:23 +00:00
l10n daemon script 37d415cedc GIT_SILENT made messages (after extraction) 2021-08-23 00:22:17 +00:00
Christian Muehlhaeuser 0ed31f10c3 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.
2021-08-14 09:01:56 +00:00
Alexander Volkov 7f4756aecb 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 0ac57fbe90)
2021-08-10 17:06:36 +03:00
Alexander Volkov 0ac57fbe90 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.
2021-08-10 12:04:25 +03:00
l10n daemon script e101560f84 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-08-09 02:11:38 +00:00
l10n daemon script 9fc1e5397b GIT_SILENT made messages (after extraction) 2021-08-09 01:36:37 +00:00
l10n daemon script cb9142a9bb 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-08-09 01:11:30 +00:00
l10n daemon script a38f1c8eae GIT_SILENT made messages (after extraction) 2021-08-09 00:18:47 +00:00
Nate Graham 63e12c0cdf Revert "Show hidden files and folders last"
This reverts commit 996e430b62.

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.
2021-08-06 10:46:33 -06:00
Laurent Montel 68ae758f45 GIT_SILENT: improve cmakepreset support 2021-08-06 07:08:20 +02:00
Heiko Becker bb67def173 Revert "Configurable Show hidden files and folders last toggle"
This reverts commit 50149d6abb.

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
2021-08-06 00:40:40 +02:00
Heiko Becker 272aa65bb5 Revert "Disable Hidden Files Last sort by default"
This reverts commit fd2203bb39.
2021-08-06 00:36:50 +02:00
Nate Graham 3e95a6cccc Merge branch 'release/21.08' 2021-08-05 08:34:04 -06:00
Chris Holland fd2203bb39 Disable Hidden Files Last sort by default 2021-08-05 12:55:01 +00:00
Gaston Haro 50149d6abb Configurable Show hidden files and folders last toggle
CCBUG: 241227

Revision: https://phabricator.kde.org/D29115
2021-08-05 12:55:01 +00:00
Heiko Becker 8f093e6b74 GIT_SILENT Update Appstream for new release
(cherry picked from commit 2b90a13c62)
2021-08-04 23:56:32 +02:00
Heiko Becker 2b90a13c62 GIT_SILENT Update Appstream for new release 2021-08-04 23:49:19 +02:00
Heiko Becker 1aa109ea77 GIT_SILENT Upgrade release service version to 21.08.0. 2021-08-04 23:39:33 +02:00
Nate Graham d472cb2a25 Merge branch 'release/21.08' 2021-08-02 10:32:31 -06:00
Jordan Bucklin f190ae1cf8 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
2021-08-01 15:54:08 -07:00
Felix Ernst 7edce5a09c 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
2021-08-01 21:57:23 +00:00
Nate Graham ea7d4f059d Revert "Don't session-restore invalid paths"
This reverts commit c733b3aa97.

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
2021-07-28 12:59:29 -06:00
Heiko Becker 0cdcf041cf GIT_SILENT Upgrade release service version to 21.07.90. 2021-07-27 21:29:00 +02:00
Albert Astals Cid 393c659c9a Merge remote-tracking branch 'origin/release/21.08' 2021-07-27 00:34:14 +02:00
Albert Astals Cid 674a4a91da Add break; to KItemListRoleEditor::keyPressEvent cases 2021-07-26 22:08:58 +00:00
Eugene Popov 90699c2c2d [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 deaf5916f2)
2021-07-24 03:30:51 +00:00
Nicolas Fella 6e56cc3286 Remove unneeded KCM plugin keyword stuff 2021-07-23 10:15:06 +00:00
l10n daemon script 012eb06968 GIT_SILENT made messages (after extraction) 2021-07-23 00:20:10 +00:00
Ahmad Samir 32c1bd7188 Clean up KF API older than 5.82
GIT_SILENT
2021-07-19 09:57:58 +00:00
Ahmad Samir 0b81b4baf9 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.
2021-07-19 09:57:58 +00:00
Eugene Popov 7908aff3b5 [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.
2021-07-18 16:59:47 +00:00
Eugene Popov deaf5916f2 [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
2021-07-18 16:58:10 +00:00
Toni Asensi Esteve 3bde6ba13c 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
2021-07-17 19:50:52 +02:00
Nate Graham 2c7a1f4b4c Merge branch 'release/21.08' 2021-07-16 23:08:18 -04:00
Jordan Bucklin 3fe971e174 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
2021-07-16 19:39:27 -07:00
Méven Car 6f632283d0 Allow to have HiDpi previews
BUG: 401170
2021-07-16 06:53:32 +00:00
Elvis Angelaccio b26b1d491e Merge branch 'release/21.08' 2021-07-13 21:50:41 +02:00
Christian Muehlhaeuser baaf0c29b8 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
2021-07-13 21:48:41 +02:00
Alex Richardson 3fdd93db97 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.
2021-07-10 20:18:28 +00:00
Alex Richardson 531de16cd0 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.
2021-07-10 20:18:28 +00:00
Albert Astals Cid d284e22f87 GIT_SILENT Upgrade release service version to 21.11.70. 2021-07-10 19:59:01 +02:00
Albert Astals Cid 7e0d3e04ce GIT_SILENT Upgrade release service version to 21.07.80. 2021-07-10 18:40:59 +02:00
Alex Richardson 997977c67a 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.
2021-07-09 09:19:05 +01:00
l10n daemon script c5fdcc41de GIT_SILENT made messages (after extraction) 2021-07-09 00:19:18 +00:00
l10n daemon script 93151bd392 GIT_SILENT made messages (after extraction) 2021-07-07 00:20:10 +00:00
Heiko Becker fd26898a36 GIT_SILENT Update Appstream for new release
(cherry picked from commit f8838005d7)
2021-07-05 20:59:45 +02:00
Alexander Lohnau 30299e00b1 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.
2021-07-04 20:33:48 +00:00
Alexander Lohnau dd7f3fb783 contextmenu: Listen to new error signal from KFileItemActions
Task: https://phabricator.kde.org/T12164
2021-07-04 20:33:48 +00:00