┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/panels
AgeCommit message (Collapse)Author
2023-07-07Fix konsolepart lookupNicolas Fella
The location changed for KF6
2023-07-05Merge branch 'master' into kf6Nicolas Fella
2023-07-05Add explicit moc includes to sources for moc-covered headersFriedrich W. H. Kossebau
* speeds up incremental builds as changes to a header will not always need the full mocs_compilation.cpp for all the target's headers rebuild, while having a moc file sourced into a source file only adds minor extra costs, due to small own code and the used headers usually already covered by the source file, being for the same class/struct * seems to not slow down clean builds, due to empty mocs_compilation.cpp resulting in those quickly processed, while the minor extra cost of the sourced moc files does not outweigh that in summary. Measured times actually improved by some percent points. (ideally CMake would just skip empty mocs_compilation.cpp & its object file one day) * enables compiler to see all methods of a class in same compilation unit to do some sanity checks * potentially more inlining in general, due to more in the compilation unit * allows to keep using more forward declarations in the header, as with the moc code being sourced into the cpp file there definitions can be ensured and often are already for the needs of the normal class methods
2023-06-29Use ellipsis everywhere instead of three dotsTem PQD
Better for screen readers etc.
2023-06-28Merge branch 'master' into kf6Méven Car
2023-06-20Use non-deprecated Phonon includesVolker Krause
2023-05-26KDirectoryContentsCounter: show intermediate dir size counting results, ↵Méven Car
improve stopping, improve data caching Two user visible changes: * we can see the dir size changing as it is updated. * This makes the file counting a lot more reactive, when changing directories for instance. `KDirectoryContentsCounterWorker::walkDir` is not recursive anymore. The cache is now shared and only a single thread is used to count size recursively.
2023-05-12Remove deprecated, ifdef'd code for old KIO versionsJakob Petsovits
2023-05-09Fix a bunch of Qt6/Kf6 warningsMéven Car
2023-05-08Merge branch 'master' into kf6Méven Car
2023-05-07Port to Qt6Méven Car
2023-04-22TerminalPanel: rename currentWorkingDirectoryIsParentOf to ↵Méven Car
currentWorkingDirectoryIsChildOf NO_CHANGELOG
2023-04-21TerminalPanel: better check if terminal needs to change its ↵Méven Car
currentWorkingDirectory when unmounting CCBUG: 467403
2023-04-03PlacesPanel: clean some warningsMéven Car
NO_CHANGELOG
2023-03-25panels/information: Add option to not show information for hovered itemOliver Beard
BUG: 364956 BUG: 453211
2023-02-05Add clang-format and format code as in FrameworksSerg Podtynnyi
2022-11-29Places Panel: Delegate open file error to KIOKai Uwe Broulik
This functionality is now provided by `KFilePlacesModel` as long as you tell it to do the teardown rather than calling into the device yourself.
2022-11-23Use \r to terminate command in integrated terminalHaozhe Jiang
\r should be used instead of \n BUG: 458411
2022-10-16Port away from deprecated KIO APIAhmad Samir
2022-10-02terminal: Clear line using escapes instead of SIGINTJohn Brooks
Sending SIGINT can be destructive, for example if we interrupt the loading of the shell init files (e.g. .bashrc) and clobber history preservation settings. Follow the example of Kate and send a Ctrl-E Ctrl-U to clear the prompt instead. BUG: 279614 Signed-off-by: John Brooks <[email protected]>
2022-09-26Remove unused includesLaurent Montel
2022-08-24Don't show error message on ERR_USER_CANCELEDKai Uwe Broulik
There's no point telling the user what they just did. After https://invent.kde.org/frameworks/kio/-/commit/f192c133eb01bc8448d5ddd97fe20f8e6dbc467d this error has a text associated with it, so it might show up in the UI.
2022-08-22InformationPanel: better refresh state when current dir changesMéven Car
Refactor and simplify things along the way. BUG: 457813
2022-08-22Places Panel: Don't show error message on UserCanceledKai Uwe Broulik
There's no point telling the user what they just did
2022-07-11portalize drag urlsHarald Sitter
this enables sandboxed application to receive drop events
2022-06-15Cleanup config-dolphin.h includesAhmad Samir
2022-06-15Use one config-dolphin.h.cmake configuration fileAhmad Samir
2022-05-11Port to QStringViewLaurent Montel
2022-04-27Fix terminal panel not keeping up with dir changesFelix Ernst
The terminal panel is supposed to show the same location as the currently active Dolphin view at all times. However there was an issue when the terminal is supposed to quickly switch to a new location and then back again to the old one. The terminal ignored the switch to the old location unless it had already fully switched to the new location. Because it isn't particularly fast at fully switching to the new location, it would never do the expected thing of switching back to the old location. This commit makes it so the switch to the old location is only ignored if there are no in-progress switches to a different location. BUG: 391380 BUG: 416690 FIXED-IN: 22.04.2 Not totally sure if this fixes everything but it seems like an improvement.
2022-03-04[Places Panel] Reject drops on unwritable locationsKai Uwe Broulik
Indicate that you cannot drop here. Avoids a "Cannot drop file" or "not supported" error when dropping files ontop of a search or timeline URL. It is done in Dolphin rather than the library as there we cannot assume what a consumer might be doing with the drop.
2022-02-07[Places Panel] Make use of KFilePlacesView::dragAutoActivationDelayKai Uwe Broulik
Code moved to KIO
2022-02-02InformationPanel: Improve video arrow overlay appearanceMéven Car
2022-02-02Don't set ignoreMaximumSize on preview jobs for slow filesBharadwaj Raju
With this change (plus https://invent.kde.org/frameworks/kio/-/merge_requests/702), slow files will be treated as remote files for generating previews. This should make browsing local mounts of remote locations smoother.
2022-01-25Expose konsolepart shortcuts in Dolphin's shortcuts viewStephan Sahm
Adapt some changes from Yakuake https://invent.kde.org/utilities/yakuake/-/commit/a0b08cb1f71ef18449bfbf5852c01e323604142f credit to Stephan Sahm @schlichtanders BUG: 428265
2022-01-24[Places Panel] Stop drag activation timer when droppingKai Uwe Broulik
Avoids switching folders after a drop while interacting with the Copy/Move/Link menu.
2022-01-09Port back to KFilePlacesViewKai Uwe Broulik
This removes the custom-view engine version of the places panel and replaces it with the upstream `KFilePlacesView` from KIO.
2021-12-28kitemlistview: Port KItemListView::itemAt to std::optionalFushan Wen
Use `value_or(-1)` for those functions that don't use `std::optional`.
2021-12-17Enable Ctrl/Shift-Click to open folder in a new tab/windowAlessio Bonfiglio
and more
2021-12-16[Information Panel] Remove unused PlacesItemModelKai Uwe Broulik
2021-12-01Port away from deprecated QDateTime::.toTime_t methodAlexander Lohnau
2021-12-01Port away from deprecated KPluginLoaderAlexander Lohnau
2021-11-02Remove duplicate include from .h/.cppLaurent Montel
2021-08-29Merge branch 'release/21.08'Elvis Angelaccio
2021-08-27FoldersPanel: Fix inline renamingJan Paul Batrina
Commit 5a0da4a9c8d10dc1921077d84bdabf05d20150b0 changed the value for emitRoleEditingFinished() to a struct containing the new name, but folderspanel was not updated. BUG: 441124
2021-07-24[PlacesPanel] Remove horizontal scrollbarEugene Popov
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 deaf5916f2f87d78825f33f2ba11475a24c9380f)
2021-07-18[PlacesPanel] Remove horizontal scrollbarEugene Popov
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-16Allow to have HiDpi previewsMéven Car
BUG: 401170
2021-07-04InformationPanel ensure to have a showUrl when no items are selectedMéven Car
2021-07-04Port konsolepart loading to use KPluginLoader directlyNicolas Fella
No need to go via KService
2021-05-29Revert "Improve padding in the Places View"Eugene Popov
This reverts commit e9a39700fc004004b1ff231023e9d5333a2b8317.