Re: Current repo and existing installation have different color schemes

2021-04-13 Thread Narahari Rao
Sure thing, done. On Tue, Apr 13, 2021 at 6:57 PM Richard Kimberly Heck wrote: > On 4/13/21 8:38 PM, Narahari Rao wrote: > > I've got it mostly working now. I couldn't figure out how to persist the > option (In Tools->Preferences->Colors), so it resets to Same As

License

2021-04-13 Thread Narahari Rao
I hereby grant permission to license my contributions to LyX under the GNU General Public License, version 2 or later. Narahari Rao -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel

Re: Current repo and existing installation have different color schemes

2021-04-13 Thread Narahari Rao
I've got it mostly working now. I couldn't figure out how to persist the option (In Tools->Preferences->Colors), so it resets to Same As System every startup. The patch is attached. On Tue, Apr 13, 2021 at 12:51 PM Narahari Rao wrote: > Looks like bool ColorCache::isDarkmo

Re: Current repo and existing installation have different color schemes

2021-04-13 Thread Narahari Rao
Looks like bool ColorCache::isDarkmode() is setting the document colors on startup, using QtPalette to get text/bg color and comparing them to guess whether the user is in a dark theme or not. However, changing what this function returns during runtime (via a variable) does not change the document

Re: Current repo and existing installation have different color schemes

2021-04-13 Thread Narahari Rao
: > Am Di., 13. Apr. 2021 um 05:52 Uhr schrieb Narahari Rao < > narahari...@gmail.com>: > >> Yes, I'm using Adapta Nokto on desktop. Is there an option to switch back >> to light theme or has that not been built yet? >> > > Not in the GUI. You can use the

Re: Current repo and existing installation have different color schemes

2021-04-12 Thread Narahari Rao
Yes, I'm using Adapta Nokto on desktop. Is there an option to switch back to light theme or has that not been built yet? On Mon, Apr 12, 2021 at 8:49 PM Narahari Rao wrote: > Yes, I'm using Adapta Nokto on desktop. Is there an option to switch back > to light theme or has tha

Current repo and existing installation have different color schemes

2021-04-12 Thread Narahari Rao
I just finished building Lyx2.4 from the git repo (Linux Mint 20.1, cmake), which seems to be using a dark theme by default, as opposed to the existing installation (v2.3.6.1), which has the usual black text on light brown background. Is this intentional, and if so why? -- lyx-devel mailing list l