Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Desktop Environments
  • Search

[SOLVED] Thunderbird - Mouse position is offset

Problems with GUI applications? Questions about X, KDE, Gnome, Fluxbox, etc.? Come on in. NOTE: For multimedia, go up one forum
Post Reply
Advanced search
8 posts • Page 1 of 1
Author
Message
shadowfly
n00b
n00b
Posts: 26
Joined: Wed Feb 21, 2024 9:30 pm

[SOLVED] Thunderbird - Mouse position is offset

  • Quote

Post by shadowfly » Mon May 20, 2024 12:25 am

Mouse position is offset from mouse pointer in Thunderbird (mail-client/thunderbird and mail-client/thunderbird-bin and Flatpak affected) - Very similar to viewtopic-t-1167429-highlight-firefox+m ... ition.html.

Roughly two years ago i installed Gentoo for the first time, and Thunderbird (as a Flatpak).
I immediately realized that Thunderbird did not read my mouse pointer position correctly - I had to position my cursor about 20px below a button to actually hit it. However, i ignored the issue as i was not using Thunderbird too often and thought that maybe i installed Gentoo incorrectly.

However i did never learn what i did wrong, and no other Flatpak or native package has ever shown this behaviour to me, (including the Firefox flatpak) so i ask for your help so this can get fixed for me and maybe even others.

What's Wrong?
In the "Main Window" where i can see all E-Mails, and in all other tabs like "Settings", "Calendar", "Tasks" and in the "Search + Window Control Bar" the mouse position Thunderbird recognizes is about 20px above the actual mouse pointer.

I have to point my mouse pointer to (and click) "Settings for Newsbar" to tell Thunderbird to close the window, as the "Close Window Cross" is roughlx 20px over the "Settings for Newsbar" button.
I have to click 1.5 E-Mails below the E-Mail i would like to open.

This problem does not occour in the "New Message" Window where you can write new E-Mails. Somehow everything is fine there.
This problem does not occour in any drop-down menu - Not even in the drop-down Burger Menu in the "Main Window" behind the Ctrl+K search bar.
Work around: Maximizing the window fixes the problem - even when the window is resized again, the mouse position is read correctly.
The problem was temporarily fixed - and then reappeared - between 2024-03 and 2024-05.

