On Wed, Feb 11, 2015 at 12:05 PM, Kornel Benko <kor...@lyx.org> wrote: > Am Dienstag, 10. Februar 2015 um 13:39:17, schrieb Scott Kostyshak > <skost...@lyx.org> >> On Tue, Feb 10, 2015 at 1:25 PM, Kornel Benko <kor...@lyx.org> wrote: >> > Am Dienstag, 10. Februar 2015 um 13:05:32, schrieb Scott Kostyshak >> > <skost...@lyx.org> >> >> On Tue, Feb 10, 2015 at 10:40 AM, Kornel Benko <kor...@lyx.org> wrote: >> >> > Am Dienstag, 10. Februar 2015 um 10:15:01, schrieb Scott Kostyshak >> >> > <skost...@lyx.org> >> >> >> On Tue, Feb 10, 2015 at 5:46 AM, Kornel Benko <kor...@lyx.org> wrote: >> >> >> > Hi, >> >> >> > I am unable to set document language in the attached minimal example >> >> >> > file. >> >> >> > On other files it works. >> >> >> > >> >> >> > The GUI is set to 'slovak'. >> >> >> > The dialog simply does not enable 'Apply' or 'OK' buttons. >> >> >> > In fact, I am unable to set anything in document settings. >> >> >> > >> >> >> > Changing the GUI language to e.g. english, everything works. >> >> >> > >> >> >> > Using some other GUI language, e.g. french, there is the same >> >> >> > behaviour as >> >> >> > for slovak GUI. >> >> >> > >> >> >> > Kornel >> >> >> >> >> >> I cannot reproduce this. If I do >> > >> > [snip] >> >> > >> >> >> I'm using lyx2.2 from the daily builds of master branch from the >> >> >> Ubuntu LyX repo. >> >> > >> >> > I too. Qt5. >> >> > Test with Qt4 ... it works. Same user dir. >> >> >> >> I can now reproduce. Strange. When I do >> >> LANG=fr_FR.utf8 lyx2.2 SetDocLang.lyx >> >> with my custom compiled + qt 5 and installed, the interface is not in >> >> French. Further, I cannot change the document language. This seems >> >> like two bugs (perhaps with a common root). >> > >> > Have you set Tools->Preferences...->Language Settings->User interface >> > language to 'Default'? >> >> Yes (actually, I did not set it. It was set by default). >> >> Scott >> >> > If not, then it should be expected (not a bug IMHO) >> > >> >> Scott >> > > > I have a strong feeling about what happens here. > > If the GUI language is one for which the numerical separator is not '.', but > e.g. ',', then > the handling of numerical values is broken. > The test document contains values for > Document->Settings...->Page Margins->Top: 0.7cm > > Setting this value is no problem. But using the dialog later again, 'Top:' is > displayed in red > and the value is '0,7'. > > Since this is invalid, also other document settings are disabled. > > Kornel
I wonder why this would change depending on Qt version. Scott