Commit graph

7735 commits

Author SHA1 Message Date
Eric Armbruster a85863befd Add open in split view action
This action is shown only if a single folder is selected. The action
opens the selected folder in the inactive split view (and opens the
split view if necessary).

FEATURE: 465500
2023-09-09 15:45:26 +00:00
Heiko Becker f900801540 GIT_SILENT Update Appstream for new release
(cherry picked from commit 6fe9932a17)
2023-09-09 10:26:40 +02:00
l10n daemon script dfdd71367e GIT_SILENT Sync po/docbooks with svn 2023-09-07 01:48:11 +00:00
Méven Car 6eb8f9b47a DolphinContextMenu: Use targetUrl in addOpenParentFolderActions
Amends 3aa8cf00ee
2023-09-06 19:10:21 +02:00
Méven Car 3aa8cf00ee Add open containing folder options for files in recentlyused:/ 2023-09-06 14:39:15 +02:00
Amol Godbole 0e4d428e84 DolphinView: Reset scrollbars before changing view mode
When view modes are changed, the scrollbars are not reset. This can
cause the scroll area to be moved out of view after changing the view
mode, making the view unusable. This commit resets the scrollbars.

BUG: 393152
2023-09-05 04:58:05 +00:00
Amol Godbole 385146a1e8 KItemListView: Fix inconsistencies in requiredWidth calculation
Commits d3839617 and 3bf471e0 introduced a few changes to requiredWidth calculation.
This commit makes the calculation of requiredWidth consistent across KItemListView.
2023-09-05 04:58:05 +00:00
l10n daemon script 6820273db0 GIT_SILENT Sync po/docbooks with svn 2023-09-05 01:47:13 +00:00
Amol Godbole c4bb3db022 Restore the URL when DolphinSearchBox is cleared
Currently, the URL navigator is not updated when the search box is cleared. This MR restores the URL, by closing and reopening the box.

The call for emitting closeRequest() on pressing Esc has been replaced with emitCloseRequest(). The wait duration before starting a search has been reduced to 500ms to increase responsiveness.

Also, the bugfix for BUG: 423328 is slightly incorrect and causes the search term to not be displayed when opening a saved search for the first time. As a better solution for this bug, DolphinSearchBox::setText() now updates the text only if the text has changed.

BUG: 473775
2023-09-04 07:39:13 +00:00
Amol Godbole 9ba0904013 KFileItemModel: Delay emitting currentDirectoryRemoved() signal
The KCoreDirLister object is modified before KCoreDirListerCache::deleteDir()
returns because the signal currentDirectoryRemoved() is emitted.
This prevents removal of the deleted lister from dirData.listersCurrentlyHolding
in KCoreDirListerCache::forgetDirs() when the tab is closed, which causes the
crash described in the bug. Hence, the signal currentDirectoryRemoved()
is delayed to ensure this does not occur.

BUG: 473377
2023-09-04 00:53:38 -05:00
l10n daemon script d7535d6977 GIT_SILENT Sync po/docbooks with svn 2023-09-04 01:51:18 +00:00
l10n daemon script 4920eaa7f7 GIT_SILENT Sync po/docbooks with svn 2023-09-03 02:20:10 +00:00
Méven Car 741bea8324 fix test in FreeBsd KItemListControllerExpandTest::testDirExpand 2023-09-02 17:27:25 +02:00
Méven Car fae5fec964 Add focusOut and focusIn event support for KFileItemListView and update selected widget on focus change 2023-09-02 14:42:54 +02:00
Oliver Beard 012f8a224a k[standard]itemlistwidget: Account for view focus in selection highlight 2023-09-02 07:41:49 +02:00
l10n daemon script c628bb226e GIT_SILENT Sync po/docbooks with svn 2023-09-02 01:54:09 +00:00
Julius Enriquez 6c357ea7d5 Enable GitLab CI for Flatpak 2023-09-01 17:19:23 +00:00
l10n daemon script 746996133a GIT_SILENT Sync po/docbooks with svn 2023-09-01 01:47:51 +00:00
l10n daemon script 7b17e5b021 GIT_SILENT Sync po/docbooks with svn 2023-08-31 01:48:01 +00:00
l10n daemon script 1a630588b3 GIT_SILENT Sync po/docbooks with svn 2023-08-30 01:48:05 +00:00
Méven Car 079f903bc8 Fix a bunch of clazy warnings 2023-08-29 07:18:51 +00:00
l10n daemon script a55bba67bc GIT_SILENT Sync po/docbooks with svn 2023-08-29 01:46:18 +00:00
Méven Car 0cbc912319 Use KMessageBox::warningContinueCancel when appropriate
This will prevent saving the "Cancel" + "don't show again" result, which is meaningless.
2023-08-28 14:08:53 +02:00
Méven Car b45c57332f Confirmations setting: Add checkbox for ConfirmOpenManyFolders and ConfirmOpenManyTerminals
We have to special handle the values saved as it is interpreted by KMessageBox
2023-08-28 13:59:09 +02:00
Méven Car 1318f16fd7 Clean obsolete ifdefs since dolphin requires KF 5.101+ 2023-08-28 10:36:37 +02:00
l10n daemon script a2e888d9a0 GIT_SILENT Sync po/docbooks with svn 2023-08-28 02:21:07 +00:00
l10n daemon script 2623cb4256 GIT_SILENT Sync po/docbooks with svn 2023-08-27 01:53:11 +00:00
l10n daemon script c9b04eb7ff GIT_SILENT Sync po/docbooks with svn 2023-08-26 01:50:30 +00:00
l10n daemon script 3c36357ea0 GIT_SILENT Sync po/docbooks with svn 2023-08-25 01:50:11 +00:00
Méven Car 46d2d147bf Special case file opening with middle click for executable scripts
Since the first action would launch the script, we can use the first application associated to open the file.
2023-08-24 18:27:23 +02:00
l10n daemon script 9b4c37ea6a GIT_SILENT Sync po/docbooks with svn 2023-08-24 01:47:19 +00:00
Kai Uwe Broulik 5a7b749f5b KStandardItemListWidget: Render pixmap with explicit dpr
Instead of using the one from QApplication, use the one from the window.
2023-08-23 19:48:05 +00:00
Méven Car ae1980442d Merge branch 'master' into kf6 2023-08-23 18:56:41 +02:00
Felix Ernst 11fb9344c0 Allow to not ask again confirmation when opening 5 or more files or terminal at once
BUG: 473513
2023-08-23 16:54:52 +00:00
Méven Car d27ee07de7 On middle-click, open file with the second application for the file mime
FEATURE: 390631
2023-08-23 12:35:48 +00:00
Méven Car ff852b97f1 Re-Allow to set settings in Settings-> View-> General page
Regressed in 489b56b68b

