Seite 1 von 1

Thunderbird gets focus when syncing

Verfasst: Fr 22. Jun 2007, 11:25
von Atreyu
With the new feature of more automated syncing an annoyance has turned up(for me anyway)

When syncing my contacts with Thunderbird, Thunderbird receives focus, while I think the entire process should be on the background (except when my attention is needed for a specific sync)

Great update by the way! Now all the syncing is more seamless, I'm really getting my act together, all appointments sync beautifully, I have one source of contacts...maybe now it's time to get that flat-fee internet subscription for my phone.

Robert

Verfasst: Fr 22. Jun 2007, 11:45
von FJ
I tried it this moment and Thunderbird didn't got the focus. There is a flashing window on the topleft corner, thats normal - but Thunderbird didn't receive the focus. Which Addon-Version you use ?

Verfasst: Fr 22. Jun 2007, 11:47
von Atreyu
0.8.19

But I guess the sync is initiated from MPE, I don't know whether that should make a diffference.

Verfasst: Fr 22. Jun 2007, 11:52
von FJ
The sync is initiated from MPE but the whole cummunication is handled by the Addon. Maybe the Addon_developer (NP) has an idea.

Verfasst: Sa 23. Jun 2007, 12:47
von NP
Just to explain how the sync works:

The sync is initiated by MPE (even when you use the sync icons in Thunderbird; these just run mpe with the appropriate command line switch). MPE then calls thunderbird with the -mpe command line switch and arguments according to wether contacts or calendar is synced and read from or written to thunderbird.

Each time thunderbird is called with -mpe, the main window would normally get the focus. To prevent this, the -mpe switch always opens a dummy window that gets the focus and is immediately closed again, giving back the focus to the program that had it before.

So, how do you initate sync? Which kind of sync causes thunderbird to get focus. And, even more important, please check thunderbird's javascript error console for output - when the sync produces an error, thunderbird gets the focus intentionally so you are alerted to the fact something is wrong.

So far any sync..

Verfasst: Di 3. Jul 2007, 14:34
von Atreyu
Sorry for my late reply, I've been away for a few days...

I think any sync triggers thunderbird, both the automatic one (upon reconnection of the bluetooth connection), as the manually initiated sync from MPE. Of course when I initiate the sync from thunderbird, thunderbird already has the focus.

There are no errors or warnings caused by the sync.

Verfasst: Di 3. Jul 2007, 18:20
von FJ
Do you have installed the Addon to place Thunderbird in the system-tray ?

Verfasst: Mi 4. Jul 2007, 08:31
von Atreyu
Yes, I do. (MinimizeToTray)

Verfasst: Mi 4. Jul 2007, 11:27
von FJ
It was already discussed in the german section some days ago. The problem is raised from the MinimizetoTray-Addon and its not possible to fix it. Recommened solution: Uninstall the Addon MinimizetoTray and use TrayIT instead of it.

Verfasst: Mi 4. Jul 2007, 11:45
von Atreyu
Hmmm, I'm not very keen on installing additional program to perform these kinds of task, I'lll first tryu to live with the situation as-is.

Thanks for the effort and suggestions though

(I really think Thunderbird should have minimizetotray built in)