┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2021-02-08Avoid KJob::exec() in DolphinViewFelix Ernst
This commit replaces an error-prone usage of KIO::StatJob::exec() in DolphinView with the recommended KIO::StatJob::start(). The containing method DolphinView::statusBarText() is changed to be a method without return value: requestStatusBarText() The new status bar text is instead returned through a new setStatusBarText() signal that will be emitted asynchronously if necessary. The calling code that deals with status bar text is refactored to correctly work despite the new asynchronicity. The helper method calculateItemCount() is moved into requestStatusBarText() and some other code from requestStatusBarText() is moved into a new helper method emitStatusBarText(). The documentation of KIO::KJob::exec() explains why it should be avoided. A reproducible crash is the reason for this commit.
2021-02-08GIT_SILENT made messages (after extraction)l10n daemon script
2021-01-29GIT_SILENT Update Appstream for new releaseHeiko Becker
(cherry picked from commit 0f6b39d0cd364634ffd7c8cb8a4dd6d64b662cc8)
2021-01-25Merge branch 'release/20.12'Nate Graham
2021-01-25don't crash when building without balooHarald Sitter
show_information_panel is only created when building with baloo. only access it when built with baloo, otherwise always report the panel as off. this fixes a nullptr deref because action() would return a nullptr since show_information_panel isn't a thing in all build configurations (full disclosure: I can't reproduce the crash, nor did I build without baloo) BUG: 431730
2021-01-23Make zoom slider and free space bar a little smaller by defaultNate Graham
This makes more room for the new explanatory label for the zoom slider. The zoom slider in particular was huge, and probably would have stood to be reduced in width anyway even if we didn't add an explanaory label.
2021-01-23Add explanatory label to status bar's icon size sliderNate Graham
Right now the slider has no label. Let's add one so it's clear what it does. BUG: 429255 FIXED-IN: 21.04
2021-01-23Autogenerate categories fileLaurent Montel
2021-01-21SVN_SILENT made messages (.desktop file) - always resolve oursl10n daemon script
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"
2021-01-19Show button to open knetattach inline with URL nav on remove:// viewNorbert Preining
This is a backport of b1cadeba939155282a9fadf7d7b025d6529c489e From b1cadeba939155282a9fadf7d7b025d6529c489e Mon Sep 17 00:00:00 2001 From: Nate Graham <[email protected]> Date: Tue, 15 Dec 2020 23:03:00 -0700 Subject: [PATCH] Show button to open knetattach inline with URL nav on Remote:// view In conjunction with https://invent.kde.org/frameworks/kio/-/merge_requests/260, the net result is to hide the knetattach launcher in the view, and show it inline with Dolphin's URL navigator toolbar when viewing the remote:// view, just like how we add an "Empty Trash" button when viewing trash://. The backport ensures that even with frameworks << 5.78 only one network button is shown. BUG: 431626
2021-01-18GIT_SILENT made messages (after extraction)l10n daemon script
2021-01-17[DolphinView] Fix "Folder is empty" label showing prematurelyKai Uwe Broulik
Don't show the label while still loading. Since there is no property in `KDirLister` a dedicated `m_loading` is added for this purpose. Also, I removed the explicit update on `urlChanged` as the view probably won't change until the lister starts loading. BUG: 430085
2021-01-17GIT_SILENT made messages (after extraction)l10n daemon script
2021-01-16Merge branch 'release/20.12'Elvis Angelaccio
2021-01-16fix folder size calculation on FUSE and network file systemsIlia Kats
KFileItem::isSlow uses hardcoded logic that returns true if the filesystem is Smb or Nfs. However, KFileSystemType::determineFileSystemTypeImpl on Linux returns Nfs also if the file system in question is a FUSE file system, which includes NTFS, sshfs, and others. BUG: 430778 BUG: 431106
2021-01-16Change copy location shortcut in dolphin so as to not conflict with Konsole ↵The Imp
panel BUG: 426461 FIXED-IN: 20.12.2
2021-01-15fix folder size calculation on FUSE and network file systemsIlia Kats
KFileItem::isSlow uses hardcoded logic that returns true if the filesystem is Smb or Nfs. However, KFileSystemType::determineFileSystemTypeImpl on Linux returns Nfs also if the file system in question is a FUSE file system, which includes NTFS, sshfs, and others. BUG: 430778 BUG: 431106
2021-01-15Don't show "Add network folder" button if knetattach is not availableAntonio Rojas
knetattach is part of plasma-desktop, so it doesn't necessarily have to be installed. In that case, instead of showing a button that doesn't do anything, don't show it at all.
2021-01-15GIT_SILENT made messages (after extraction)l10n daemon script
2021-01-14SVN_SILENT made messages (.desktop file) - always resolve oursl10n daemon script
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"
2021-01-12GIT_SILENT made messages (after extraction)l10n daemon script
2021-01-11[BalooRolesProvider] Use Property IDs instead of string matchingStefan Brüns
Instantiating KFileMetaDataInfo for each file and property, even when the role is not used, is somewhat expensive and unnecessary. Use the numeric Property ID to map it to a role, and only instantiate the used PropertyInfo's. Remove the properties provided by KFM::UserMetaData from the map, as these will newer match.
2021-01-11[BalooRolesProvider] Reduce number of XAttr readsStefan Brüns
Typically most of the extended attributes are not set for a file. Instead of trying to fetch each attribute individually check which attributes exist first.
2021-01-11[BalooRolesProvider] Remove explicit default constructor callsStefan Brüns
2021-01-11[BalooRolesProvider] Remove unused roleForProperty methodStefan Brüns
2021-01-11[BalooRolesProvider] Simplify single tag caseStefan Brüns
When the list contains just one value, return it instead of trying to sort the list with a QCollator.
2021-01-11[BalooRolesProvider] Move static tagsFromValues to anonymous namespaceStefan Brüns
2021-01-11[BalooRolesProvider] Remove unused includesStefan Brüns
2021-01-11GIT_SILENT made messages (after extraction)l10n daemon script
2021-01-10Open new tab placement optionAnthony Fieroni
Signed-off-by: Anthony Fieroni <[email protected]>
2021-01-10Emit "itemMiddleClicked" when Ctrl-clicking a view in single selection modeKai Uwe Broulik
When Ctrl can't cause a change in selection, so instead emit `itemMiddleClicked`. This way one can Ctrl-click a Place or folder in Folders panel to open it in a new tab, similar to what web browsers.
2021-01-10GIT_SILENT made messages (after extraction)l10n daemon script
2021-01-09Show button to open knetattach inline with URL nav on Remote:// viewNate Graham
In conjunction with https://invent.kde.org/frameworks/kio/-/merge_requests/260, the net result is to hide the knetattach launcher in the view, and show it inline with Dolphin's URL navigator toolbar when viewing the remote:// view, just like how we add an "Empty Trash" button when viewing trash://. CCBUG: 430211
2021-01-09GIT_SILENT made messages (after extraction)l10n daemon script
2021-01-08GIT_SILENT made messages (after extraction)l10n daemon script
2021-01-06Fix location bar being wrongly aligned on first startupFelix Ernst
When starting Dolphin the very first time, the spacing in front of the location bar is wrong. This commit fixes this by completely updating all cached geometry every time adjustSpacing() is called. Because this happens once on a timer 100 ms after every url change, it will happen once shortly after the window is shown. At that point all geometry is where it should be and spacing calculation works as expected. The ViewContainer geometry retrieval is refactored into a small nested helper class in DolphinNavigatorsWidgetAction by the name ViewGeometriesHelper. Previously the logic of that class was divided between DolphinTabPage and DolphinNavigatorsWidgetAction. BUG: 429447 FIXED-IN: 21.04.0
2021-01-05fix crashing on launchMartin T. H. Sandsmark
2021-01-05SVN_SILENT made messages (.desktop file) - always resolve oursl10n daemon script
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"
2021-01-04SVN_SILENT made messages (.desktop file) - always resolve oursl10n daemon script
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"
2021-01-02Revert "ContextMenu: Allow plugins submenus to react to Shift modifiers"Elvis Angelaccio
This reverts commit ce3c2435250f5eb8a3c9322359b25c46d2b6fb96. The apidox of setParentWidget says: Set the parent widget for any dialogs being shown. This should normally be your mainwindow, not a popup menu, so that it still exists even after the popup is closed (e.g. error message from KRun) and so that QAction::setStatusTip can find a statusbar, too. CCBUG: 425997
2021-01-02Animate split view mode togglingFelix Ernst
Have the secondary ViewContainer slide into/out of view when split view mode is switched on or off by the user. This should help users understand what split view mode is about. Without the animation it might seem like the only thing the button does is creating a weird vertical line in the middle of the view or something. With the animation it should be clear that the second view is a separate entity that was added. The closing animation will help users understand which of the ViewContainers was just closed.
2021-01-02GIT_SILENT Update Appstream for new releaseChristoph Feck
2021-01-02GIT_SILENT Update Appstream for new releaseChristoph Feck
(cherry picked from commit 35104c052fd2e4490126f91dff34bfed26ddc986)
2021-01-02GIT_SILENT made messages (after extraction)l10n daemon script
2021-01-02GIT_SILENT made messages (after extraction)l10n daemon script
2021-01-01GIT_SILENT made messages (after extraction)l10n daemon script
2020-12-31GIT_SILENT made messages (after extraction)l10n daemon script
2020-12-30use 'compass' instead of 'bookmarks' icon in Show Places Panel buttonPiotr Henryk Dabrowski
'bookmark' icon is already used for Bookmarks Menu
2020-12-29update KParts' ReadOnlyPart::localFilePath in DolphinPart::openUrl()Piotr Henryk Dabrowski
2020-12-29GIT_SILENT made messages (after extraction)l10n daemon script