1
0
mirror of https://invent.kde.org/system/dolphin synced 2024-07-04 17:30:55 +00:00
Commit Graph

7906 Commits

Author SHA1 Message Date
l10n daemon script
d054ecaaed GIT_SILENT Sync po/docbooks with svn 2024-03-19 01:27:30 +00:00
Kai Uwe Broulik
f97c61ffac DolphinContextMenu: Add hint that secondary app will be opened by middle click
Displays it in the menu like a keyboard shortcut. Otherwise nobody
will ever find this feature.
2024-03-18 17:48:28 +00:00
l10n daemon script
731059d0ce GIT_SILENT Sync po/docbooks with svn 2024-03-18 01:43:29 +00:00
l10n daemon script
29519de9f6 GIT_SILENT Sync po/docbooks with svn 2024-03-17 01:41:47 +00:00
Nicolas Fella
d7c1799057 Save 'Open Archives as Folders' setting
This got lost in 489b56b68b

BUG: 474500
2024-03-16 15:23:11 +01:00
l10n daemon script
6e95d2b985 GIT_SILENT Sync po/docbooks with svn 2024-03-16 01:46:34 +00:00
l10n daemon script
d7bdba870b 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"
2024-03-16 01:17:09 +00:00
l10n daemon script
d9c712fda8 GIT_SILENT made messages (after extraction) 2024-03-16 00:40:39 +00:00
Heiko Becker
aa2574c9a3 GIT_SILENT Update Appstream for new release
(cherry picked from commit 8b7ae959be)
2024-03-15 21:25:29 +01:00
Benedikt Thiemer
1d4355f619 Add settings page for Panels
For now this just includes the settings for the information panel.

Prior to this commit the options for configuring the information panel
were only exposed via right clicking the information panel. This was
not discoverable enough. Our guidelines also state that much. See:
https://community.kde.org/Get_Involved/Design/Frequently_Discussed_Topics#Context_menus_are_not_enough

The settings page is missing the "Configure" button for the entries in
the information panel, which can only be found in the context menu.
This is because I thought it would be weird to move it to the settings
page. (The "configure" button is used to select the entries for the
information panel)

BUG: 480243
FIXED-IN: 24.05
2024-03-15 16:28:35 +00:00
l10n daemon script
89822d3ff2 GIT_SILENT Sync po/docbooks with svn 2024-03-15 01:42:52 +00:00
Felix Ernst
ad47e8dea1 Adapt testOpenInNewTabTitle() to upstream change
Prior to this commit the test failed because it expected a generic "inode-directory" icon for directories like "home" or "tmp" even though we have more specialised and nicer icons for these directories. I assume the test only used to pass because we were actually always using generic and therefore unhelpful icons for tabs.

This commit removes the hard-coded expectation of the "inode-directory" icon and instead compares the tab icon with the return value of KIO::iconNameForUrl(tabUrl).
2024-03-14 10:50:48 +00:00
l10n daemon script
fcf395aa01 GIT_SILENT Sync po/docbooks with svn 2024-03-14 01:43:58 +00:00
Kai Uwe Broulik
3a7e54f4b4 Sync Dolphin icon with Breeze system-file-manager
The upstream Breeze variant colorizes based on the user's color scheme
which was lost when Dolphin switched to using its org.kde.dolphin icon.

BUG: 482581
FIXED-IN: 24.02.1
2024-03-13 17:18:21 +00:00
Felix Ernst
f588a7d48b Animate most of the bars
When a bar is toggled visible this usually happens because the
user might want to use its functionality now. However, if bars
appear without animation or at a location the user is not
currently looking at, they might not notice that they have appeared
at all.

An animation makes it more likely that the user notices the change
and can then use the newly made visible component.

Another reason for animations for showing or hiding of components
is that it can be disorienting for users when panels or bars
suddenly appear or disappear without animation. There is no visible
movement then, so the user might not know what happened if they
didn't concentrate or blink at that moment. The newly appearing or
disappearing component might also displace other components which
can make it difficult to find what one was just looking at.

These bars animate now after this change:
- Search panel
- Filter bar
- Status bar

This is implemented by extracting the animation code from
SelectionMode::TopBar into a new abstract base class
AnimatedHeightWidget. This class is now also used in
SelectionMode::BottomBar and the animating code there was removed.