Simplify implementation by sharing making class ViewSettingsPage implement SettingsPageBase sharing implementation with other tabs in viewsettingspage
2023-08-23 14:26:09 +02:00
l10n daemon script 8891258ef6 GIT_SILENT Sync po/docbooks with svn 2023-08-23 01:49:56 +00:00
Ilya Bizyaev d37cb5eb36
Swap "Open Path in New Tab" and "Open Path in New Window"
Looks like I missed it back in
402f7f3041
— so fixing now :)
2023-08-22 23:22:05 +02:00
l10n daemon script 1fca465624 GIT_SILENT Sync po/docbooks with svn 2023-08-22 01:50:25 +00:00
l10n daemon script e2e1cd0d8e GIT_SILENT Sync po/docbooks with svn 2023-08-21 01:49:09 +00:00
Kai Uwe Broulik 21cd9da8fd KItemListView: Use own palette rather than go hunt for the scene
Documentation for `QGraphicsWidget::palette` says:
> When a widget's palette changes, it resolves its entries against its
> parent widget, or if it doesn't have a parent widget, it resolves against the scene.

So I don't see why we would need to do that ourselves.

More importantly, though, it seems in Qt 6 the palette isn't updated in time,
so when changing color schemes, Dolphin picks the old color instead of the new one,
leading to illegible font when e.g. switching between Breeze Light and Dark.
2023-08-20 20:08:58 +00:00
l10n daemon script 3eb2707dab GIT_SILENT Sync po/docbooks with svn 2023-08-20 01:48:49 +00:00
l10n daemon script abe90ed3e0 GIT_SILENT Sync po/docbooks with svn 2023-08-19 01:47:48 +00:00
Nicolas Fella b7e859827d Adapt to KNotifcations API change 2023-08-18 20:39:15 +00:00
Dimosthenis Krallis 489b56b68b Dolphin settings revamp
It includes a move of the settings in the Navigation and Startup sections to the Interface (formerly Behavior) section.
It also includes a new tab in the View (formerly View Mode) section, called General where some settings regarding Display style, Browsing and Miscellaneous settings
The Interface section has new tabs named Folders & Tabs and Status & Location bars respectively where most of the Startup and Navigation settings moved.

The `dolphin/kcms/kcm_dolphinnavigation` kcm is removed.
2023-08-18 07:07:48 +00:00
l10n daemon script f413e83a22 GIT_SILENT Sync po/docbooks with svn 2023-08-18 01:46:46 +00:00
K. Cottonears 1165a1bc52 Set Maximum Tab Width for folders to Tab bar
There is no limit to the width of tabs with the tab bar of the main window. If the directory name is too long, tabs can take up a lot of space and can lead to inconsistent tab widths.

To alleviate this, set a maximum tab bar text width of 40 characters for each folder.

BUG: 420870
2023-08-17 07:22:49 +00:00
Heiko Becker 399309d36c GIT_SILENT Update Appstream for new release
(cherry picked from commit c08f661a2c)
2023-08-16 22:48:35 +02:00
Nicolas Fella 62ba2dd877 Adapt to kbookmarks API change 2023-08-14 23:18:19 +02:00
Méven Car aded2d716d Don't compute size for non-local urls
Hide progressInfo for listDir job on the non-recursize path.

BUG: 472912
2023-08-13 08:44:24 +00:00