Rockbox open source high quality audio player as a Music Player Daemon
mpris rockbox mpd libadwaita audio rust zig deno
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

[Bug Fix] quickscreen clashed with WPS Hotkey browser

chris_s noted:
When you set the WPS hotkey as a QuickScreen item and shuffle through the options,
it eventually gets to the "Open Plugin" option and will show the File Browser,
clashing with the Viewports of the QuickScreen

Change-Id: I3addbbbac5842f89c000c155484d7cb934dc500e

+6 -2
+6 -2
apps/settings_list.c
··· 60 60 #endif 61 61 #ifdef HAVE_HOTKEY 62 62 #include "onplay.h" 63 + #include "misc.h" /* current activity */ 63 64 #endif 64 65 65 66 #include "voice_thread.h" ··· 697 698 #ifdef HAVE_HOTKEY 698 699 static void hotkey_callback(int var) 699 700 { 700 - if (get_hotkey_lang_id(var) == LANG_OPEN_PLUGIN) 701 - open_plugin_browse(ID2P(LANG_HOTKEY_WPS)); 701 + if (get_current_activity() != ACTIVITY_QUICKSCREEN) 702 + { 703 + if (get_hotkey_lang_id(var) == LANG_OPEN_PLUGIN) 704 + open_plugin_browse(ID2P(LANG_HOTKEY_WPS)); 705 + } 702 706 } 703 707 static const char* hotkey_formatter(char* buffer, size_t buffer_size, int value, 704 708 const char* unit)