Reproducibility:
  • Flatpak: I reinstalled Thunderbird and removed the ~/.var/app/org.mozilla.Thunderbird folder - the issue did not go away.
  • Pre-Compiled (https://packages.gentoo.org/packages/ma ... erbird-bin): I installed Thunderbird for the first time - the issue was there too.
  • Source Based (https://packages.gentoo.org/packages/ma ... hunderbird): I removed ~/.mozilla and ~/.thunderbird before the first start - the issue was there too.
  • Kubuntu: On my Kubuntu Laptop (Kubuntu, X11, KDE Plasma, Thunderbird Flatpak) i could not reproduce this problem.
  • This problem does not occour in any other program on this system. Not even Firefox.
  • Someone else has a problem that looks exactly like mine, but for Firefox: viewtopic-t-1167429-highlight-firefox+m ... ition.html. I do not have this problem with Firefox.
System:
  • OS: Gentoo Linux 2.15
  • Windowing System: X11
  • Desktop Environment: KDE Plasma 5.27.11
  • Thunderbird 115.10.1
Thank you for your time!
Last edited by shadowfly on Tue May 13, 2025 10:23 am, edited 1 time in total.
Top
netfab
Advocate
Advocate
Posts: 2066
Joined: Thu Mar 03, 2005 1:27 pm
Location: 127.0.0.1

  • Quote

Post by netfab » Mon May 20, 2024 7:44 am

Hi,

Sounds to me to be a gtk problem or mouse theming issue.
So the problem remains even if you delete your ~/{.mozilla,.thunderbird}.
Have you tried with another fresh user on your system (with empty ~) ?
Top
shadowfly
n00b
n00b
Posts: 26
Joined: Wed Feb 21, 2024 9:30 pm

  • Quote

Post by shadowfly » Mon May 20, 2024 10:10 am

Hi there,

I had not tried creating a new user, but now i created a new user using the Plasma System Settings. My (KDE) theme is gone, but the problem remains.
I just tested thunderbird-bin, because the flatpak is not installed system wide.

Tell me when i should test the Flatpak too, or when i should have used the console to create users.
Top
shadowfly
n00b
n00b
Posts: 26
Joined: Wed Feb 21, 2024 9:30 pm

  • Quote

Post by shadowfly » Sat Jun 08, 2024 12:17 am

I just found something out because i am currently experimenting with Wayland: The problem does not occour on Wayland.
Also: The cursor does not jump when entering the Thunderbird window. Both on X11 and Wayland.
Top
che
n00b
n00b
User avatar
Posts: 25
Joined: Tue Jul 20, 2004 8:23 pm

  • Quote

Post by che » Wed Jun 12, 2024 12:11 am

I have the same issue. One thing I noticed is that the issue is not present i profile selector (-ProfileManager), but kicks in when I open a profile or even start to set up a new one.

After selecting profile, Thunderbird prints out the following log messages:

Code: Select all

[ImapModuleLoader] Using nsImapService.cpp
Crash Annotation GraphicsCriticalError: |[0][GFX1-]: vaapitest: ERROR (t=7.56422) [GFX1-]: vaapitest: ERROR
Crash Annotation GraphicsCriticalError: |[0][GFX1-]: vaapitest: ERROR (t=7.56422) |[1][GFX1-]: vaapitest: VA-API test failed: failed to initialise VAAPI connection.
 (t=7.56429) [GFX1-]: vaapitest: VA-API test failed: failed to initialise VAAPI connection.

ATTENTION: default value of option mesa_glthread overridden by environment.
ATTENTION: default value of option mesa_glthread overridden by environment.
console.debug: "Found 0 public keys and 0 secret keys (0 protected, 0 unprotected)"
console.error: ({})
JavaScript error: chrome://messenger/content/aboutMessage.js, line 119: NS_ERROR_ILLEGAL_VALUE: Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsIWebProgress.addProgressListener]
Top
shadowfly
n00b
n00b
Posts: 26
Joined: Wed Feb 21, 2024 9:30 pm

  • Quote

Post by shadowfly » Wed Jun 12, 2024 9:56 am

For me, it's a bit different.
When i run Thunderbird with -ProfileManager the ProfileManager is not affected by the mouse pointer bug, just as is yours.

Code: Select all

user $ flatpak run org.mozilla.Thunderbird -ProfileManager
Gtk-Message: 11:08:48.190: Failed to load module "canberra-gtk-module"
Gtk-Message: 11:08:48.190: Failed to load module "appmenu-gtk-module"
However, when i select and start a profile, your VAAPI and JavaScript errors are not happening for me, as only the following lines are appended to the console:

Code: Select all

Gtk-Message: 11:15:28.981: Failed to load module "canberra-gtk-module"
Gtk-Message: 11:15:28.981: Failed to load module "appmenu-gtk-module"
[Parent 2, Main Thread] WARNING: Can't find module 'dconf' specified in GSETTINGS_BACKEND: 'glib warning', file /builds/worker/checkouts/gecko/toolkit/xre/nsSigHandlers.cpp:167

(org.mozilla.Thunderbird:2): GLib-GIO-WARNING **: 11:15:29.213: Can't find module 'dconf' specified in GSETTINGS_BACKEND
I looked up what canberra-gtk-module and appmenu-gtk-module are, and found that i already have both installed trough emerge, they are propably just inacessible to the flatpak, and the flatpak iself seems to not provide them.

I ran the binary Thunderbird:

Code: Select all

user $ thunderbird-bin -ProfileManager
ATTENTION: default value of option mesa_glthread overridden by environment.
ATTENTION: default value of option mesa_glthread overridden by environment.
When i selected and started a profile:

Code: Select all

ATTENTION: default value of option mesa_glthread overridden by environment.
ATTENTION: default value of option mesa_glthread overridden by environment.
Now the canberra-gtk-module and appmenu-gtk-module warnings are gone, but the issue remains.

Have you tried moving your .thunderbird and .mozilla folders out of the way temporarily? I'm asking because the

Code: Select all

JavaScript error: chrome://messenger/content/aboutMessage.js, line 119
error seems to happen to others when there is something wrong with the user data like https://bugs.launchpad.net/ubuntu/+sour ... ug/2056668.

What's strange is that i can not find the messenger/content/aboutMessage.js file. Not in the Thunderbird repo or in the Chromium repo.
Top
anton_kg
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 94
Joined: Sat Feb 10, 2007 1:33 am

  • Quote

Post by anton_kg » Tue May 13, 2025 3:36 am

netfab wrote:Hi,

Sounds to me to be a gtk problem or mouse theming issue.
So the problem remains even if you delete your ~/{.mozilla,.thunderbird}.
Have you tried with another fresh user on your system (with empty ~) ?
I hit this problem recently. Thanks to your hint, I changed KDE application style from "Breeze" to "Fusion" and the problem is gone.
The funny thing, I changed it back to "Breeze" and the issue did not come back! No idea what was that, but it could an internal upgrade issue

FYI, ~/.gtkrc-2.0 file was updated, may be something else too.
Top
shadowfly
n00b
n00b
Posts: 26
Joined: Wed Feb 21, 2024 9:30 pm

  • Quote

Post by shadowfly » Tue May 13, 2025 10:21 am

I hadn't used Thunderbird on X11 since my last post (i managed to switch to Wayland almost completely), but somehow it's fixed for me now.

Maybe i switched the application style a few months back and forth, or there was an update, or something, idk.

But it should work now.
Top
Post Reply

8 posts • Page 1 of 1

Return to “Desktop Environments”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic