bugGNU Octave - Bugs: bug #55455, Font selection dropdown shows...

 
 

bug #55455: Font selection dropdown shows fonts in really large type

Submitted by:  Andrew Janke <apjanke>
Submitted on:  Sat 12 Jan 2019 05:24:41 AM UTC  
 
Category:  GUI Severity:  1 - Wish
Priority:  3 - Low Item Group:  Feature Request
Status:  Confirmed Assigned to:  None
Originator Name:  Open/Closed:  Open
Release:  dev Operating System:  Any

Add a New Comment (Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Thu 31 Jan 2019 06:40:22 AM UTC, comment #4: 

It turns out that this is not that easy to fix. The fonts in the dropdown list of a font combobox seem to ignore stylesheets  When looking at other applications that uses font selection box with a preview of the font (e.g., LibreOffice), the size is also larger than the general font size of the application, at least for some of the listed fonts.

Torsten Lilge <ttl>
Project Member
Tue 22 Jan 2019 04:35:14 PM UTC, comment #3: 

It's a little large, but I think we're down to aesthetics.  I was comparing to the suggested 20 points and it is no where near as big as that.  See the attached screenshot for a true 20 point font.

I'm dropping this down to a Feature Request.  I'm not sure why the drop-down dialog isn't just using the fontsize that the rest of the GUI is through an inheritance mechanism.  My guess is that this is easy to fix for someone who understands Qt code.

The code to modify is in libgui/src/settings-dialog.cc.  I think the function will be settings_dialog::read_lexer_settings.


Rik <rik5>
Project Administrator
Tue 22 Jan 2019 06:16:59 AM UTC, comment #2: 

It kind of looks large on my computer (attached).

Dmitri.
--


Dmitri A. Sergatskov <dasergatskov>
Tue 22 Jan 2019 06:01:11 AM UTC, comment #1: 

I'm using the 5.0.1 stable branch and this works for me.  This is on Linux however.  Can you re-test with the stable branch or with the RC1 candidate?

Rik <rik5>
Project Administrator
Sat 12 Jan 2019 05:24:41 AM UTC, original submission:  

Minor GUI issue:

In Preferences > Editor Styles > Octave, the dropdowns for font selection display the font names/samples in rather large type, like 20 points. IMHO that affects readability a bit, and you can't fit many fonts into the dropdown's popup.

Could these be shrunk a bit?

Andrew Janke <apjanke>

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #46071:  20pt_font.png added by rik5 (62KiB - image/png)
file #46069:  fontsx.png added by dasergatskov (327KiB - image/png)
file #45942:  Screen Shot 2019-01-12 at 12.22.33 AM.png added by apjanke (297KiB - image/png - Font dropdown on macOS 10.13.6 on iMac 5K)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by ttl (Posted a comment)
  • -email is unavailable- added by dasergatskov (Updated the item)
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by apjanke (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

     

     

    Follow 10 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-01-31 ttl Priority5 - Normal => 3 - Low
    2019-01-22 rik5 Attached File- => Added 20pt_font.png, #46071
        Severity3 - Normal => 1 - Wish
        Item GroupOther => Feature Request
        StatusWorks For Me => Confirmed
        Release4.4.1 => dev
        Operating SystemMac OS => Any
    2019-01-22 dasergatskov Attached File- => Added fontsx.png, #46069
    2019-01-22 rik5 StatusNone => Works For Me
    2019-01-12 apjanke Attached File- => Added Screen Shot 2019-01-12 at 12.22.33 AM.png, #45942

    Back to the top


    Powered by Savane 3.6