These bars are left in Dolphin that stay without animation:
- Menu bar (Would probably need to be implemented in KXmlGui)
- Tool bar (Would probably need to be implemented in KXmlGui)
- Tab bar (Needs a different appraoch because it already inherits
QTabBar and therefore can not inherit AnimatedHeightWidget)
2024-03-13 15:39:00 +00:00
l10n daemon script
73ea5fd845 GIT_SILENT Sync po/docbooks with svn 2024-03-13 01:24:29 +00:00
Jin Liu
3a03f86b83 Enable custom view properties for special folders even if "remember for each folder" is off
Special folders include: search, trash, recents, timeline

Not including Downloads, although we have a custom view when "remember
for each folder" is on.

Rational: These folders really need the custom view. So even if the
user selects a global view for all "normal" folders, s/he probably
still want a custom view for special folders.
2024-03-12 09:43:44 +00:00
l10n daemon script
af91586e00 GIT_SILENT Sync po/docbooks with svn 2024-03-12 01:22:50 +00:00
l10n daemon script
49f98ced07 GIT_SILENT Sync po/docbooks with svn 2024-03-11 01:22:39 +00:00
l10n daemon script
a243f513a6 GIT_SILENT Sync po/docbooks with svn 2024-03-10 01:42:27 +00:00
Méven Car
f2c78d3e98 KItemListController::onPress: remove unused screenPos argument
NO_CHANGELOG
2024-03-09 13:02:16 +01:00
Méven Car
9be1ffd5ef dolphinmainwindow: Fix ordering warning
NO_CHANGELOG
2024-03-09 13:02:16 +01:00
Méven Car
a6313a5c98 Handle deprecation of QGuiApplication::paletteChanged
NO_CHANGELOG
2024-03-09 13:01:57 +01:00
l10n daemon script
06d81881b0 GIT_SILENT Sync po/docbooks with svn 2024-03-09 01:28:56 +00:00
Nicolas Fella
95551f4492 Remove unneeded code for toggeling dockwidget visibility
QDockWidget::toggleViewAction::toggled is emitted when minimizing
the application window on X11 (https://bugreports.qt.io/browse/QTBUG-48161
potentially related). This will cause the dockwidget to be hidden when
minimizing the window.

We don't actually seem to need that connection, triggering the action
(via shortcut or menu) seems to correctly show/hide the dockwidget
without it

BUG: 481952
2024-03-08 18:29:46 +00:00
Konstantin Kharlamov
c8b3d90a57 dolphin.zsh: complete both directories and URL protocols
Dolphin is mostly used for navigating local paths (or remote paths
mounted locally), so it is important to have directories completed as
well as URLs
2024-03-08 17:01:03 +00:00
Akseli Lahtinen
803bbd1ae1 Start autoActivationTimer only if hovering over a directory
Before starting autoActivationTimer, check that we're hovering the item on top of a directory.
If we don't check for it, the the autoActivationTimer will try to open the hovered item 
in it's default application, which can be distracting and break the actual action
the user was trying to do, like moving the file to a directory. 


BUG:479960
2024-03-08 11:37:20 +00:00
l10n daemon script
599ddb3c0d GIT_SILENT Sync po/docbooks with svn 2024-03-08 01:22:06 +00:00
Nico Kreipke
815bb8d514 Add option to completely disable directory size counting
Dolphin shows the size of directories by listing their contents, which
for some users might cause unwanted load on the file system.
Depending on the size of the subdirectories in question and how the
storage is accessed, this might cause noticeable delays and even
freezing.

This commit adds a new option under "View -> Content Display" that
enables users to set "Folder size:" to "No size", completely disabling
directory size counting. Directory size counting is still enabled by
default.

As a third option for "Folder size" is added, the DirectorySizeCount
boolean setting is replaced with a DirectorySizeMode enum setting. The
old setting is migrated using a kconf_update script.

FEATURE: 477187
GUI:
2024-03-07 15:11:34 +00:00
Jonathan Marten
67910325b5 Remove 'Id' field from JSON plugin metadata
KPluginMetaData (since kcoreaddons commit be10ddbf) now derives the
plugin ID from the file name and ignores the ID field.  Eliminates many
runtime warnings of the form:

