Created attachment 174751 [details] AlbumTree SUMMARY when using arrows keys in album tree view, the navigation hangs at first and last album if coming from Album or Trash STEPS TO REPRODUCE 1. click with mouse on the Albums text in the album tree view -> displays the welcome page 2. use the Down arrow key -> First item selected (in my case Nos Photos) 3. Down or Up arrow keys are not working any more until I use the mouse to click on another album/directory 4. Same thing if if click on the Trash at the bottom of the album tree and use the Up arrow key, it hangs at the last album (in my case "Sébastien et Sandra" see attachment) 5. I I first click on The first Album (Nos Photos) and then use the down arrow key I can navigate on the tree, until I go to the "Albums" or "Trash" item in the Tree OBSERVED RESULT EXPECTED RESULT SOFTWARE/OS VERSIONS macOS: Sonoma 14.7 ADDITIONAL INFORMATION
Intel or Silicon computer ?
MacBook Air Silicon M2
yes, it's reproducible on my macbook pro M1 or under Linux. In fact the focus left the album tree to switch to the icon view. Application do not hangs at all the arrow keys continue to works but on icon-view.
We intentionally set the focus to this when we change views. This also applies to table view or map view. We have to decide whether we want this or not. Since we only get the focus when we change and not when we open another album, I think we can remove it. https://invent.kde.org/graphics/digikam/-/blob/master/core/app/views/stack/stackedview.cpp?ref_type=heads#L442 Maik
Git commit 81caade593eef9dd6c9cb68667adf5247f3287dc by Maik Qualmann. Committed on 13/10/2024 at 17:38. Pushed by mqualmann into branch 'master'. keep the focus in the album tree view when switching FIXED-IN: 8.5.0 M +1 -1 NEWS M +3 -3 core/app/views/stack/itemiconview_views.cpp M +14 -11 core/app/views/stack/stackedview.cpp M +2 -1 core/app/views/stack/stackedview.h https://invent.kde.org/graphics/digikam/-/commit/81caade593eef9dd6c9cb68667adf5247f3287dc