bugGNU Octave - Bugs: bug #61792, debugger changes font in GUI

 
 

bug #61792: debugger changes font in GUI

Submitter:  Hartmut <hardy>
Submitted:  Tue 11 Jan 2022 08:59:28 AM UTC
   
 
Category:  GUI Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  Fixed Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * 7.0.90 Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 11 Jan 2022 08:23:03 PM UTC, comment #2: 

I have pushed cset http://hg.savannah.gnu.org/hgweb/octave/rev/754ad6e9c0a5 that removes the change of the tooltip font in debug mode. I dod not find a simple way (i.e. safe for the stable branch just before a release) to limit the font change to tooltip within the edit area. Thus can be re-implemented later in the default branch.

Torsten Lilge <ttl>
Group Member
Tue 11 Jan 2022 06:26:22 PM UTC, comment #1: 

Good catch! This behavior was introduced with the feature that hovering with the mouse over a variable on the editor in debug mode, the value of the variable is shown in a tooltip. For this, the tooltip font is changed to the current lexer font (most propably a fixed width font) and changed back when leaving the debug mode.

I will look for a way to limit the font change to the edit area or include the font formatting in the tooltip text itself if possible.

Torsten Lilge <ttl>
Group Member
Tue 11 Jan 2022 08:59:28 AM UTC, original submission:  

Here in an akward behavior, that I observed with Octave 7.0.90 under Windows. (I do not know yet if it also happens under linux.)

Here is how to reproduce it:

  • start the Octave (7.0.90) GUI.
  • let your mouse "hover" a while above a GUI icon, e.g. the scissor symbol for "cut". remember (or screenshot) how the font of the tooltip text looks like
  • start to debug, e.g. by those commands: dbstop plot 223, plot(1:10)
  • "hover" your mouse pointer again above on of the GUI icons, look at the font of the appearing text.


I observe a changed font of those appearing tooltip texts. This seems wrong to me.

Sometimes the changed font persists, after stopping the debugger, but sometimes it returns to normal afterwards.

(I have also observed other peculiarities with the debugger under Octave 7.0.90, but couldn't pin point a reproducible example, yet...)

Hartmut <hardy>

 

(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 ttl (Posted a comment)
  • -email is unavailable- added by hardy (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
    2022-01-11 ttl StatusNone Fixed
        Open/ClosedOpen Closed
        Operating SystemMicrosoft Windows Any

    Back to the top

    Powered by Savane 3.13-4b48.
    Corresponding source code