[Development] Qt 5.13 & 5.14 add device-independent pixels to device-dependent

Thiago Macieira thiago.macieira at intel.com
Thu Feb 13 19:29:46 CET 2020


On Thursday, 13 February 2020 09:53:11 PST Thiago Macieira wrote:
> I can confirm krdc is affected just the same way that KMail and VirtualBox
> are: it works on screen 1, but fails to repaint on screen 2.
> 
> It's a much simpler application than KMail to debug. I can reproduce this by
> using it to VNC into my Mac machine or to RDP into my Windows one. The
> trick must be here somewhere:
> 
> https://github.com/KDE/krdc/tree/master

More debugging:

When on screen 2, the central widget in VNC mode does update if I shrink the 
window, but not if I enlarge it. The menu bar drop downs do draw properly and 
in the right position, but the toolbar extension does not. My guess is that 
the menu bar drop down is a separate X window while the toolbar is not. See 
https://bugreports.qt.io/secure/attachment/92037/
Screenshot_20200213_100723.png.

I've captured a *.debug=true log of krdc in both screens, where all I did was 
connect (from the command-line) and draw one of the corners a little to 
expand, then quit. See 
https://bugreports.qt.io/secure/attachment/92039/krdc-screen1.log
https://bugreports.qt.io/secure/attachment/92038/krdc-screen2.log

I still can't find an example in qtbase that has the same issue.
-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel System Software Products





More information about the Development mailing list