[Scummvm-tracker] [ScummVM :: Bugs] #14551: GUI: Search box lose focus in grid launcher when typing text

ScummVM :: Bugs trac at scummvm.org
Wed Jul 19 23:15:35 UTC 2023


#14551: GUI: Search box lose focus in grid launcher when typing text
-------------------+---------------------
Reporter:  criezy  |       Owner:  (none)
    Type:  defect  |      Status:  new
Priority:  normal  |   Component:  GUI
 Version:          |  Resolution:
Keywords:          |        Game:
-------------------+---------------------
Comment (by criezy):

 And here is the call stack for the assert:
 {{{
 3   libsystem_c.dylib                          0x181d41754 __assert_rtn +
 272
 4   scummvm                                    0x104dbdd54
 GUI::EditableWidget::setCaretPos(int) + 152 (editable.cpp:565)
 5   scummvm                                    0x104dc57bc
 GUI::EditableWidget::defaultKeyDownHandler(Common::KeyState&, bool&,
 bool&, bool&) + 1892 (editable.cpp:457)
 6   scummvm                                    0x104dc4e04
 GUI::EditableWidget::handleKeyDown(Common::KeyState) + 12376
 (editable.cpp:434)
 7   scummvm                                    0x104c66688
 GUI::Dialog::handleKeyDown(Common::KeyState) + 916 (dialog.cpp:265)
 8   scummvm                                    0x104c9f224
 GUI::LauncherGrid::handleKeyDown(Common::KeyState) + 968
 (launcher.cpp:1430)
 9   scummvm                                    0x104c80ed4
 GUI::GuiManager::processEvent(Common::Event const&, GUI::Dialog*) + 1732
 (gui-manager.cpp:753)
 10  scummvm                                    0x104c7ebc8
 GUI::GuiManager::runLoop() + 2288 (gui-manager.cpp:498)
 11  scummvm                                    0x104c8a32c
 GUI::LauncherDialog::run() + 148 (launcher.cpp:322)
 12  scummvm                                    0x104c94118
 GUI::LauncherChooser::runModal() + 156 (launcher.cpp:1013)
 }}}

 The strange part is that it is in part of the code that replace selected
 text with what I typed. But I don't remember selecting any text. In any
 case I suspect this is entirely unrelated to the focus issue.
-- 
Ticket URL: <https://bugs.scummvm.org/ticket/14551#comment:3>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM


More information about the Scummvm-tracker mailing list