[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: Replacement for KDateTime
From:       Thiago Macieira <thiago () kde ! org>
Date:       2015-08-04 14:52:54
Message-ID: 5827187.0f2XDGcpQz () tjmaciei-mobl4
[Download RAW message or body]

On Tuesday 04 August 2015 10:03:20 John Layt wrote:
> > One problem would be to update running processes (QLocale to track the
> > locale file and emit some signal on changes)
> 
> This is one of the areas Qt doesn't do well, on Windows and Mac soon
> as the underlying locale is change you get different results from
> QLocale, leading to inconsistent looking UI and weird bugs. On Linux
> it doesn't respond to changes at all until the app restarts, a more
> consistent approach. The best approach would be to have a QEvent that
> the app can catch and know to refresh everything when it is ready to
> do so. Again, something on the plan but a longer term issue to solve,
> as monitoring locale files or envvars or a registry for changes across
> multiple platforms in Qt would take some work.

The problem with that is a thundering herd. All applications suddenly start 
updating, even if they haven't got anything to show.

It's the same problem and requires the same solution as the language itself. 
There are mechanisms, but they're neither very well-used and they cause 
thundering herd.
-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Software Architect - Intel Open Source Technology Center
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic