[vtkusers] imageViewer size within QVTKWidget

Simon ESNEAULT simon.esneault at gmail.com
Wed Jan 28 05:06:37 EST 2015


Hello Community,

I'm trying to debug this problem with QVTKWidget on retina display (without
success for now)
Just wanted to share that there is a way to simulate an HiDPI display and
to reproduce this bug on an OSX system with a "normal" screen
- Launch this command in a terminal : sudo defaults write
/Library/Preferences/com.apple.windowserver.plist DisplayResolutionEnabled
-bool true
- Log out/ log in
- Go to preference -> display and you should have one additional resolution
available looking like : 960x540 (HiDPI)

And now launch a program with a QVTKWidget, Qt5, VTK 6.1 and HiDPI enabled
(need <key>NSHighResolutionCapable</key><true/> in the info.plist inside
the .app) and the VTK viewport should fill only the bottom left quarter of
the QVTKWidget.

If any Qt/VTK skilled debugger has a hint on how to solve that particular
problem ...
Thanks,
Simon

2014-12-10 15:46 GMT+01:00 David Gobbi <david.gobbi at gmail.com>:

> Unfortunately, I don't have any systems with a retina display to run tests
> on.  I wonder, has this issue ever come up with ParaView on retina displays?
>
> On Wed, Dec 10, 2014 at 7:19 AM, mbcx9rb9 <richard.j.brown at live.co.uk>
> wrote:
>
>> The only solution I've found so far is to run your program in low
>> resolution
>> mode:
>>
>> Right click on the *.app file
>> Get Info
>> Open in low resolution mode
>> Close the Get Info window and run program
>>
>> see:
>>
>> http://vtk.1045678.n5.nabble.com/QVTKWidget-and-MacOS-problems-td5729620.html
>>
>>
>>
>> --
>> View this message in context:
>> http://vtk.1045678.n5.nabble.com/imageViewer-size-within-QVTKWidget-tp5729578p5729777.html
>> Sent from the VTK - Users mailing list archive at Nabble.com.
>> _______________________________________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>>
>> Please keep messages on-topic and check the VTK FAQ at:
>> http://www.vtk.org/Wiki/VTK_FAQ
>>
>> Follow this link to subscribe/unsubscribe:
>> http://public.kitware.com/mailman/listinfo/vtkusers
>>
>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers
>
>


-- 
------------------------------------------------------------------
Simon Esneault
Rennes, France
------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20150128/3318305e/attachment-0001.html>


More information about the vtkusers mailing list