Re: LyX and HiDPI Under Linux

2017-04-22 Thread Jürgen Spitzmüller
Am Samstag, den 22.04.2017, 06:27 -0400 schrieb PhilipPirrip:
> My question was does
> "export QT_AUTO_SCREEN_SCALE_FACTOR=true"
> as opposed to
> "export QT_AUTO_SCREEN_SCALE_FACTOR=1"
> make any difference for you at all?

Actually, no. But it used to be necessary; without it, the UI was way
too small.

I didn't notice that since the scaling I have works well enough for me.

Jürgen

signature.asc
Description: This is a digitally signed message part


Re: LyX and HiDPI Under Linux

2017-04-22 Thread PhilipPirrip

On 04/22/2017 05:15 AM, Jürgen Spitzmüller wrote:

My point is that Wayland did not read the local profile script last
time I checked. Manually exporting works, but settings in the local
profile scripts were simply ignored.


Got it!
My question was does
"export QT_AUTO_SCREEN_SCALE_FACTOR=true"
as opposed to
"export QT_AUTO_SCREEN_SCALE_FACTOR=1"
make any difference for you at all?
Because the "=true" does nothing for me.



Also, now that I got used to the scaling factor of 2, and after setting 
the icon size back to Normal, I'm wondering how much does LyX comply to 
the new way of setting dimensions, that is, how much of the interface is 
being painted in pixel/point units and not, e.g. by the recommendations 
at http://doc.qt.io/qt-5/highdpi.html?


For, I must say, even though the UI with the scaling of 1 is quite 
usable it feels crumpled and looks a bit ugly, while the scaling of two 
makes it somewhat oversized, but much nicer to look at:

http://wiki.lyx.org/uploads/Playground/LyX230dev-Wayland-scaling_factors_applied-201704.png
(physical size of the screen is 295mm x 160mm)





Re: LyX and HiDPI Under Linux

2017-04-22 Thread Jürgen Spitzmüller
Am Samstag, den 22.04.2017, 04:58 -0400 schrieb PhilipPirrip:
> I'm on Wayland now, and see no difference from Xorg - (99% of the)
> user 
> interface just works, no enviroment options set.
> Out of curiosity, I tried "export QT_AUTO_SCREEN_SCALE_FACTOR=true",
> and 
> it made no change. But following an example from 
> http://doc.qt.io/qt-5/highdpi.html, "export 
> QT_AUTO_SCREEN_SCALE_FACTOR=1" introduced a scaling factor of 2
> (thus 
> making everything too big). Wondering if that would be the case for
> you too.

My point is that Wayland did not read the local profile script last
time I checked. Manually exporting works, but settings in the local
profile scripts were simply ignored.

Jürgen

signature.asc
Description: This is a digitally signed message part


Re: LyX and HiDPI Under Linux

2017-04-22 Thread PhilipPirrip

On 04/22/2017 01:46 AM, Jürgen Spitzmüller wrote:

export QT_AUTO_SCREEN_SCALE_FACTOR=true

(This is with X. Last time I checked, these kind of things did not work
[yet?] with Wayland)



I'm on Wayland now, and see no difference from Xorg - (99% of the) user 
interface just works, no enviroment options set.
Out of curiosity, I tried "export QT_AUTO_SCREEN_SCALE_FACTOR=true", and 
it made no change. But following an example from 
http://doc.qt.io/qt-5/highdpi.html, "export 
QT_AUTO_SCREEN_SCALE_FACTOR=1" introduced a scaling factor of 2 (thus 
making everything too big). Wondering if that would be the case for you too.




Re: LyX and HiDPI Under Linux

2017-04-21 Thread Jürgen Spitzmüller
Am Samstag, den 22.04.2017, 01:21 +0200 schrieb Nikos Alexandris:
> > export QT_AUTO_SCREEN_SCALE_FACTOR=true
> 
> This is in your .bash_profile or .profile?

.profile

Jürgen

(This is with X. Last time I checked, these kind of things did not work
[yet?] with Wayland)

signature.asc
Description: This is a digitally signed message part


Re: LyX and HiDPI Under Linux

2017-04-21 Thread Nikos Alexandris

* Jürgen Spitzmüller  [2017-04-21 08:51:31 +0200]:


Am Donnerstag, den 20.04.2017, 22:46 -0400 schrieb Richard Heck:

But it has HiDPI, and I'm curious what people's experience is using
LyX
with HiDPI screens under Linux (KDE, in my case). Help?


I have a Lenovo X1 with HiDPI.


Me too.


LyX works fine, although I have to say
that I did not use LyX very often yet on that machine (GNOME here, but
this should not matter, and LyX compiled against Qt5). I have in my
local profile

export QT_AUTO_SCREEN_SCALE_FACTOR=true


This is in your .bash_profile or .profile?

Nikos



to get the proper scaling.

Jürgen



Richard






--
Nikos Alexandris | Remote Sensing & Geomatics
GPG Key Fingerprint 6F9D4506F3CA28380974D31A9053534B693C4FB3 


Re: LyX and HiDPI Under Linux

2017-04-21 Thread PhilipPirrip

On 04/20/2017 10:46 PM, Richard Heck wrote:

I'm thinking about buying one of these:

https://system76.com/laptops/galago

But it has HiDPI, and I'm curious what people's experience is using LyX
with HiDPI screens under Linux (KDE, in my case). Help?

Richard



Hi Richard,
Fear not, LyX works fine. I'm using Gnome@Fedora on a DELL XPS 13 
HiDPI/touch. There are only a few places where widget rendering is awry, 
most notably in Document settings > Bullets. Still not sure whether this 
is because of something in LyX or adwaita-qt5 theme. In any case, things 
look much better than in 2015 
(http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg188814.html, 
http://wiki.lyx.org/uploads/Playground/)

KDE? have no idea, should be the same, or better.
And hey - whatever you find not working, we all will have someone with a 
HiDPI screen to fix it.

Go for it!


(that galago looks very much like my XPS 13 Sputnik... except for the 
thick bezel... HDD? you better go with solid state drive!)




Re: LyX and HiDPI Under Linux

2017-04-21 Thread Jürgen Spitzmüller
Am Donnerstag, den 20.04.2017, 22:46 -0400 schrieb Richard Heck:
> But it has HiDPI, and I'm curious what people's experience is using
> LyX
> with HiDPI screens under Linux (KDE, in my case). Help?

I have a Lenovo X1 with HiDPI. LyX works fine, although I have to say
that I did not use LyX very often yet on that machine (GNOME here, but
this should not matter, and LyX compiled against Qt5). I have in my
local profile

export QT_AUTO_SCREEN_SCALE_FACTOR=true

to get the proper scaling.

Jürgen

> 
> Richard
> 
> 

signature.asc
Description: This is a digitally signed message part