Thunderbird gets focus when syncing

For user who dont speak german please use this part of my forum
Atreyu
Beiträge: 31
Registriert: Mi 23. Aug 2006, 08:14
Wohnort: Rotterdam, The Netherlands

Thunderbird gets focus when syncing

Beitrag 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
FJ
Site Admin
Beiträge: 32106
Registriert: Mi 15. Feb 2006, 01:16
Wohnort: Tirol
Kontaktdaten:

Beitrag 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 ?
Atreyu
Beiträge: 31
Registriert: Mi 23. Aug 2006, 08:14
Wohnort: Rotterdam, The Netherlands

Beitrag von Atreyu »

0.8.19

But I guess the sync is initiated from MPE, I don't know whether that should make a diffference.
FJ
Site Admin
Beiträge: 32106
Registriert: Mi 15. Feb 2006, 01:16
Wohnort: Tirol
Kontaktdaten:

Beitrag 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.
NP
Co-Developer
Beiträge: 525
Registriert: Di 9. Jan 2007, 13:48
Wohnort: Bonn, Deutschland

Beitrag 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.
NP
K800i
Atreyu
Beiträge: 31
Registriert: Mi 23. Aug 2006, 08:14
Wohnort: Rotterdam, The Netherlands

So far any sync..

Beitrag 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.
FJ
Site Admin
Beiträge: 32106
Registriert: Mi 15. Feb 2006, 01:16
Wohnort: Tirol
Kontaktdaten:

Beitrag von FJ »

Do you have installed the Addon to place Thunderbird in the system-tray ?
Atreyu
Beiträge: 31
Registriert: Mi 23. Aug 2006, 08:14
Wohnort: Rotterdam, The Netherlands

Beitrag von Atreyu »

Yes, I do. (MinimizeToTray)
FJ
Site Admin
Beiträge: 32106
Registriert: Mi 15. Feb 2006, 01:16
Wohnort: Tirol
Kontaktdaten:

Beitrag 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.
Atreyu
Beiträge: 31
Registriert: Mi 23. Aug 2006, 08:14
Wohnort: Rotterdam, The Netherlands

Beitrag 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)
Antworten