┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2021-06-18Fix X-DocPath entriesAhmad Samir
This way they're more correct, which means they can work with KHelpCenter and when falling back to opening the relevant page at docs.kde.org in any web browser. See https://invent.kde.org/graphics/okular/-/merge_requests/441 for more details. (cherry picked from commit 5e79f27aec817a44606e9e4f32b055d78eeb280c)
2021-06-05GIT_SILENT Update Appstream for new releaseHeiko Becker
2021-05-31Fix crash on Wayland when closing the mainwindow while another dialog is openElvis Angelaccio
For some reason on Wayland `QClipboad::dataChanged` can be emitted after the main window gets deleted. In particular this happens when closing the main window while another dialog is open. Since we are closing the window, we can just disconnect this signal and prevent this crash from ever happening.
2021-05-26GIT_SILENT made messages (after extraction)l10n daemon script
2021-05-25[src/settings/contextmenu/contextmenusettingspage] Fix Crash because of nullptrÖmer Fadıl Usta
BUG: 437539 (cherry picked from commit 879fa9fa7d82a14c934c7a1361b97d39ffd0a08b)
2021-05-17GIT_SILENT made messages (after extraction)l10n daemon script
2021-05-10search/facetswidget: Check for protocol before trying to fetch tagsIsmael Asensio
This was causing an error when trying to list items from the non-existent `tags:` protocol. BUG: 435586 FIXED-IN: 21.04.1
2021-05-07GIT_SILENT Update Appstream for new releaseHeiko Becker
2021-05-04GIT_SILENT made messages (after extraction)l10n daemon script
2021-04-19fix padding in places viewHarald Sitter
padding was only applied when the icon size was applied, the icon size however is only applied when the user had set an explicit size. this resulted in inconsistent spacing. by default no padding would be used if the user had changed the icon size to medium and back to small it would suddenly have padding. to fix this, set padding unconditionally on construction and never touch it again . BUG: 435731
2021-04-14GIT_SILENT Update Appstream for new releaseHeiko Becker
2021-04-05KFileItemModel: DetailsModeSettings::directorySizeCount forces m_sortDirsFirstMéven Car
Before this patch when !m_sortDirsFirst and DetailsModeSettings::directorySizeCount() == true, the ordering of folders before files would be affected by the sortOrder. I.e descending order would put the folders after the files.
2021-04-05appstream: fix homepage urlElvis Angelaccio
2021-04-01GIT_SILENT made messages (after extraction)l10n daemon script
2021-03-31Fix crash calling openDirectories() in various casesNate Graham
This can cause a crash when called with a single url and split view, or when the last URL is not shown, because the iterator gets mutated in the loop, so we need to make sure it hasn't gone out of bounds. This check was erroneously removed in 175538020824355115cd98637ce83ecc53badd44 and needs to be brought back.
2021-03-28GIT_SILENT made messages (after extraction)l10n daemon script
2021-03-26Don't re-open already-open URLs when using session-restore featureNate Graham
If Dolphin would be asked to open a location that is already open, don't open it again in a new tab; instead switch to that view. Supports tabs and split view. BUG: 434911 FIXED-IN: 21.04
2021-03-15Allow selecting filename in information panelNate Graham
BUG: 434329 FIXED-IN: 21.04
2021-03-15GIT_SILENT made messages (after extraction)l10n daemon script
2021-03-13Enable test mode in all testElvis Angelaccio
2021-03-07KFileModel: Let Sort dir first affect size sortingMéven Car
BUG: 433207
2021-03-07Remove not implement methodsLaurent Montel
2021-02-25GIT_SILENT made messages (after extraction)l10n daemon script
2021-02-25GIT_SILENT Update Appstream for new releaseHeiko Becker
(cherry picked from commit 7fbe7474271f2805bc703a3d795a5cb2830ae740)
2021-02-20KFileItemModelRolesUpdater: Avoid refreshing items when we receive their ↵Méven Car
content count It concerns the detail view. It can cause multiple preview to be generated for the same file. This is visible for directories whose icons use a random value for their inner files thumbnails. Only the view needs to be updated for this model change.
2021-02-19Use only enabled preview plugins in InformationPanelContent and ToolTipManager.David Lerch
2021-02-18Do not run benchmark test automaticallyAlexander Lohnau
Same reasoning as https://invent.kde.org/frameworks/kio/-/merge_requests/301 and the commit series.
2021-02-17Apply 1 suggestion(s) to 1 file(s)Stefan Brüns
2021-02-15[FileItemRolesUpdater] Use STL-style iterator instead of iterating a copyStefan Brüns
QSet<T>::erase(it) is the save way of erasing from a QSet while iterating it. This saves creating a copy of the QSet, lookup of a node by value in `QSet<T>::remove(item)`, and repeated rehashing caused by `remove`.
2021-02-15[FileItemRolesUpdater] Reserve space in two temporary listsStefan Brüns
Reserve sufficient space to avoid reallocation later. Overallocating actually requires less memory than growing and copying it, and it is freed immediately after anyway.
2021-02-15[FileItemRolesUpdater] Fix reservation sizeStefan Brüns
The code below always adds the visible range, up to 5 pages before and after the visible range (each capped to ResolveAllItemsLimit/2) and the very first and last page (each up to m_maximumVisibleItems). Use this number to avoid growing the list later.
2021-02-15[FileItemRolesUpdater] Fix calculation of requested indexesStefan Brüns
In case the last and/or first page (a page being n=m_maximumVisibleItems items) overlapped the already inserted items, one item for each range would be inserted a second time, e.g. for the first page and last page: `beginExtendedVisibleRange == 0` => `endFirstPage := 0` => `0 <= 0` is inserted again. `count == 100; endExtendedVisibleRange == 99; m_maximumVisibleItems == 20` => `beginLastPage := 99` => `99 < 100` is inserted again.
2021-02-14[Status Bar] Hide zoomLabel also in menu handlerKai Uwe Broulik
2021-02-14Remove a missing emit KEYWORDMéven Car
NO_CHANGELOG
2021-02-11GIT_SILENT made messages (after extraction)l10n daemon script
2021-02-10Port away from deprecated KToolInvocation::invokeTerminalNicolas Fella
2021-02-10Remove item move animation on view resizeFelix Ernst
This commit removes an animation that happens when the view is resized. Before this commit, whenever the geometry of the view changed, the items in the view drifted towards their new position in the layout after a 300 ms delay. It would look like the items are slow to find their position. This commit simply moves them to their new position in an instant which will abort any ongoing move animations.
2021-02-09Build with QT_NO_KEYWORDSNicolas Fella
2021-02-09Port to QRecursiveMutexNicolas Fella
QMutex::Recursive is deprecated
2021-02-09Add missing includesNicolas Fella
2021-02-08Port away from deprecated KIO signalsAhmad Samir
Use KDirLister::listingDirCompleted(const QUrl &) instead of completed(const QUrl &).
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"