1
0
mirror of https://invent.kde.org/system/dolphin synced 2024-06-30 23:46:46 +00:00
Commit Graph

8076 Commits

Author SHA1 Message Date
Julius Künzel
b30eabbee2 Use breeze style on Windows
Most KDE apps to the same
2024-03-28 10:56:16 +00:00
Felix Ernst
231200e680 Add comment to explain KColorSchemeManager 2024-03-28 10:55:07 +00:00
Julius Künzel
d30c921e8f KColorSchemeManager only on Windows and macOS 2024-03-28 10:55:07 +00:00
Julius Künzel
aeb704851d Use KColorSchemeManager
Fixes the dark theme on Windows
2024-03-28 10:55:07 +00:00
l10n daemon script
cf3732087b GIT_SILENT Sync po/docbooks with svn 2024-03-28 01:50:11 +00:00
Tem PQD
d1b06ab94f Touch up various user-visible strings
This improves consistency among wording. More clarity is achieved
by avoiding technical terms or terms with multiple meanings.

Notable changes:
-Specify full settings path: "Configure Dolphin > View > General"
in Show Hidden Files whatsThis
-Mention setting to hide files with application/x-trash MIME type
in "Show Hidden Files" whatsThis
-Mention Split View mode in "Copy/Move to Other View" whatsThis
-Reword "Activate Tab" actions to "Go to Tab" (Next, Previous,
Last, numbers)
-Add "Last Tab" iconText, consistent with "Next Tab" & "Previous
Tab"
-Update Split View whatsthis to explain how to tell which view is
"in focus" visually
-Replace "pane" with "view" in split view settings text, and
clarify tooltip text
-Reword "objects" to "items" in whatsThis texts
-Reword "find bar" to "search bar" in Search button whatsThis text
2024-03-27 23:52:18 +00:00
Eugene Popov
240d33ce17 Better support for RTL
This MR fixes some issues related to RTL scripts:
- wrong layout in Compact View mode
- broken horizontal scrolling in Icon View and Details View modes
- broken navigation with left and right arrow keys in Details View mode

BUG: 484012  
BUG: 449493
2024-03-27 10:28:15 +00:00
l10n daemon script
7a7cab61b6 GIT_SILENT Sync po/docbooks with svn 2024-03-27 01:43:53 +00:00
l10n daemon script
4725126090 GIT_SILENT Sync po/docbooks with svn 2024-03-26 01:43:30 +00:00
Méven Car
5d738f51a6 Use craft to build for windows 2024-03-25 16:06:32 +00:00
Julius Künzel
b318ec31bb Fix right-mouse click crashes on Windows 2024-03-25 16:05:22 +00:00
l10n daemon script
d385c4d4c8 GIT_SILENT Sync po/docbooks with svn 2024-03-25 01:43:37 +00:00
Méven Car
d270700c0e versioncontrol: Prevent a use-after-free in UpdateItemStatesThread
UpdateItemStatesThread kept a pointer reference to m_plugin whose
lifetime was tied to VersionControlObserver parents.
On application shutdown it could happen the thread is still running when
the Observer is destroyed.

Make the plugin pointer a weak reference, allowing to stop the thread
when the plugin is gone.

BUG: 477425
2024-03-24 11:55:54 +01:00
l10n daemon script
5795d57dcb GIT_SILENT Sync po/docbooks with svn 2024-03-24 01:25:23 +00:00
Eugene Popov
bddf439124 Avoid wrapping text in the status bar
The size of the status bar isn't intended to display multiline text.
2024-03-23 21:02:24 +00:00
Eugene Popov
b3ac8d783b KItemListView: Improve scrollToItem()
Prevent an item with a long name from scrolling to the right edge when navigating in Compact View mode.
2024-03-23 09:30:29 +00:00
l10n daemon script
325380ffd1 GIT_SILENT Sync po/docbooks with svn 2024-03-23 01:24:26 +00:00
l10n daemon script
6e93b63551 GIT_SILENT Sync po/docbooks with svn 2024-03-22 01:23:02 +00:00
l10n daemon script
c651a17e97 GIT_SILENT Sync po/docbooks with svn 2024-03-21 01:25:52 +00:00
l10n daemon script
7294263703 GIT_SILENT Sync po/docbooks with svn 2024-03-20 01:26:34 +00:00
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