[dolphin] [Bug 495613] In search results, "Open Path" does not scroll to file

Akseli Lahtinen bugzilla_noreply at kde.org
Fri Nov 29 09:24:59 GMT 2024


https://bugs.kde.org/show_bug.cgi?id=495613

Akseli Lahtinen <akselmo at akselmo.dev> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
      Latest Commit|                            |https://invent.kde.org/syst
                   |                            |em/dolphin/-/commit/15e0c2a
                   |                            |98f480f203ce168b6fa9a2e1f2b
                   |                            |0ed8f8
             Status|ASSIGNED                    |RESOLVED

--- Comment #3 from Akseli Lahtinen <akselmo at akselmo.dev> ---
Git commit 15e0c2a98f480f203ce168b6fa9a2e1f2b0ed8f8 by Akseli Lahtinen.
Committed on 29/11/2024 at 09:24.
Pushed by akselmo into branch 'master'.

Make "open path" and "open path in new tab" scroll to the selected item

**Open Path**

When user clicks on "Open Path" after searching for an item,
user expects the view to show the item immediately.

We wait for the KItemListSmoothScroller to be done with its animation before
the
scrollbar sizes are being changed.

**Open Path in New Tab**

When user selects "Open Path in New Tab", we open a new tab to the folder where
the file is, then select and set the file current. We need to get the correct
tab when opening one, so it has been added as a return value.

M  +5    -1    src/dolphincontextmenu.cpp
M  +2    -2    src/dolphinmainwindow.cpp
M  +2    -1    src/dolphinmainwindow.h
M  +2    -1    src/dolphintabwidget.cpp
M  +4    -3    src/dolphintabwidget.h
M  +12   -0    src/kitemviews/kitemlistcontainer.cpp
M  +8    -0    src/kitemviews/private/kitemlistsmoothscroller.cpp
M  +1    -0    src/kitemviews/private/kitemlistsmoothscroller.h

https://invent.kde.org/system/dolphin/-/commit/15e0c2a98f480f203ce168b6fa9a2e1f2b0ed8f8

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the kfm-devel mailing list