bugGNU Octave - Bugs: bug #53902, Reduce whitespace in Editor...

 
 

bug #53902: Reduce whitespace in Editor (undocked)

Submitted by:  Ceral Paquet <octavebugs>
Submitted on:  Mon 14 May 2018 07:16:55 PM UTC  
 
Category:  GUI Severity:  1 - Wish
Priority:  3 - Low Item Group:  None
Status:  None Assigned to:  None
Originator Name:  Open/Closed:  Open
Release:  4.4.0 Operating System:  GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

( Jump to the original submission)

Sun 01 Jul 2018 08:31:39 AM UTC, comment #6:

That works! I was just looking for it by right-clicking the toolbar directly. I'll spend some time going through the Preferences to see what else I may be missing.

Thanks.

Andrew Janke <apjanke>
Sun 01 Jul 2018 08:30:10 AM UTC, comment #5:

a "Small Icons" option exists in the preferences dialog, tab "General". It would be no problem to add a preference for the toolbar's visibility.

Torsten <ttl>
Project Member
Sun 01 Jul 2018 07:19:03 AM UTC, comment #4:

Related: on macOS with a retina display, I see similar excessive-looking whitespace, plus the toolbar icons are quite big. While this only eats up a couple lines of text, it looks kind of "junior". It would be nice to have a "Small Icons" option, and/or the ability to turn off the editor toolbar altogether. (Maybe that already exists, and I just couldn't find it.)

Screencaps attached.

Andrew Janke <apjanke>
Wed 16 May 2018 07:46:33 PM UTC, comment #3:

What I think I see is that there's lots of whitespace above and below text, IOW related to font rendering rather than various bars and dummy lines.

Philip Nienhuis <philipnienhuis>
Project Member
Wed 16 May 2018 05:24:12 PM UTC, comment #2:

I agree with most of your markups for the "gray" space. There doesn't seem to be good use of space in the octave_dock_widget (that's the object in the code comprising the floatable main widgets, it's derived from a label_dock_widget which in turn is derived from a QDockWidget). It's been a bit of a struggle getting these things to work in all platforms (KDE in particular) and sort out the desired behavior. Layout and spacing has been the low priority.

We can't get rid of the second title line though because that title contains the "dock" box (or double-click on the title line). Without that "dock" box there is no way of putting that floated widget back into the QMainwindow. Qt has absolutely no control over the very top title line which is part of the OS Window Manager. I think that is why they devised this secondary title bar option

Perhaps there is one trick to pursue (but I haven't the time). If the Qt layout could be shifted so that the tab area extends up into the title bar (remove the "Editor" title since it is already in the Window Manager titlebar (no guarantee of that, though, I suppose) then it might look like the dock-box is level with the tabs rather than using up its own line.

Dan Sebald <sebald>
Tue 15 May 2018 07:23:54 PM UTC, comment #1:

+1
Trimming (vertical) whitespace on today's wide-screen laptops is always a good idea IMO.
But to be honest, on my Windows boxes the excess whitespace isn't so very conspicuous.

Philip Nienhuis <philipnienhuis>
Project Member
Mon 14 May 2018 07:16:55 PM UTC, original submission:

Since recompiling with Qt5 (instead of Qt4) it seems the amount of whitespace has increased in the Editor. I was wondering if someone on the GUI side could make a "compact" option.

On my little laptop, the menus and title bars take up 40% of the useable space. This is already with small icons. They seem to be very generously surrounded with extra pixels and in fact, for me, the dock widget titlebar could be toggled off completely.

See pic.

Ceral Paquet <octavebugs>

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #44472:  editor_docked_macOS_retina.png added by apjanke (241KiB - image/png - screenshots from Octave 4.4.0 on macOS 10.13.5 with Retina display)
file #44473:  editor_undocked_macOS_retina.png added by apjanke (113KiB - image/png - screenshots from Octave 4.4.0 on macOS 10.13.5 with Retina display)
file #44157:  editor_undocked.png added by octavebugs (71KiB - image/png)

 

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 apjanke (Updated the item)
  • -email is unavailable- added by sebald (Posted a comment)
  • -email is unavailable- added by octavebugs (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 8 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-07-01 apjanke Attached File- => Added editor_docked_macOS_retina.png, #44472
        Attached File- => Added editor_undocked_macOS_retina.png, #44473
    2018-05-17 mtmiller Carbon-CopyRemoved 80942 => -
    2018-05-17 mtmiller CategoryNone => GUI
        Severity3 - Normal => 1 - Wish
        Priority5 - Normal => 3 - Low
    2018-05-15 octavebugs Attached File- => Added editor_undocked_commented.png, #44159
    2018-05-14 octavebugs Attached File- => Added editor_undocked.png, #44157

    Back to the top


    Powered by Savane 3.3