[g3.8pre-624-gf1d931517] Hexen freeze when switch kb. layout

Forum rules
Please construct and post a simple demo whenever possible for all bug reports. Please provide links to everything.

If you can include a wad demonstrating the problem, please do so. Bug reports that include fully-constructed demos have a much better chance of being investigated in a timely manner than those that don't.

Please make a new topic for every bug. Don't combine multiple bugs into a single topic. Thanks!

Post a reply

Smilies
:D :) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :geek: :ugeek: :!: :?: :idea: :arrow: :| :mrgreen: :3: :wub: >:( :blergh:
View more smilies

BBCode is ON
[img] is OFF
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: [g3.8pre-624-gf1d931517] Hexen freeze when switch kb. layout

Re: [g3.8pre-624-gf1d931517] Hexen freeze when switch kb. la

by Graf Zahl » Mon Mar 11, 2019 3:37 am

Not related to this problem, but that call trace finally reveals why it was impossible to do live switch between D3D and OpenGL in the past - behold that wglWndProc in there!

Re: [g3.8pre-624-gf1d931517] Hexen freeze when switch kb. la

by _mental_ » Mon Mar 11, 2019 2:55 am

It dead locks inside DefWindowProcW() indeed.

Code: Select all

win32u.dll!NtUserMessageCall()
user32.dll!RealDefWindowProcWorker()
user32.dll!DefWindowProcW()
gzdoom.exe!WndProc(HWND__ * hWnd, unsigned int message, unsigned __int64 wParam, __int64 lParam) Line 623
user32.dll!UserCallWinProcCheckWow()
user32.dll!CallWindowProcW()
opengl32.dll!wglWndProc()
user32.dll!UserCallWinProcCheckWow()
user32.dll!DispatchMessageWorker()
gzdoom.exe!I_GetEvent() Line 768
gzdoom.exe!I_StartTic() Line 791
The message in question was WM_INPUTLANGCHANGEREQUEST.

Re: [g3.8pre-624-gf1d931517] Hexen freeze when switch kb. la

by Kostov » Sun Mar 10, 2019 11:06 pm

Rachael wrote:For this, it might be helpful to list your bindings for those selected keys.
You mean ingame? Shift for running, 1–4 is weapons, and Alt is unbound. And that’s not unique to Hexen—my bindings are the same in other games.

Re: [g3.8pre-624-gf1d931517] Hexen freeze when switch kb. la

by Rachael » Sun Mar 10, 2019 9:45 pm

For this, it might be helpful to list your bindings for those selected keys.

[g3.8pre-624-gf1d931517] Hexen freeze when switch kb. layout

by Kostov » Sun Mar 10, 2019 12:19 pm

When switching keyboard layouts in Hexen or Hexen: DD, the game locks up. For some reason, this doesn’t happen with any other IWAD, and because it’s an instant freeze, I can’t show anything by using a log file.

I’ve confirmed that this only happens when using Windows shortcuts (in my case, Shift + Alt + 1–4). When switching via the taskbar and returning to the game, GZDoom doesn’t lock up.

Below is a list of my keyboard layouts, if relevant:

Image

(Swedish, Croatian, Serbian, Russian)

Top