Closed RealRaven2000 closed 7 months ago
I made another observation - when dragging the email to a tab that has no subfolders (and hence no popup menu is triggered) some or sometimes all of the other menus are closed. I know there is code that iterates old popup menus forcing a closing, I think this is still in force but maybe only for this one case.
Have the same issue, but it doesn't seem to be right to left only issue. If I drag over from left to right on the buttons, it has the same problem.
After a bit more research I see that my dragExit()
function was never triggered and that a lot of chrome browsers do not support this event but instead dragLeave
, which is a more HTML compatible event, whereas dragExit
is specific to XUL (the old Mozilla platform code). Although we still are using (some) XUL / xhtml code, there is an ongoing rewrite in the Tb UI to go towards standard HTML, so I decided to simply rename those functions, with some encouraging results. Here is a test version:
To test the version above, download the zip file, drag the file into Thunderbird Add-ons Manager, do not extract contents or if won't install.
There seems to be a side effect with the "hover" background color being stuck when dragging away, so I need to fix that as well...
There seems to be a side effect with the "hover" background color being stuck when dragging away, so I need to fix that as well...
Ok fixed the side effect, I did some explite calls to dragExit
that I also needed to renamed...
discussion on the dragExit
vs dragLeave
event can be read here.
To test the version above, download the zip file, drag the file into Thunderbird Add-ons Manager, do not extract contents or if won't install.
I can confirm that the issue is indeed resolved with this version. Thanks!
Fixed in 6.4 released on 04/12/2023
I had seen behavior of popup menus not closing intermittently, but popups left when dragging seems to be more consistent. I am not sure that 6.3 introduced the problem or deprecations of code in the Thunderbird back-end (they keep phasing out XUL features).