bugGNU Octave - Bugs: bug #43467, Retinize the Script Editor in...

 
 

bug #43467: Retinize the Script Editor in Octave Mac 3.8.2

Submitter:  Xiong Wei <bbbear2002>
Submitted:  Fri 24 Oct 2014 09:38:53 AM UTC
   
 
Category:  GUI Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Feature Request
Status:  Need Info Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * 3.8.2 Operating System:  * Mac OS
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Jump to the original submission

Mon 14 Mar 2016 04:08:06 PM UTC, comment #14: 


> Is this bug still relevant? It is filed against 3.8.2 which is no longer a supported version of Octave. I believe anyone working on a Mac today will have recent versions of QScintilla so they can expect "retina" displays to work out of the box.


It is still relevant. I've installed MacPorts version of Octave 4.0.1-rc4 with qscintilla @2.9.1_0 just the other day and editor is still blurry.

Quick googling revealed a possible cause:
https://groups.google.com/forum/#!topic/scintilla-interest/tj71w3UMj4s

"Its possible you have buffered drawing turned on and its drawing into a half-linear-resolution bitmap."
http://www.scintilla.org/ScintillaDoc.html#SCI_SETBUFFEREDDRAW

Wojciech Czarnowski <wojtekcz>
Wed 25 Nov 2015 12:41:29 AM UTC, comment #13: 

Is this bug still relevant?  It is filed against 3.8.2 which is no longer a supported version of Octave.  I believe anyone working on a Mac today will have recent versions of QScintilla so they can expect "retina" displays to work out of the box.

Rik <rik5>
Group administrator
Sun 16 Nov 2014 11:49:47 PM UTC, comment #12: 

Thanks Carlo.
The reason I asked for the QScintilla version is that I saw that some software had had similar issues (blurred display) specifically with QScintilla (not Qt nor Scintilla), see e.g. [1]. As stated in comment #2  (see link there in), QScintilla has an entry in the 2.8.1 release notes about retina related fixes.

[1] https://github.com/opencor/opencor/issues/248

Pantxo Diribarne <pantxo>
Group Member
Sun 16 Nov 2014 08:56:49 PM UTC, comment #11: 

I have no idea what it takes to retinize an app.
Anyway, in case it is of any help, the binary package
for Octave 3.8.2 at

http://sourceforge.net/projects/octave/files/Octave%20MacOSX%20Binary/test/2014-09-25-Binary-of-GNU-Octave-3.8.2-for-OSX-10.9.5/

is built using qscintilla version 2.7.2.

c.

Carlo de Falco <cdf>
Group Member
Sun 16 Nov 2014 01:48:47 PM UTC, comment #10: 

@Dear Pantxo,

Thank you for bring me such way. Yet i wish to use Octave GUI, and it seems that installation of Octave via Macport is a bit complex for me. Do you have any other solution? Thank you for your keen help!

Xiong Wei <bbbear2002>
Sun 16 Nov 2014 01:47:53 PM UTC, comment #9: 




Xiong Wei <bbbear2002>
Wed 12 Nov 2014 12:36:34 PM UTC, comment #8: 

@Xiong,

Another way to see if this issue is solved by recent qscintilla versions is to use Macports: their port of Octave uses Qscintilla 2.8.4, which should work with retina display.

Can you try to install octave with Macports?

Pantxo Diribarne <pantxo>
Group Member
Wed 12 Nov 2014 12:04:07 PM UTC, comment #7: 

Does anyone have a clue???

Xiong Wei <bbbear2002>
Mon 03 Nov 2014 05:33:15 PM UTC, comment #6: 

I had a chance to make the test myself at work today with a non retina featured macbook. I thus couldn't see the real issue but I could see the output of "otool -L" (not B, sorry) on the gui executable. The qscintilla dylib name is 2.9.0 ... but qscintilla 2.9 hasn't been released!
AFAIR, this executable is produced using Macports and I am wondering if this strange version number doesn't come from a Macports specific versioning scheme.

Do someone have a clue? Can we add cdf to the recipients of this bug report?


Pantxo Diribarne <pantxo>
Group Member
Mon 03 Nov 2014 08:11:25 AM UTC, comment #5: 

Hi,

Then the executables should be in /usr/local/octave.../bin/octave-gui

Can you run the following command:

otool -B /usr/local/octave/directory/bin/octave-gui


Adapt the path, and report the output here.

Pantxo Diribarne <pantxo>
Group Member
Mon 03 Nov 2014 07:57:22 AM UTC, comment #4: 

Thank you Ben Abbott and Pantxo. I installed Octave from http://sourceforge.net/projects/octave/files/Octave%20MacOSX%20Binary/test/2014-09-25-Binary-of-GNU-Octave-3.8.2-for-OSX-10.9.5/, and i guess it is a binary installer.

Xiong Wei <bbbear2002>
Sun 02 Nov 2014 10:04:03 PM UTC, comment #3: 

This app may be useful in retinizing QScintilla < 2.8.1

http://retinizer.mikelpr.com

Ben Abbott <bpabbott>
Group Member
Sat 01 Nov 2014 06:15:24 PM UTC, comment #2: 

Hi,

I see in QScintilla 2.8.1 release notes [1] that they now support retina display. Xiong, how did you install octave? Is your version of QScintilla older than 2.8.1, and if so can you upgrade it?

[1] http://freecode.com/projects/qscintilla

Pantxo Diribarne <pantxo>
Group Member
Sat 25 Oct 2014 05:28:23 PM UTC, comment #1: 

The core Octave developers use Linux operating systems, and I have no idea what it takes to make an application "retina" for a Mac.

If you can find out how it is done and submit a patch I could review it.

Rik <rik5>
Group administrator
Fri 24 Oct 2014 09:38:53 AM UTC, original submission:  

Respected Octave Developer Team,

       Thank you for bringing us Octave 3.8.2 Mac, which is marvelous. BTW, could you consider to retinize the Script Editor in Octave, please? This would better the GUI of Octave on Mac with retina display. Many thanks for your selfless and fruitful work!!!

Xiong Wei <bbbear2002>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by wojtekcz (Posted a comment)
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by cdf (Posted a comment)
  • -email is unavailable- added by bpabbott (Posted a comment)
  • -email is unavailable- added by pantxo (Posted a comment)
  • -email is unavailable- added by bbbear2002 (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-12-08 rik5 Open/ClosedOpen Closed
    2014-11-12 rik5 Carbon-CopyRemoved 72865 -
    2014-11-03 pantxo StatusNone Need Info

    Back to the top

    Powered by Savane 3.13-cf05.
    Corresponding source code