Menu

#790 add/remove toolbar from wxt/qt terminal

Version 6
open
nobody
None
5
4 days ago
2020-12-18
Yves Bard
No

Currently, there's no mean to disable/enable the toolbar on the qt or on wxt term. We could rebuild from source gnuplot and remove the toolbar, but is not very userfriendly. Here is a patch that does that : enable/remove the toolbar on the wxt and/or on the qt terminal. I do not have done the aqua nor the win terminal.

test on 5.4.1 version and on the main branch.

best regards,

Yves

1 Attachments

Related

Patches: #790

Discussion

  • Ethan Merritt

    Ethan Merritt - 2020-12-19

    Please explain the motivation. Why is this needed or desirable?

    Initial thoughts:

    • For the qt terminal (at least running under KDE) you can simply grab the toolbar with the mouse and drag it off to somewhere else if you don't want to see it. Is that not sufficient?

    • Again with regard to expectations under KDE, wouldn't it be more consistent with other apps to have a hot-key (e.g. ctrl-shift-M) that toggles visibility of the toolbar without disabling it completely?

     
    • Yves Bard

      Yves Bard - 2020-12-19

      Hello Ethan,

      Thanks for your response. So what s the meaning to add a fonctionality to
      remove a function that works well?
      So a short answers is : for security issue and to remove user error in
      automatic display process. Drag the toolbar do not remove the error
      possibilities.

      Long answer :
      I want to use gnuplot to plot some data on a « read only display ». The
      data are collected and a script is use to display these value to some user
      on a touch screen display. So the user could interact with the data ( zoom
      ... ) but must no try to save data or try to look into the file system.

      So if someone use gnuplot to do automatic task to plot data that could be
      seen by a lots of user ( Humm more than just the developer :) ). The UI
      theory said that what we need is something to limit the users actions: a
      really simple display. I know that I could just drag away the toolbar but
      that not what I want. I want that the user can t do anything appart
      zooming.

      I do not use KDE for that, I use Windows 10 or little system like
      beagleboard. KDE is a great desktop manager but way to powerfull to display
      just some data.

      In Windows 10 open an explorer could be a security issue in some use case.

      So I could have use a jpeg terminal or a svg terminal and display it on
      another gui, but this hack was more simple. I remove all the toolbar
      because I do not want that it could reappear accidentally.

      In my use case its a security issue, Windows 10 is way too smart and an
      explorer is just a big issue. I do not patch the win code cause I prefer Qt
      and wx. What s important is to have a display that could do that. This
      could be interesting for someone else so I post it.

      Best regards,

      Yves Bard

      Le sam. 19 déc. 2020 à 22:04, Ethan Merritt sfeam@users.sourceforge.net a
      écrit :

      Please explain the motivation. Why is this needed or desirable?

      Initial thoughts:

      -

      For the qt terminal (at least running under KDE) you can simply grab
      the toolbar with the mouse and drag it off to somewhere else if you don't
      want to see it. Is that not sufficient?
      -

      Again with regard to expectations under KDE, wouldn't it be more
      consistent with other apps to have a hot-key (e.g. ctrl-shift-M) that
      toggles visibility of the toolbar without disabling it completely?


      Status: open
      Group: Version 5
      Created: Fri Dec 18, 2020 04:15 PM UTC by Yves Bard
      Last Updated: Fri Dec 18, 2020 04:15 PM UTC
      Owner: nobody
      Attachments:

      Currently, there's no mean to disable/enable the toolbar on the qt or on
      wxt term. We could rebuild from source gnuplot and remove the toolbar, but
      is not very userfriendly. Here is a patch that does that : enable/remove
      the toolbar on the wxt and/or on the qt terminal. I do not have done the
      aqua nor the win terminal.

      test on 5.4.1 version and on the main branch.

      best regards,

      Yves

      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/gnuplot/patches/790/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/

       

      Related

      Patches: #790


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.