PixarAnimationStudios / OpenUSD

Universal Scene Description
http://www.openusd.org
Other
6.12k stars 1.22k forks source link

Tree view in usdview covers most of the UI #707

Open rreusser opened 5 years ago

rreusser commented 5 years ago

Description of Issue

I am able to successfully compile and run the toolkit on Mac OS 10.14.1, but it seems like the tree view is scaled incorrectly and covers most of the interface. It feels like perhaps Qt doesn't handle retina displays correctly.

Edit: I do realize Mac OS support is experimental and am not expecting it to just magically be solved. I just wanted to submit this so that it can be addressed or queued or ignored as you see fit. I really appreciate all the resources and communication around the format! Thanks! 😄

screen shot 2018-11-27 at 3 40 00 pm

Steps to Reproduce

  1. Install pyside2 via homebrew (brew install pyside)
  2. Build and install USD tools
  3. run usdview with a file, e.g. usdview model.usdz

System Information (OS, Hardware)

Mac OS 10.14.1 with retina display

Package Versions

USD repo sha: 6c50b29bb76f0a7c176bae05668ab195520a019b

$ brew info qt
qt: stable 5.11.2 (bottled), HEAD [keg-only]
$ brew info pyside
pyside: stable 5.11.2 (bottled)
Official Python bindings for Qt
https://wiki.qt.io/Qt_for_Python
/usr/local/Cellar/pyside/5.11.2 (451 files, 77.3MB) *
  Poured from bottle on 2018-11-27 at 14:59:38
From: https://github.com/Homebrew/homebrew-core/blob/master/Formula/pyside.rb
==> Dependencies
Build: cmake ✘
Required: llvm ✔, python ✔, python@2 ✔, qt ✔
==> Analytics
install: 576 (30 days), 2,564 (90 days), 4,050 (365 days)
install_on_request: 425 (30 days), 1,456 (90 days), 2,308 (365 days)

Build Flags

Output when building USD:

Building with settings:
  USD source directory          /Users/rreusser/src/USD
  USD install directory         /Users/rreusser/usr/local/USD
  3rd-party source directory    /Users/rreusser/usr/local/USD/src
  3rd-party install directory   /Users/rreusser/usr/local/USD
  Build directory               /Users/rreusser/usr/local/USD/build
  CMake generator               Default
  Downloader                    curl

  Building                      Shared libraries
    Imaging                     On
      Ptex support:             Off
      OpenImageIO support:      Off 
    UsdImaging                  On
      usdview:                  On
    Python support              On
    Documentation               Off
    Tests                       Off
    Alembic Plugin              Off
      HDF5 support:             Off
    MaterialX Plugin            Off
    Maya Plugin                 Off
    Katana Plugin               Off
    Houdini Plugin              Off

  Dependencies                  zlib, boost, TBB, OpenEXR, GLEW, OpenSubdiv
STATUS: Installing zlib...
STATUS: Installing boost...
STATUS: Installing TBB...
STATUS: Installing OpenEXR...
STATUS: Installing GLEW...
STATUS: Installing OpenSubdiv...
STATUS: Installing USD...
jtran56 commented 5 years ago

Filed as internal issue #USD-4943.