Hello Thomas,
[email protected] schrieb am Mittwoch, 4. November 2020 um 23:26:18 UTC+1:
> It has been pointed out that VR3 does not pick up dark Leo themes, like
> the current default EKRDark. Viewrendered, on the other hand, does. I've
> been looking at addressing this, and could use some help on a few things.
>
> First of all, I haven't been able to see how the Leo theme gets applied to
> VR. So far as I can see, VR emits html that has no css styling at all;
> presumably the pane somehow uses the theme's style sheet. But when I
> disable the normal stylesheet in VR3, the dark theme is not applied. You
> can see that it is applied to the overall pane itself (for example the
> toolbar, which is a QT Widget), but as the browser first paints you can see
> the background change from the theme's dark to the usual light background.
> Yet the code for loading and displaying the browser in the pane is
> basically identical between the two plugins.
>
> Somewhere I'm overlooking a difference. If anyone can help with this, I'd
> much appreciate it.
>
*Disclaimer: I have not done any check at the source code level of both
plugins.*
However, I'd like to make you aware of an error message from the log-pane,
when executing the 'rst3' command, which as far as I understand it, does
require 'some' rendering (?VR plugin?) capabilities:
###
Leo Log Window
Leo 6.2.1 final
Python 3.8.6, PyQt version 5.15.0
linux
setting leoID from os.getenv('USER'): 'user'
current dir: /home/user/PyVE/PyPI/Leo-stable
load dir: /home/user/PyVE/PyPI/Leo-stable/lib64/python3.8/site-packages/leo/core
global config dir:
/home/user/PyVE/PyPI/Leo-stable/lib64/python3.8/site-packages/leo/config
home dir: /home/user
reading settings in
/home/user/PyVE/PyPI/Leo-stable/lib64/python3.8/site-packages/leo/config/leoSettings.leo
reading settings in /home/user/.leo/myLeoSettings.leo
reading settings in /home/user/Documents/SL2020.leo
read outline in 0.29 seconds
wrote recent file: /home/user/.leo/.leoRecentFiles.txt
saved: SL2020.leo
wrote: /home/user/Documents/SL/2020/11/CW45/LE-2020-11-06.html.txt
stylesheet not found <- !!!
/home/user/Documents/default.css <- !!!
@path: /home/user/Documents
open path: /home/user/Documents
wrote: /home/user/Documents/SL/2020/11/CW45/LE-2020-11-06.html
rst3: 1 files in 0.05 sec.
###
I've tried to attempt to disable any renderer, i.e. the 'VR' as well as the
'VR3' plugin in the 'myLeoSettings' file.
The result was somewhat surprising (at least to me) in that the menu / user
action 'Help > Open help Topics > Help' continues to work.
My current working theory is that as a user I can't disable **each &
every** plugins.
That is, there's still a set of '?mandatory core?' plugins, which Leo keeps
active at all time.
That's all that I can provide as a response from my side for now.
With kind regards,
Viktor
--
You received this message because you are subscribed to the Google Groups
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/leo-editor/b67feff3-fa06-4b44-bf93-471cfa13c40cn%40googlegroups.com.