Open jinnyum opened 2 years ago
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.
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 Are you still having this issue? It happens for me too.
@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.
@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.
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.