#353 Support for Retina Macbooks

None
closed
nobody
None
5*
2013-04-27
2012-11-03
Anonymous
No

Is it possible to add support for hidpi retina screens? This would be awesome.

Discussion

<< < 1 2 (Page 2 of 2)
  • CLightfield

    CLightfield - 2013-01-08

    When I run qmake I'm getting "The TeXstudio source repository has been moved to svn.code.sf.net." Where do I download the latest GNU tarball?

     
    Last edit: CLightfield 2013-01-09
  • Anonymous - 2013-01-08

    Anyone having a good mind to photoshop some HiDPI icons?

     
  • CLightfield

    CLightfield - 2013-01-09

    Benito and Scenox, thank you so much for working on this. Your change in r3674 fixed the problem and now it looks great. Excellent work!

     
  • Benito van der Zander

    So everything works fine without line caches?

    The line caches were only added, because it was reported that without
    line caches the editing became unbearable slow...

     
  • Anonymous - 2013-01-09

    Yeah, everythink works now fine without line cache.

    Uhm, neither on my Mac OS nor on Windows XP occurs this slowlyness (i have about 5000 lines text in the document).

     
  • CLightfield

    CLightfield - 2013-01-09

    On my system, the best performance (with clear text) is with the following:

    Checked: Disable cache of rendered lines.
    Render Mode: QCE

    With these settings, I experience no decrease in speed in typing, scrolling, running, and reverse searching with synctex. My test document is 1200 lines.

     
  • Tim Hoffmann

    Tim Hoffmann - 2013-01-10

    Rev. 3685 implements detection of a retina display (via resolution - is there a better way?) and automatically disables the line cache.

    So it should work now also if you have checked "automatically choose best display options".

    Could anyone building and using TXS on RMBP please test this?

     
  • scenox

    scenox - 2013-01-12

    We also have to add this extra line in the texstudio.plist file:
    AppleMagnifiedMode => NO (Type: Boolean)

    in this file:
    /Users/your_username/Library/Preferences/texstudio.plist

    Otherwise it doesn't work.

    Your commit works when I switch to native resolution (2880x1800) on startup of texstudio and then switch back to 1920x1200 HiDPI, but not when I start from 1920x1200 HiDPI. So screengeometry() seems to get the rendered resolution (3840x2400 for 1920x1200) and not the native resolution of the monitor. So we could add all missing rendered resolutions or we could implement to detect the Model with sysctl -n hw.model or with
    ioreg -l | awk '/product-name/ { split($0, line, "\""); printf("%s\n", line[4]);

    (I don't know which is better) Here are the model identifiers:
    http://support.apple.com/kb/HT4132?viewlocale=en_US&locale=en_US

     
    Last edit: Tim Hoffmann 2013-01-20
    • Tim Hoffmann

      Tim Hoffmann - 2013-01-20

      changed to retina detection via model identifier: rev. 3715

      added AppleMagnifiedMode -> false to the .plist: rev. 3716

      Please test.

       
  • Anonymous - 2013-01-19

    Google 'QSettings plist' to find code for adding the line

    <key>AppleMagnifiedMode</key>
    <false/>

     
  • Anonymous - 2013-01-21

    We shouldn't use the user preference flag 'AppleMagnifiedMode'! See http://lists.apple.com/archives/carbon-dev/2012/Jun/msg00003.html what to do instead. Furthermore, the flag doesn't work in the info.plist from the app package, but only in the preference file or via terminal:
    defaults write <our-bundle-identifier-here> AppleMagnifiedMode NO

     
  • Marcel Wlotzka

    Marcel Wlotzka - 2013-02-20

    Could you upload a installable version of this test-build? Then I would not need to compile all of this on my own.

     
  • Jan  Sundermeyer

    Jan Sundermeyer - 2013-04-27
    • Group: -->
     
  • Jan  Sundermeyer

    Jan Sundermeyer - 2013-04-27
    • status: open --> closed
     
  • Jan  Sundermeyer

    Jan Sundermeyer - 2013-04-27

    fixed

     
<< < 1 2 (Page 2 of 2)

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks