Skip to content

Popup menus not removed when dragging across QuickFolders tabs #428

Description

@RealRaven2000

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).

image

Activity

  1. RealRaven2000 commented on Nov 16, 2023

    @RealRaven2000
    OwnerAuthor

    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.

  2. ardent42c commented on Nov 16, 2023

    @ardent42c

    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.

  3. RealRaven2000 commented on Nov 16, 2023

    @RealRaven2000
    OwnerAuthor

    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:

    QuickFolders-mx-6.3.1pre4.zip


    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.

  4. RealRaven2000 commented on Nov 16, 2023

    @RealRaven2000
    OwnerAuthor

    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...

  5. RealRaven2000 commented on Nov 16, 2023

    @RealRaven2000
    OwnerAuthor

    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...

    QuickFolders-mx-6.3.1pre5.zip

    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.

  6. ardent42c commented on Nov 16, 2023

    @ardent42c

    I can confirm that the issue is indeed resolved with this version. Thanks!

  7. added a commit that references this issue on Nov 29, 2023
  8. RealRaven2000 commented on Dec 4, 2023

    @RealRaven2000
    OwnerAuthor

    Fixed in 6.4 released on 04/12/2023

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions