macosui / macos_ui

Flutter widgets and themes implementing the current macOS design language.
https://macosui.github.io/macos_ui/#/
MIT License
1.87k stars 182 forks source link

Reopen window bug #284

Closed shiguanghuxian closed 2 years ago

shiguanghuxian commented 2 years ago

Starting from version 0.15.0, when you click x to close the window, and click the icon again to display the window, the color picker will be displayed

image
GroovinChip commented 2 years ago

Does this happen for debug builds? Release builds? Both? Was the color picker opened when the application was closed? I need more details, please.

shiguanghuxian commented 2 years ago

Does this happen for debug builds? Release builds? Both? Was the color picker opened when the application was closed? I need more details, please.

Both Debug and Release mode can be reproduced. After clicking on the upper left corner to close the window, the application enters the background. When you click the icon to open the application again, the color picker will open.

GroovinChip commented 2 years ago

Is the color picker open prior to closing the app?

shiguanghuxian commented 2 years ago

Is the color picker open prior to closing the app?

Uncertain when closing, you can see the color picker every time you reopen the window

GroovinChip commented 2 years ago

Yeah, I understand you see it when you reopen the app, you've mentioned that several times. Are you telling me that when you close the app you don't know if the color picker is open? Can you see it at all before you close the app?

shiguanghuxian commented 2 years ago

Yeah, I understand you see it when you reopen the app, you've mentioned that several times. Are you telling me that when you close the app you don't know if the color picker is open? Can you see it at all before you close the app?

Yes, I don't know whether the color picker is turned on when it is turned off. As the app is turned off, the color picker will disappear. It should be noted that clicking close will not really exit the application, but only enter the background

GroovinChip commented 2 years ago

I see. Well, I can verify that this behavior isn't appearing in any of the mac apps I work on. But none of those apps use the color picker, so I will try to reproduce the issue and see if I can figure out what's happening.

GroovinChip commented 2 years ago

I've been unable to reproduce this issue, so I am closing it.