Re: [Evolution-hackers] [Evolution Data Server] Locale change notification delayed

2014-02-21 Thread Potrola, MateuszX
>Yes, that's usually the best approach to ensure that patches get included in 
>EDS. Please include patches >that apply to master and the gnome-3-8-openismus 
>branches. Please CC me and I can commit them >(unless someone beats me to it - 
>I am currently on vacation).

Actually I've already opened a bug in bugzilla (#724626) for this and uploaded 
patch there. Now I also added patch for openismus-work-3-8 branch.

Regards,
Mateusz


Intel GmbH
Dornacher Strasse 1
85622 Feldkirchen/Muenchen, Deutschland
Sitz der Gesellschaft: Feldkirchen bei Muenchen
Geschaeftsfuehrer: Christian Lamprechter, Hannes Schwaderer, Douglas Lusk
Registergericht: Muenchen HRB 47456
Ust.-IdNr./VAT Registration No.: DE129385895
Citibank Frankfurt a.M. (BLZ 502 109 00) 600119052
___
evolution-hackers mailing list
evolution-hackers@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-hackers


Re: [Evolution-hackers] [Evolution Data Server] Locale change notification delayed

2014-02-20 Thread Patrick Ohly
On Wed, 2014-02-12 at 15:27 +, Potrola, MateuszX wrote:
> Hi,
> 
> >Regarding your specific issue - it's probably working the same way in 
> >master as in the branch - my guess is that this is due to D-Bus property 
> >changes being delayed until the main loop is hit.
> 
> >It may be that a simple call to g_dbus_interface_skeleton_flush() inside
> >the loop which sets locale on each book would fix this.
> 
> You are right - it's the same on master branch, but adding 
> g_dbus_interface_skeleton_flush call after setting locale fixes the issue.
> How I can submit patch, should I open new item on bugzilla and send it there?

Yes, that's usually the best approach to ensure that patches get
included in EDS. Please include patches that apply to master and the
gnome-3-8-openismus branches. Please CC me and I can commit them (unless
someone beats me to it - I am currently on vacation).

Bye, Patrick



___
evolution-hackers mailing list
evolution-hackers@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-hackers


Re: [Evolution-hackers] [Evolution Data Server] Locale change notification delayed

2014-02-12 Thread Potrola, MateuszX
Hi,

>Regarding your specific issue - it's probably working the same way in 
>master as in the branch - my guess is that this is due to D-Bus property 
>changes being delayed until the main loop is hit.

>It may be that a simple call to g_dbus_interface_skeleton_flush() inside
>the loop which sets locale on each book would fix this.

You are right - it's the same on master branch, but adding 
g_dbus_interface_skeleton_flush call after setting locale fixes the issue.
How I can submit patch, should I open new item on bugzilla and send it there?

Regards,
Mateusz Polrola
Intel GmbH
Dornacher Strasse 1
85622 Feldkirchen/Muenchen, Deutschland
Sitz der Gesellschaft: Feldkirchen bei Muenchen
Geschaeftsfuehrer: Christian Lamprechter, Hannes Schwaderer, Douglas Lusk
Registergericht: Muenchen HRB 47456
Ust.-IdNr./VAT Registration No.: DE129385895
Citibank Frankfurt a.M. (BLZ 502 109 00) 600119052
___
evolution-hackers mailing list
evolution-hackers@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-hackers


Re: [Evolution-hackers] [Evolution Data Server] Locale change notification delayed

2014-02-12 Thread Tristan Van Berkom
On Wed, 2014-02-12 at 12:32 +, Potrola, MateuszX wrote:
> Hi,
> 
>  
> 
> I’m using version of EDS from openismus-work-3-8 branch and I’m using
> it as a direct reader of address books. I’ve noticed that after
> changing system locale after some time I’m receiving notifications
> about locale change from each of address books - which is something
> expected. The problem is that I’m getting this notifications from all
> of them at the same time - after the last of address books updated its
> locale. Time needed to update locale for all address books depends on
> number and size of them, and in my case can take up to 1 or 2 minutes,
> I would like to be notified as soon as possible about locale change
> for given address book, so I can for example present results from
> given address book with new sorting order to the user (assuming that
> user intention for locale change was getting different sorting order
> of results).
> 
> I think that this behaviour may be caused by similar issue like this
> one https://bugzilla.gnome.org/show_bug.cgi?id=693464.
> 
The openismus-work-3-8 branch still has a bug with locale changes
specifically if you have more than one addressbook present.

Please use master/gnome-3-10 - or at least look into the patch 
on this bug:
https://bugzilla.gnome.org/show_bug.cgi?id=723276

Regarding your specific issue - it's probably working the same
way in master as in the branch - my guess is that this is due
to D-Bus property changes being delayed until the main loop is
hit.

It may be that a simple call to g_dbus_interface_skeleton_flush()
inside the loop which sets locale on each book would fix this.

Cheers,
-Tristan

 
> 
> Regards,
> 
> Mateusz Polrola
> 
>  
> 
> 
> Intel GmbH
> Dornacher Strasse 1
> 85622 Feldkirchen/Muenchen, Deutschland
> Sitz der Gesellschaft: Feldkirchen bei Muenchen
> Geschaeftsfuehrer: Christian Lamprechter, Hannes Schwaderer, Douglas
> Lusk
> Registergericht: Muenchen HRB 47456
> Ust.-IdNr./VAT Registration No.: DE129385895
> Citibank Frankfurt a.M. (BLZ 502 109 00) 600119052
> 
> ___
> evolution-hackers mailing list
> evolution-hackers@gnome.org
> To change your list options or unsubscribe, visit ...
> https://mail.gnome.org/mailman/listinfo/evolution-hackers


___
evolution-hackers mailing list
evolution-hackers@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-hackers