buttercup-desktop icon indicating copy to clipboard operation
buttercup-desktop copied to clipboard

UI enhancement (popup with white background)

Open kussumma opened this issue 2 years ago • 3 comments

Hi community, I just found that the popup is not well rendered, I found it on Linux (endeavour linux) and also happen on macos (I think it also happen on windows), like this screenshot. Thanks

DeepinScreenshot_plasmashell_20220915090450

kussumma avatar Sep 15 '22 01:09 kussumma

Hi, after some investigations, this bug is due to a weird management of the resize event inside the react-popover library. You can see my analysis here.

One solution I see is to replace this library because it is not maintained anymore. I propose to replace it by floating ui. What do you think about it @perry-mitchell ?

antoine-amara avatar Sep 17 '23 09:09 antoine-amara

I'd be completely fine with replacing it! The whole UI library needs an overhaul but this would be good start.

perry-mitchell avatar Oct 17 '23 06:10 perry-mitchell

We should change the Platform tag. It is not only related to Linux. I confirm I can also see it on Windows and @fokusuma mentioned macOS.

Oxalin avatar Dec 06 '23 02:12 Oxalin