On Mon, Apr 05, 2021 at 07:56:54PM -0700, Anindya Mukherjee wrote:
> Hi,
> 
> Qutebrowser has a bug on OpenBSD which causes the prefers-color-scheme
> setting to not work correctly (e.g., test sites show that it is not
> supported, etc.). The problem is a hard-coded library filename for
> libQt5WebEngineCore.so.5 in
> /usr/local/lib/python3.8/site-packages/qutebrowser/misc/elf.py. I worked
> with The-Compiler and a fix has been committed upstream:
> https://github.com/qutebrowser/qutebrowser/commit/eb6f1cf9898cb431af9d2812ec40f811e37f57f0
> Would it be possible to backport this into the current port? I have
> tested the patch on my system and it fixes the issue. To test, simply
> set colors.webpage.preferred_color_scheme = dark and load
> https://www.openbsd.org/faq/. It will be displayed using the light
> scheme without this fix, regardless of the above setting.
> 
> OTOH 2.2 is not too far off and updating to that won't need maintaining
> a patch. I'm not sure what is the best way to proceed.
> 
> Regards,
> Anindya

Incidentally, setting QUTE_DARKMODE_VARIANT=qt_515_2 also works around
the bug by forcing the library version to what we know is the correct
one for OpenBSD.

Reply via email to