bitsdojo_window icon indicating copy to clipboard operation
bitsdojo_window copied to clipboard

Maximize button problem

Open jinnyum opened this issue 3 years ago • 5 comments
trafficstars

When double-clicking on the title bar, the maximize button UI does not change. When click the maximize button, the UI changes. However, even if maximize is released by dragging the title bar, the maximized UI state is not restored to its original state.

jinnyum avatar Sep 21 '22 10:09 jinnyum

Ao clicar duas vezes na barra de título, a interface do usuário do botão maximizar não muda. Ao clicar no botão maximizar, a interface do usuário muda. No entanto, mesmo que maximizar seja liberado arrastando a barra de título, o estado maximizado da interface do usuário não será restaurado ao seu estado original.


Hello @jinnyum could you tell me on which platform the error is happening. || The actions, maximize by double clicking on the title bar is working correctly in windows 11.

davi-sant avatar Sep 23 '22 22:09 davi-sant

Ao clicar duas vezes na barra de título, a interface do usuário do botão maximizar não muda. Ao clicar no botão maximizar, a interface do usuário muda. No entanto, mesmo que maximizar seja liberado arrastando a barra de título, o estado maximizado da interface do usuário não será restaurado ao seu estado original.

Hello @jinnyum could you tell me on which platform the error is happening. || The actions, maximize by double clicking on the title bar is working correctly in windows 11.

I am using windows 10 ( 21H2 )

jinnyum avatar Sep 24 '22 00:09 jinnyum

@jinnyum Are you still having this issue? It happens for me too.

Jappe02 avatar Apr 20 '24 18:04 Jappe02

@jinnyum I got it fixed using polling. I'm continuously checking for changes of the isMaximized variable, and storing the last value. So I continuously check if the old value doesn't match the current one, and if it doesn't, I fire an event and set the old value to the new one. I'm currently using Timer.periodic with a 500ms delay, and it seems to work just fine.

Jappe02 avatar Apr 20 '24 19:04 Jappe02

@jinnyum I got it fixed using polling. I'm continuously checking for changes of the isMaximized variable, and storing the last value. So I continuously check if the old value doesn't match the current one, and if it doesn't, I fire an event and set the old value to the new one. I'm currently using Timer.periodic with a 500ms delay, and it seems to work just fine.

This is not a good solution.

jinnyum avatar May 07 '24 07:05 jinnyum