Special Window properties for Thunderbird

Have tried to setup Special Window Settings (Alt-F3 > More actions > Configure Special Window settings) for Thunderbird - specifically the opening position and size - but all I seem to have been able to do, is make it so that ALL Thunderbird windows - main window/dialogs/calendar messages/incoming mail, etc - open in exactly the same place, with exactly the same dimensions (ie they are ALL full size windows).
Have tried to reset this by going to Settings > Window Management > Window Rules, and deleting all Thunderbird settings, but this still leaves me with all windows opening in the same place/same size.
Anyone able to help with either deleting all the settings, to set it back to Thunderbird defaults, OR to set it up so that only the initial window ONLY, opens in a particular place, as a particular size…
All responses appreciated!

It might help if you mentioned which desktop environment you’re using. I’m guessing it’s Plasma, based on some context clues, but I don’t actually know that.

Yes, Plasma, latest…

You probably chose to apply to “all window class” (easy mistake). That results in “all windows based on thunderbird”.

Simply go back into “Window Settings” (after ALT F3), then remove the entry(ies), then add only the window type.

If that does’t work, and you want to “start over” (for lack of a better term), log out of your KDE graphical user account, then open a text terminal ONLY, login, then open up the file:

~/.config/kwinrulesrc

It contains the Window and App rules. Remove all the sections for “thunderbird”.
Save it, then login to KDE graphical environment to test.

I’ve set up my flatpak version of Thunderbird in Plasma Wayland with only one ‘Window Rule’.
Window class ‘Unimportant’; ‘No’ for whole window class; ‘Normal’ window type; and only the ‘Position’ to apply initially. ‘Size’ is what caused me an issue, so I deleted that property. I also added the ‘Ignore requested geometry’ property, but I’m not sure you need it.
The other ‘new message’ etc windows now open to a smaller size, although still in the same top-left initial position.

Actually, I just had to change Window class back to ‘Exact match’, as other apps with window rules weirdly started opening to the same position!

Even if I close Thunderbird, delete all entries from this file, and restart, all windows still come up as full size, and in the same position…
Any way to reset this? Somewhere in the Thunderbird directory? (ie so the dialogs, incoming email windows are small…)

Ok, looks like that after a full reboot, things have gone a little bit back to original default! Thank goodness!
Will start having a bit of a play with settings, again, shortly…
Thanks!

Hmmm … did you stay in the KDE login user session when you edited the “winrulesrc” file?
.

Just to be clear about my previous post about editing the “winrulesrc” file …

  • Close all running apps.
  • Log out of the KDE Plasma user session.
  • At the SDDM login screen, switch to the main text console (Ctrl - Alt - F1).
  • At the login prompt, login as you user, BUT do not start KDE Plasma … you should still see the text prompt and be in your user home sub-dir.
  • Make changes to “~/.config/kwinrulesrc” and save it (I use the Nano text editor).
  • Log out of the main console and switch back to SDDM graphical login (I use Ctrl - Alt - F2, but some systems might be Ctrl - Alt - F4 or Ctrl - Alt - F7, etc)
  • Now login, as usual, to a KDE Plasma session as your user account, and check it out.

The reason why you cannot be logged into a KDE session and edit that file, is because KDE keeps that file content cached in memory, and when you do finally logout, it will write it back out, so if you’ve made changes with a text editor (while logged in using KDE environment), the changes will be reverted.

Yeah, thanks.
See my reply above…