Re: [Development] Qt 6 not seeing the same DPI as Qt 5

2021-11-30 Thread Thiago Macieira
On Tuesday, 30 November 2021 01:36:05 PST Ahmad Samir wrote: > Do the - and + lines represent the same monitor? one says refresh rate is > ~60Hz, the other says ~30Hz. I'm not sure. For some reason, Qt 6 lists the external monitor ("DP-3-2") before the primary ("eDP-1") whereas Qt 5 does the oppo

Re: [Development] Qt 6 not seeing the same DPI as Qt 5

2021-11-30 Thread Ahmad Samir
On 29/11/21 18:41, Thiago Macieira wrote: I'll probably have to report this as a bug, but just in case someone has seen it before: $ diff -u qtdiag5 qtdiag6 [...] Geometry: 1920x1200+0+0 (native: 3840x2400+0+0) Available: 1920x1200+0+0 Virtual geometry: 5760x1200+0+0 Available: 5760x1200

Re: [Development] Qt 6 not seeing the same DPI as Qt 5

2021-11-29 Thread Thiago Macieira
On Monday, 29 November 2021 15:31:22 PST Tor Arne Vestbø wrote: > The priority matters, so perhaps you have set one of the other things we > might pick up? Xft/DPI or Xft.dpi? > > https://doc-snapshots.qt.io/qt6-dev/highdpi.html#configuring-x11 Not set in X resources: $ xrdb -query | grep -c dpi

Re: [Development] Qt 6 not seeing the same DPI as Qt 5

2021-11-29 Thread Tor Arne Vestbø
On 29 Nov 2021, at 23:43, Thiago Macieira mailto:thiago.macie...@intel.com>> wrote: On Monday, 29 November 2021 13:20:58 PST Tor Arne Vestbø wrote: If you know that the physical DPI being reported is correct you can use QT_USE_PHYSICAL_DPI to override the behavior as documented. I did, but th

Re: [Development] Qt 6 not seeing the same DPI as Qt 5

2021-11-29 Thread Thiago Macieira
On Monday, 29 November 2021 13:20:58 PST Tor Arne Vestbø wrote: > If you know that the physical DPI being reported is correct you can use > QT_USE_PHYSICAL_DPI to override the behavior as documented. I did, but that makes no difference: $ QT_USE_PHYSICAL_DPI=1 ~/obj/qt/installed/bin/qtdiag | grep

Re: [Development] Qt 6 not seeing the same DPI as Qt 5

2021-11-29 Thread Tor Arne Vestbø
On 29 Nov 2021, at 19:05, Thiago Macieira mailto:thiago.macie...@intel.com>> wrote: On Monday, 29 November 2021 09:09:16 PST Tor Arne Vestbø wrote: What's changed between 5 and 6? https://doc-snapshots.qt.io/qt6-dev/highdpi.html#configuring-x11 Thanks, Tor Arne. I see in the link that the Rand

Re: [Development] Qt 6 not seeing the same DPI as Qt 5

2021-11-29 Thread Thiago Macieira
On Monday, 29 November 2021 09:19:36 PST Henry Skoglund wrote: > Slightly offtopic but did you build your own Qt Creator using Qt 6? Yes -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel DPG Cloud Engineering ___ Devel

Re: [Development] Qt 6 not seeing the same DPI as Qt 5

2021-11-29 Thread Thiago Macieira
On Monday, 29 November 2021 09:09:16 PST Tor Arne Vestbø wrote: > What's changed between 5 and 6? > > https://doc-snapshots.qt.io/qt6-dev/highdpi.html#configuring-x11 Thanks, Tor Arne. I see in the link that the RandR physical DPI is marked "Qt 5 only". Why did we remove this? -- Thiago Maciei

Re: [Development] Qt 6 not seeing the same DPI as Qt 5

2021-11-29 Thread Henry Skoglund
On 2021-11-29 17:41, Thiago Macieira wrote: I'll probably have to report this as a bug, but just in case someone has seen it before: $ diff -u qtdiag5 qtdiag6 [...] Geometry: 1920x1200+0+0 (native: 3840x2400+0+0) Available: 1920x1200+0+0 Virtual geometry: 5760x1200+0+0 Available: 5760x12

Re: [Development] Qt 6 not seeing the same DPI as Qt 5

2021-11-29 Thread Tor Arne Vestbø
Cheers, Tor Arne On 29 Nov 2021, at 17:41, Thiago Macieira mailto:thiago.macie...@intel.com>> wrote: I'll probably have to report this as a bug, but just in case someone has seen it before: $ diff -u qtdiag5 qtdiag6 [...] Geometry: 1920x1200+0+0 (native: 3840x2400+0+0) Available: 1920x1200+0

[Development] Qt 6 not seeing the same DPI as Qt 5

2021-11-29 Thread Thiago Macieira
I'll probably have to report this as a bug, but just in case someone has seen it before: $ diff -u qtdiag5 qtdiag6 [...] Geometry: 1920x1200+0+0 (native: 3840x2400+0+0) Available: 1920x1200+0+0 Virtual geometry: 5760x1200+0+0 Available: 5760x1200+0+0 2 virtual siblings - Physical size: