Skip to main content
Known Participant
January 31, 2024
Question

Test app to crash Photoshop

  • January 31, 2024
  • 1 reply
  • 191 views

From PS 24.4 onwards (including Beta 25.5 m.2484) there seems to be a bug in handling requests to change language/keyboard layout, at least on my Windows 10.

I have made a simple C++ app to demonstrate it. This will crash Photoshop:

#include "windows.h"

int main()
{
    HWND hPhotoshop = FindWindowA("Photoshop", NULL);
    PostMessage(hPhotoshop, WM_INPUTLANGCHANGEREQUEST, 0, 0);
}

 

This topic has been closed for replies.

1 reply

Known Participant
February 3, 2024

Today, I did two tests with different outcomes:
- The even newer Beta 25.5 m.2486 is still crashing on Windows 10
- On a different PC with Windows 11, the regular PS 24.4 is NOT crashing

So it seems there is something more to it. Either it was caused by Win10 or something else. Both systems are in English and I have CZ + ENG keyboards installed on both.

Is anyone able to reproduce the behavior?