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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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]);
changed to retina detection via model identifier: rev. 3715
added AppleMagnifiedMode -> false to the .plist: rev. 3716
Please test.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
Anonymous
-
2013-01-19
Google 'QSettings plist' to find code for adding the line
<key>AppleMagnifiedMode</key>
<false/>
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
Anyone having a good mind to photoshop some HiDPI icons?
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!
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...
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).
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.
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?
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
changed to retina detection via model identifier: rev. 3715
added AppleMagnifiedMode -> false to the .plist: rev. 3716
Please test.
Google 'QSettings plist' to find code for adding the line
<key>AppleMagnifiedMode</key>
<false/>
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
Could you upload a installable version of this test-build? Then I would not need to compile all of this on my own.
While compiling it, I encountered many problems to deal with but at last I was able to compile it and here is the link:
https://www.dropbox.com/s/l3sv3d5jvnr4z1e/TeXStudio.dmg
a most recent build of txs for mac can be found here: http://sourceforge.net/projects/texstudio/files/texstudio/TeXstudio%20SVN/texstudio_svn3941_mac.dmg/download
Everything works fine for retina macs except for icons which are not yet supported by qt to be rendered as hidpi
It crashes whenever I hit compile and show pdf!! but my version works like a champ. ;)
https://www.dropbox.com/s/l3sv3d5jvnr4z1e/TeXStudio.dmg
fixed