Hi MITK team,

first a belated congratulation for the release! Great to see this happen!

I have a problem currently with my customized workbench based on the 2018.04.2 
release. I see that the new release workbench does not exhibit the problem, so 
perhaps you also encountered and fixed it.

The problem is about high resolution displays that I see in newer laptops. 
Without changing anything to the code, Qt renders all buttons very small (same 
pixel size but tiny real size because of the high resolution). I found and 
option "QGuiApplication::setAttribute(Qt::AA_EnableHighDpiScaling, true);" and 
an environment variable QT_SCREEN_SCALE_FACTORS to help "old" applications 
scale nicely. I am using the environment variable.

When doing so the application looks nice, but I get an offset when clicking 
inside 2D render windows. You click somewhere but the crosshair is then 
positioned a good portion away from the clicked position.

My questions:
- did you observe this behavior?
- did you change anything to the code to handle this?
- I noticed you changed the VTK Qt render window in QmitkRenderWindow. Is this 
related / required / ..?

Any thought on this are highly appreciated.

Best regards,
Daniel


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

Reply via email to