On Sat, 11 Mar 2023 19:36:56 +0900 Masaru Nomiya <nom...@lake.dti.ne.jp> said:

> Hello,
> 
> In the Message; 
> 
>   Subject    : Re: [e-users] Having issues getting mixxx to work
>   Message-ID : <20230307054350.c86a5fea5a95729ab0bf6...@rasterman.com>
>   Date & Time: Tue, 7 Mar 2023 05:43:50 +0000
> 
> [CH] == Carsten Haitzler <ras...@rasterman.com> has written:
> 
> CH>  On Mon, 6 Mar 2023 21:34:18 +0000 (UTC) Anna Cassar
> CH>  <anna_cassa...@yahoo.co.uk> said:
> 
> CH>  e sets xsettings to tell apps that read these to uses some
> CH>  specific fonts, theme, dpi etc. - i've seen qt mess up badly when
> CH>  theme is set AND the qt style plugins are not there. it doesn't
> CH>  fall back gracefully. not qt5 style. qt5 style plugins. the
> CH>  plugins is the important bit - the thing that provides some
> CH>  plugin for qt to properly do this.
> 
> CH>   5:32AM ~ > pacman -Q | grep styleplugins
> CH>  qt5-styleplugins 5.0.0.20170311-35
> 
> CH>  all i see is mixx segfault. probably because it can't connect to
> CH>  jack. not very graceful. it does it even in a wm-less xephyr.
> 
> CH>  e also sets 2 env vars:
> 
> CH>  QT_QPA_PLATFORMTHEME=gtk2
> CH>  QT_STYLE_OVERRIDE=gtk2
> 
> CH>  this tells qt to use the gtk2 style to do theme stuff. you could
> CH>  unset these in a terminal and run mixxx from there and see.
> 
> CH>  it might mess up if it doesn't like the dpi set - but then that'd
> CH>  be it's problem for not rendering at that dpi to scale correctly
> CH>  - regardless of the value. either ignore the dpi or use it as
> CH>  given. don't use it then fall over if the value isn't one you like.
> 
> I think everything written here is out of line.
> 
> I mean, I have no problems with mixxx look and feel on any WM on my
> PC, not just enlightenment, but twm, Plasma5, Gnome, e16, and icewm.
> 
> I can only assume that there must be a problem with the build of
> enlightenment.... (_ _?

that's not how x11 works. mixx is in  charge of rendering its own content. it
does so directly using x11 protocol to its own window. e just composites the
resulting bitmap. the "it only happens in e - thus i blame e" is a bit of
continuing false logic almost always from people who have no idea how apps,
toolkits, wm's, x11 or compositors work.

your logic is flawed. e is not involved in rendering, it's the client side that
does that. at worse e setys the env vars to tell qt to use a gtk handling style
plugin to make themes match between gtk and qt falls over badly when it can't
find the gtk style plugin and qt or e sets dpi to something qt/mixx does not
like. but both of these would be bugs on the client side.

i've explained that e sets some env vars to encourage qt to use the gtk style
plugin so it will inhrit theme information from gtk. if qt completely falls
over as a result of this, then qt is not very good at handling its own errors.
there is no way for e to know if qt can or cannot handle gtk themes. there is
no mechanism to find out. if it's this then unset the env vars OR install the
style plugins as i mentioned so qt stops failing poorly. it could also be that
e set a dpi value lower than qt5/mixx would expect. there is nothing wrong with
setting a low dpi. if you have a low dpi screen then this is exactly what you
want. if this is the issue the problem is STILL in qt5 or mixx. it's not e's
fault or problem that it sets a lower dpi value. you can find out the above by
unsetting the above env vard then running mixx from that shell. you can find
out if its xsettings dpi by disabling e's x settings feature - logging in again
to clear everything out and running mixx (also try both with env vars gone an d
x settings not there). but just saying "it's e's fault" is not even trying to
narrow down what on qt/mixx's side the problem is as the problem *IS* over
there as e has NOTHING to do with the rendering of an x11 client - only the
final compositing of the resulting image.


-- 
------------- Codito, ergo sum - "I code, therefore I am" --------------
Carsten Haitzler - ras...@rasterman.com



_______________________________________________
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users

Reply via email to