Repository navigation
Fix touchpad scrolling, preview clipping, dialog drags, FileChooser parent, Show in folder, and columns band - #220
Merged
Conversation
…arent, Show in folder, and columns band
[Medium impact] The PR appears safe to merge; both previous scrolling findings are addressed. SummaryThis PR improves scrolling, preview clipping, dialog clicks, “Show in folder,” chooser window placement, and column selection.
Reviews (2) · Last reviewed commit: "Reset wheel target on direction reversal..." · Reviewed by Greptile |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
KineticScrolltoFileListView,FolderGrid, andFolderColumns(flickDeceleration: 1800,maximumFlickVelocity: 5000). Continues gliding viaFlickable::flick()onQt::ScrollEndafter touchpad swipes (clearing velocity when nativeQt::ScrollMomentumarrives and leavingCtrl+wheelzoom untouched) and smoothly eases discrete mouse-wheel notches.clip: trueon the viewer container inPreviewWindow.qmlso PDF, media, and folder previews cannot paint over the top bar.LoaderinFolderPane.qmlwhilepane.askingis true soFileTile/FileRowTapHandlerandDragHandlercannot steal clicks or text-highlight drags underneath dialogs.share/org.freedesktop.FileManager1.serviceinCMakeLists.txt(with the same install-prefixExecsubstitution as the portal service) and preserve pending selection inBackend::showItem()when the target folder is still loading or hasn't listed a newly created file yet.transient-forparent (Fixes FileChooser window maps without transient-for/pin — invisible behind pinned floating parent on Hyprland #198): Honor portalparent_windowhandles inChooser/Windowsviaxdg-foreign-unstable-v2(zxdg_importer_v2) on Wayland andQWindow::fromWinId()on X11 so chooser dialogs stack above their caller (including pinned floating windows on Hyprland).Bandrubber-band selection to the active column inFolderColumns.qmland clamp bottom-edge auto-scroll inBand.qmlso short folders never scroll to negativecontentY.