alice-mkh / lightbird

Sunbird UI for Lightning on SeaMonkey
https://addons.mozilla.org/en-US/seamonkey/addon/lightbird/
13 stars 2 forks source link

Odd calendar window behavior #33

Closed yaxunema95 closed 7 years ago

yaxunema95 commented 8 years ago

Not sure if it was an update for Thunderbird or what, but recently I've been experiencing some odd window behavior in Linux with Openbox (haven't tested on other systems or WMs):

  1. The calendar window stays on top of all other Thunderbird windows, even "New Event" windows. This only happens with other Thunderbird windows, though--windows from other applications will still sit above the calendar window when raised, as expected.
  2. If a Thunderbird window is already open and I open the calendar window, the calendar window will sit directly overtop of the existing Thunderbird window. If there is no Thunderbird window open, it will put itself in the center of the screen. In other words, it does not follow the WM's rules for window placement (Firefox seems to have some issues with this anyway when opening new windows so I suspect it may be something in Thunderbird).

Disabling Lightbird resolves the issue, so for now I'm back to using tabs.

alice-mkh commented 8 years ago

Hi. What about Compose window with and without Lightbird?

yaxunema95 commented 8 years ago

Same deal. Lightbird's calendar window will stay above any other Thunderbird window. When disabled, the normal behavior returns.

yaxunema95 commented 8 years ago

I just figured out that this strange behavior only happens when opening the calendar window through the command line (thunderbird -calendar). Opening the calendar through Tools > Calendar results in the normal window behavior.

alice-mkh commented 8 years ago

I said Compose window, not the Calendar window. :)

yaxunema95 commented 8 years ago

The Compose window acts normally. Only the Calendar window, when opened thru thunderbird -calendar exhibits the always-on-top behavior. I've tried opening other windows through the command line as well, and it looks like -calendar is the only one that does it.

alice-mkh commented 8 years ago

Ok, I think I know where the problem is then. Thanks, I'll look into it tomorrow.

alice-mkh commented 7 years ago

Sorry for a long delay, but it's fixed now. https://github.com/Exalm/lightbird/commit/376d7c9d830213795f09f350a2fda8cb76ac37c9