konqueror/kf.coreaddons KPluginMetaData::KPluginMetaData: The plugin
"/usr/lib64/plugins/kf6/parts/dolphinpart.so" explicitly states an 'Id'
in the embedded metadata. This value should be removed, the resulting
pluginId will not be affected by it
2024-03-06 15:00:29 +00:00
Albert Astals Cid
4eb7dab4ff flatpak: Switch to non-preview runtime 2024-03-06 00:13:52 +01:00
l10n daemon script
2361b031a4 GIT_SILENT Sync po/docbooks with svn 2024-03-05 01:21:21 +00:00
Nicolas Fella
5d96999a51 Open KFind with current dir
Amends 2cd3d58eec

BUG: 482343
2024-03-03 23:25:09 +01:00
l10n daemon script
6231e67120 GIT_SILENT Sync po/docbooks with svn 2024-03-01 01:43:28 +00:00
Jin Liu
dc149ec5e5 DragAndDropHelper::updateDropAction: use StatJob for remote URLs
When dragging onto tabs/Places from a remote URL, we don't process
the QDropEvent immediately, but start a StatJob and process the
event when it finishes.

Also, the result of the StatJob is cached for 30 seconds, to avoid
starting duplicate jobs.
2024-02-29 23:13:47 +00:00
l10n daemon script
992272f8c5 GIT_SILENT Sync po/docbooks with svn 2024-02-29 01:23:47 +00:00
l10n daemon script
68c8b1ebf5 GIT_SILENT Sync po/docbooks with svn 2024-02-28 01:21:56 +00:00
nerdopolis turfwalker
e1848a48bb Fix compile with Qt 6.7 2024-02-27 12:54:09 +00:00
Jin Liu
0eed595268 Fix: can't drop into remote dir
KFileItem::isDir() only works when it's created from listDir(),
or from a local QUrl. For a remote QUrl, isDir always returns
false, so we can't use that in supportsDropping().

As a workaround, now supportsDropping() always returns true in
remote dirs -- we don't check if a remote dir is writable when
dropping.
2024-02-27 10:13:21 +08:00
l10n daemon script
f13f3c7a26 GIT_SILENT Sync po/docbooks with svn 2024-02-26 01:24:18 +00:00
l10n daemon script
5698ad8ee3 GIT_SILENT made messages (after extraction) 2024-02-26 00:39:42 +00:00
l10n daemon script
16790e05be GIT_SILENT Sync po/docbooks with svn 2024-02-24 01:20:20 +00:00
l10n daemon script
13eef198b7 GIT_SILENT made messages (after extraction) 2024-02-24 00:39:10 +00:00
Felix Ernst
84447aab47 Resolve conflict between activateSoonAnimation and hoverSequenceAnimation
Prior to this commit, the activateSoonAnimation would not play for
folders using previews. That was because the hoverSequences of
folder previews would always take priority over the
activateSoonAnimation.

This commit prioritises the activateSoonAnimation for the quick
moments in which it is active.
2024-02-23 10:19:39 +00:00
Felix Ernst
94828aa307 Add drag-open animation
This commit adds an animation for folders that makes clear that
they will open or expand soon. This is the case when the option to
open folders during drag operations is enabled and a user drags an
item on top of a folder.

The animation goes like this:
- Replace the folder's icon with the "folder-open" icon
- Go back to the folder's original icon
- Replace the folder's icon with the "folder-open" icon once more
2024-02-23 10:19:39 +00:00
Felix Ernst
796332d63a Avoid searching for the knetattach service on startup
The installed services might change while Dolphin is running, so it is
better to only search when they are actually needed instead.

The very first time such a search happens (e.g. after updating the
system), is also somewhat slow, which could slow down the very first
Dolphin startup.

This commit might also produce a very slight general startup speed
improvement. However, the measured change is within the margin of
error.
2024-02-23 09:45:53 +00:00
l10n daemon script
41bd0d27fa GIT_SILENT Sync po/docbooks with svn 2024-02-22 01:23:37 +00:00
Vlad Zahorodnii
19a59fad5f Fix a crash in DolphinSearchBox::hideEvent()
BUG: 481553
2024-02-21 10:13:46 +00:00
l10n daemon script
855c712a23 GIT_SILENT Sync po/docbooks with svn 2024-02-21 01:23:40 +00:00
l10n daemon script
a309c43e7a GIT_SILENT Sync po/docbooks with svn 2024-02-20 01:25:33 +00:00