daedalOS icon indicating copy to clipboard operation
daedalOS copied to clipboard

Unable to drag windows under Floorp/Firefox

Open melroy89 opened this issue 11 months ago • 7 comments

After opening and closing some windows and playing around. I'm now unable to move windows around by trying to click and drag..

See:

https://github.com/user-attachments/assets/95923ea1-8ccc-4e1c-93eb-4bd5c21957e1

I do not see any errors in the console log.

Testing on: https://dustinbrett.com/

melroy89 avatar Jan 02 '25 01:01 melroy89

I know how-to reproduce it. Try to go backwards in the browser and then forward again (so you're back on the same site/OS).

melroy89 avatar Jan 02 '25 02:01 melroy89

Does the issue persist if you load in Firefox's Private mode?

DustinBrett avatar Jan 02 '25 02:01 DustinBrett

So this issueiis also reproducible by going back and forward in the browser in the same tab.

Opening the site in a new tab, will just load the site correctly again (aka fixes the issue).

melroy89 avatar Jan 02 '25 02:01 melroy89

So this issueiis also reproducible by going back and forward in the browser in the same tab.

Ok I will look into that. But once in Private mode could you reproduce it? I am wondering if it could be network/cache related.

DustinBrett avatar Jan 02 '25 02:01 DustinBrett

Try to go back and forward multiple times if needed. I'm pretty sure it is some kind of cache issue or Javascript issue that is most likely not triggering correctly to load the page using backwards/forwards buttons.

See:

https://github.com/user-attachments/assets/b198d26f-6d70-415d-aae6-c64728e38a9b

melroy89 avatar Jan 02 '25 14:01 melroy89

I agree that it seems related to cache/loading of resources. The bugs manifest in different ways but the main cause seems to be a bundle not properly loading or being ran. I have seen this behavior when I close my web server while doing dev work. I will try and find a way to recreate this to see if it's something I can fix.

Closed https://github.com/DustinBrett/daedalOS/issues/496 which atm I am considering the same issue as this one.

DustinBrett avatar Jan 02 '25 17:01 DustinBrett

I could expect that another root cause could be that Javascript won't trigger the onLoad event correctly, or whatever js frameworks you're using.

melroy89 avatar Jan 02 '25 21:01 melroy89