┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2023-10-17KItemListView: add view position in scrollToItem()Amol Godbole
An item, on being scrolled to, is always located at the nearest edge of the view. This is not always convenient. Allow specifying where the item should be positioned with respect to the view in scrollToItem(). BUG: 423884
2023-10-16Remove new tab shortcut Ctrl+Shift+NFelix Ernst
Since https://commits.kde.org/kconfig/782e43f8076e5f4a10111a6b4d2cc6b1741c9798 Ctrl+Shift+N is the standard shortcut for creating a new folder which leads to a shortcut conflict when this key combination is invoked in Dolphin. "New Tab" already has the more popular shortcut Ctrl+T assigned to it, so Ctrl+Shift+N can simply be removed.
2023-10-12DolphinView: get rid of writeStateChanged signal in setActive()Amol Godbole
The signal writeStateChanged() was not working because it is not connected to slotWriteStateChanged() slots when the active view changes. Replace the signal with direct calls to the slots. Also, do not delay openRequest signal in DolphinSearchBox::slotSearchTextChanged. It's no longer required. BUG: 440366
2023-10-07Adapt to new KBookmarksWidgets libraryNicolas Fella
2023-10-07GIT_SILENT Update Appstream for new releaseHeiko Becker
(cherry picked from commit 825804a8a6d45df62db7665b021b65b99cb28856)
2023-10-05Merge branch 'master' into kf6Nate Graham
2023-10-05Add test for accessibility ancestor treeFelix Ernst
This is to make sure that all items that can be tabbed to and their accessible children have the main window somewhere in their ancestry/ancestor tree.
2023-10-05Fix accessibility ancestor treeFelix Ernst
Before this commit, KItemListViewAccessible would always return nullptr as its parent. This meant that accessibility software would have to guess to which window/hierarchy the KItemListView belongs to. Guessing shouldn't be necessary here. This commit makes sure that the KItemListView always returns a sensible parent in the accessible hierarchy. It does so by explicitly setting the accessible parent for every KItemListView after construction in the DolphinView contructor. Since KItemListView now always knows about its accessible parent, the accessibleInterfaceFactory can always ask the KItemListView for that information when constructing the QAccessibleInterfaces. Fixes https://invent.kde.org/system/dolphin/-/issues/47.
2023-10-05KItemListWidget: make unfocused alternate background slightly lighterMéven Car
2023-10-05DolphinViewContainer: Keep search box open when URL is changedAmol Godbole
The search box was being automatically closed whenever the URL is changed. Keep the search box open if no search text had been entered when the URL was changed. BUG: 474951
2023-10-03DolphinRecentTabsMenu: Fix blank text for closed search tabAmol Godbole
The recently closed menu adds a blank item when a search tab is closed. Add the search term and path to the item text. BUG: 474999
2023-09-30DolphinPlacesModel: remove usage of alternativeApplicationNameMéven Car
This is now not needed anymore since `PlacesItemModel::cleanupBookmarks` (now removed) from https://phabricator.kde.org/D9333 has run for on users systems.
2023-09-28TerminalPanel: Disconnect signal in destructor only when we have a konsolePartMéven Car
2023-09-23selection: fix rubberband verticesMarco Savelli
2023-09-23selection: select-on-rubberband-on-row as new defaultMarco Savelli
Sets a rectangular, non-full-width rubberband as the new default. User selection is made wherever the rubberband intersects with the row.
2023-09-19TerminalPanel: Disconnect destroyed signal in destructorKai Uwe Broulik
Otherwise, when QObject cleanup, which runs after our destructor, destroys the terminalPart, it would call back into us when we're already half-destroyed. This trips an assert in Qt "Called object is not of the correct type (class destructor may have already run)"
2023-09-19Merge branch 'master' into kf6Nate Graham
2023-09-16terminalpanel: Improve Konsole missing messageOliver Beard
It now forces the pane to fit its height, and will animate on every appearance.
2023-09-10Merge remote-tracking branch 'origin/master' into kf6Méven Car
2023-09-10Replace qAsConst with std::as_constMéven Car
2023-09-10Copy Location: Make sure to export path with native separatorsMéven Car
2023-09-09Add open in split view actionEric Armbruster
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-09GIT_SILENT Update Appstream for new releaseHeiko Becker
(cherry picked from commit 6fe9932a17e0973a804a69a467b3e8c8386ed25a)
2023-09-06DolphinContextMenu: Use targetUrl in addOpenParentFolderActionsMéven Car
Amends 3aa8cf00ee90b0414fa9b17f01eaade4507c4642
2023-09-06Add open containing folder options for files in recentlyused:/Méven Car
2023-09-05DolphinView: Reset scrollbars before changing view modeAmol Godbole
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-05KItemListView: Fix inconsistencies in requiredWidth calculationAmol Godbole
Commits d3839617 and 3bf471e0 introduced a few changes to requiredWidth calculation. This commit makes the calculation of requiredWidth consistent across KItemListView.
2023-09-04Restore the URL when DolphinSearchBox is clearedAmol Godbole
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-04KFileItemModel: Delay emitting currentDirectoryRemoved() signalAmol Godbole
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-02fix test in FreeBsd KItemListControllerExpandTest::testDirExpandMéven Car
2023-09-02Add focusOut and focusIn event support for KFileItemListView and update ↵Méven Car
selected widget on focus change
2023-09-02k[standard]itemlistwidget: Account for view focus in selection highlightOliver Beard
2023-08-29Fix a bunch of clazy warningsMéven Car
2023-08-28Use KMessageBox::warningContinueCancel when appropriateMéven Car
This will prevent saving the "Cancel" + "don't show again" result, which is meaningless.
2023-08-28Confirmations setting: Add checkbox for ConfirmOpenManyFolders and ↵Méven Car
ConfirmOpenManyTerminals We have to special handle the values saved as it is interpreted by KMessageBox
2023-08-28Clean obsolete ifdefs since dolphin requires KF 5.101+Méven Car
2023-08-24Special case file opening with middle click for executable scriptsMéven Car
Since the first action would launch the script, we can use the first application associated to open the file.
2023-08-23KStandardItemListWidget: Render pixmap with explicit dprKai Uwe Broulik
Instead of using the one from QApplication, use the one from the window.
2023-08-23Merge branch 'master' into kf6Méven Car
2023-08-23Allow to not ask again confirmation when opening 5 or more files or terminal ↵Felix Ernst
at once BUG: 473513
2023-08-23On middle-click, open file with the second application for the file mimeMéven Car
FEATURE: 390631
2023-08-23Re-Allow to set settings in Settings-> View-> General pageMéven Car
Regressed in 489b56b68bb29e81337e115c490eea4403001b71 Simplify implementation by sharing making class ViewSettingsPage implement SettingsPageBase sharing implementation with other tabs in viewsettingspage
2023-08-22Swap "Open Path in New Tab" and "Open Path in New Window"Ilya Bizyaev
Looks like I missed it back in https://invent.kde.org/system/dolphin/-/commit/402f7f3041d45d8c5969f3bc202fe9156891cd2e — so fixing now :)
2023-08-20KItemListView: Use own palette rather than go hunt for the sceneKai Uwe Broulik
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-18Adapt to KNotifcations API changeNicolas Fella
2023-08-18Dolphin settings revampDimosthenis Krallis
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-17Set Maximum Tab Width for folders to Tab barK. Cottonears
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-16GIT_SILENT Update Appstream for new releaseHeiko Becker
(cherry picked from commit c08f661a2cb9bacc533bd278d0dd39c63c33448a)
2023-08-14Adapt to kbookmarks API changeNicolas Fella
2023-08-13Don't compute size for non-local urlsMéven Car
Hide progressInfo for listDir job on the non-recursize path. BUG: 472912