bookmark: stop scrolling list item for skinned context menu

rockbox-gerrit-noreply--- via rockbox-cvs <[email protected]> Sat, 23 May 2026 08:02:35 -0400
Newsgroups gmane.comp.systems.archos.rockbox.cvs
Message-ID <[email protected]>
commit 6a252576f5851d7723a1240aecd0094c2bc4d1ed
Author: Christian Soffke <[email protected]>
Date:   Sat May 23 12:00:59 2026 +0200

    bookmark: stop scrolling list item for skinned context menu
    
    Lists with a selection size of >1 aren't skinned, so we
    we have to manually take care of calling scroll_stop on
    the un-skinned bookmark list before displaying the
    (skinned) context menu.
    
    Change-Id: Ie7ce627b5ea073be03304b7c676403cdfb4d3243

diff --git a/apps/bookmark.c b/apps/bookmark.c
index d7fe0b29b1..33e5afb64b 100644
--- a/apps/bookmark.c
+++ b/apps/bookmark.c
@@ -1045,6 +1045,8 @@ static int select_bookmark(const char* bookmark_file_name,
 
         if (action == ACTION_STD_CONTEXT)
         {
+            gui_synclist_scroll_stop(&list);
+
             MENUITEM_STRINGLIST(menu_items, ID2P(LANG_BOOKMARK_CONTEXT_MENU),
                 NULL, ID2P(LANG_BOOKMARK_CONTEXT_RESUME),
                 ID2P(LANG_DELETE));
-- 
rockbox-cvs mailing list
[email protected]
https://lists.haxx.se/mailman/listinfo/rockbox-cvs