Replacement for KDateTime
thiago at kde.org
Tue Aug 4 15:52:54 BST 2015
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
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
More information about the kde-core-devel