|
From: | John Swensen |
Subject: | [Octave-bug-tracker] [bug #49053] figure scaling issue with Qt 5 on macOS with Retina / HiDPI scaling |
Date: | Thu, 26 Apr 2018 20:50:05 -0400 (EDT) |
User-agent: | Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.18 Safari/537.36 |
Follow-up Comment #126, bug #49053 (project octave): Welp, that was a crazy easy fix! It appears that the redraw was getting triggered before the screenChanged signal was triggered. My simple solution was to just request a redraw in the screenChanged event handler. Just to be safe, I also did a redraw request it at when the windowShown event is triggered and we update the devicePixelRatio in that function. See the attached diff patch (I really tried this time to get the formatting correct). (file #44041) _______________________________________________________ Additional Item Attachment: File name: high_res_update5.patch Size:14 KB _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?49053> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |