bugGNU TeXmacs - Bugs: bug #53069, TeXmacs input widgets should have...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #53069: TeXmacs input widgets should have a menu and an adapted interface

Submitter:  Joris van der Hoeven <vdhoeven>
Submitted:  Mon 05 Feb 2018 02:08:12 PM UTC
   
 
Category:  Qt port Priority:  9 - Immediate
Item Group:  Error Status:  Confirmed
Privacy:  Public Assigned to:  mgubi
Originator Name:  Open/Closed:  Open
Release:  None Release: 
Fixed Release:  None Fixed Release: 
Keywords: 

Sat 31 Oct 2020 05:29:26 PM UTC, comment #3: 

Inside input widgets, we should also disable certain aspects of the user interface.  For instance, shortcuts for saving/loading files should be disabled (or at least work in a different way).

Joris van der Hoeven <vdhoeven>
Group administrator
Sat 31 Oct 2020 05:26:09 PM UTC, comment #2: 

On the Mac, I think that the right solution is to simply use the same menus as in the main window.  We next should carefully grey out those menu items that do not make any sense inside an embedded context (mainly those entries that concern file management, i.e. the File and Go menus).

On other systems, we might even have to add a menu bar to the widget or add a temporary menu bar when the user clicks inside the embedded widget.  I think that the user may want to access all features for inserting, editing, and formatting content.

Joris van der Hoeven <vdhoeven>
Group administrator
Sat 11 Apr 2020 02:05:17 PM UTC, comment #1: 

I wanted to give a shot to this. There is the similar problem that when a dialog is open there is no default main menu and this is quite ugly on Mac.  would it be possible to have menus which are meaningful when in an embedded editor or in a dialog. For dialogs even a menu without entries would be ok, since the dialog has the mouse focus, just not empty menus...

Joris, can we work out a solution for this?

Massimiliano Gubinelli <mgubi>
Group administrator
Mon 05 Feb 2018 02:08:12 PM UTC, original submission:  

The main menu is empty for TeXmacs input widgets (MacOS; what to do under Linux or Windows?).  Reminder: TeXmacs input widgets are input fields in widgets that can be edited as TeXmacs text, such as the headers and footers when doing Document -> Page, or when editing a macro using Tools -> Macros.

Of course, the precise semantics is not extremely clear.  Things like "Save" should not work in TeXmacs input widgets.  So it would be good to export a predicate 'embedded-buffer?' to Scheme for testing whether we in a TeXmacs input widget buffer, and adjust certain menus and keyboard shortcuts accordingly.

Joris van der Hoeven <vdhoeven>
Group administrator

 

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

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 mgubi (Posted a comment)
  • -email is unavailable- added by vdhoeven (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.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-10-31 vdhoeven SummaryTeXmacs input widgets have no menu TeXmacs input widgets should have a menu and an adapted interface
    2018-02-05 vdhoeven Priority5 - Normal 9 - Immediate

    Back to the top

    Powered by Savane 3.13-c373.
    Corresponding source code