Uploaded image for project: 'ROOT'
  1. ROOT
  2. ROOT-8337

GetPictureUsingFBO in TASImage breaks the scale on SLC

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • High
    • Resolution: Fixed
    • 5.34/30
    • 6.08/00, 5.34/38
    • Graphics
    • None
    • SLC 6.8, Mac OS X 10.11.6

    Description

      Calling GetPictureUsingFBO on TASImage changes the scale of the view, which then I try to scale back to the initial size. On Mac scaling back works fine, but on SLC it doesn't.

      I attach a minimal example. There are two methods, using FBO and using BB. The latter one works fine on both systems, but the resolution of the resulting file is as the initial size of the view. FBO gives the full resolution, but scale doesn't change back on SLC.

      Also sometimes executing this macro for the first time after starting the ROOT session, the scale of resulting picture is wrong and I have to run it again to get the correct scale. This makes me think that it may have something to do with the speed of the machine it's running on. In the example above Mac is significantly more powerful than the SLC machine.

      Attachments

        Activity

          People

            matevz Matevz Tadel
            jniedzie Jeremi Niedziela
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Actual End: