[ オリジナルレポート ]

BugID: #05787

カテゴリ 重要度 ステータス 解決状況 登録日時 最終更新
インターフェイス仮承認未処理2014-12-07 09:282015-01-07 01:33
 
テスターsamsho2担当者 ソース
バージョン0.156発生バージョン修正バージョン
修正コミットプルリク
フラグ
セット All
セット詳細
 
概 要SLD2.0でのSDLMAME起動後キーを押すとウィンドウがフォーカスを失う。
詳 細If you press keys on your keyboard right after launching SDLMAME (with SDL 2 enabled) in OpenGL mode, the SDLMAME window will lose focus and you will be unable to control SDLMAME without clicking on the window with your mouse or tabbing back to it somehow.
再現手順1. Build SDLMAME with SDL 2.0 or 1.2
2. Configure SDLMAME's video setting to use "opengl"
3. Configure SDLMAME to run in full screen mode
4. Open the Windows command prompt, and enter the SDLMAME binary and rom name.
5. Right after pressing ENTER to launch SDLMAME, quickly press the "A" key on the keyboard rapidly.
6. When SDLMAME launches, it will actually be in borderless windowed mode (not true full screen), and the window will not have focus, so you won't be able to do anything in SDLMAME without clicking on the window again.
追加情報This happens with both SDL 1.2 or SDL 2.0.

This issue makes SDLMAME with OpenGL almost impossible to use in arcade cabinets with frontends. If someone presses a button while a game is launching, it won't be controllable because of this.

SDL_WINDOW_FULLSCREEN_DESKTOP works better than SDL_WINDOW_FULLSCREEN, by the way. SDL_WINDOW_FULLSCREEN_DESKTOP gets rid of the flicker when you launch the program.

This is the INI file I use:
http://pastebin.com/twXVEbpi
 
添付ファイル