bugGNU Octave - Bugs: bug #57635, Editor often has focus but no...

 
 

bug #57635: Editor often has focus but no cursor until clicking elsewhere and then clicking in editor

Submitted by:  Philip Nienhuis <philipnienhuis>
Submitted on:  Sun 19 Jan 2020 02:28:01 PM UTC  
 
Category:  GUI Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Unexpected Error
Status:  None Assigned to:  None
Originator Name:  Philip Nienhuis Open/Closed:  Open
Release:  dev Operating System:  Microsoft Windows

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)

Mon 20 Jan 2020 01:55:41 PM UTC, comment #8: 

Editor on same screen makes no difference.
It's just that there's no cursor, selecting words by double-clicking works (and copy-paste to somewhere else as well).

Philip Nienhuis <philipnienhuis>
Project Member
Mon 20 Jan 2020 05:28:33 AM UTC, comment #7: 

I can not reproduce this on my virtual windows machine. But I have no second screen. Does this issue also show up when the editor is on the same screen as the main window?

Torsten Lilge <ttl>
Project Member
Sun 19 Jan 2020 08:41:44 PM UTC, comment #6: 

I just noted that also files that are not in a private dir behave the same.
So it is opening through the Recent Editor files list that leads to the buggy behavior.

Philip Nienhuis <philipnienhuis>
Project Member
Sun 19 Jan 2020 08:36:52 PM UTC, comment #5: 

Mru list - isn't that the Recent Editor files list?

Philip Nienhuis <philipnienhuis>
Project Member
Sun 19 Jan 2020 08:07:32 PM UTC, comment #4: 

Reply to comment #3: How do you open the m-file in the private dir, with the open file dialog or via the mru list?

Torsten Lilge <ttl>
Project Member
Sun 19 Jan 2020 05:56:33 PM UTC, comment #3: 

By coincidence I found one that's relatively reliable here:

I got some <share>/octave/m/6.0.0/m/pkg/private/*.m functions in the Recent Editor files list. Opening one of those, while not in the pertinent private dir, leads to this phenomenon.

Philip Nienhuis <philipnienhuis>
Project Member
Sun 19 Jan 2020 05:51:35 PM UTC, comment #2: 

I have the undocked editor pane usually on a second monitor, that's the layout when Octave starts here.
It's when I do s/th like "edit <function>" or "edit <function>.m" that I often see that the editor has focus but no cursor response.
AFAIR the nr. of editor tabs makes no difference, IIRC it already happens with just one tab.

Oh to be complete (maybe it matters): I usually close the default empty tab when Octave starts, I don't like the bright white pane staring at me when there's nothing to edit, I find the empty gray pane less obtrusive.
And I also often have private functions in other tabs, maybe that matters as well?

As I wrote, it's hard to pinpoint a reliable way to reproduce the bug.

Philip Nienhuis <philipnienhuis>
Project Member
Sun 19 Jan 2020 03:23:49 PM UTC, comment #1: 

Philip, can you narrow the cases where the editor but not the active editor tab has focus by the way the editor gained focus (Ctrl-4, menu entry, edit file, ...)?

Torsten Lilge <ttl>
Project Member
Sun 19 Jan 2020 02:28:01 PM UTC, original submission:  

(sorry for my perhaps bad wording in title)

On Windows I often find that the GUI editor with a loaded file has focus but no text cursor and clicking inside he text does not help.
In such a case I can only get a text cursor after clicking anywhere else than in the editor pane, and then click in the editor.

Perhaps related:
When clicking on of the menu items in the Editor's main meny toolbar (e.g., "File") and shift the mouse cursor down to an item with a submenu (e.g., "Recent Editor Files"), the contours of a popup to the right of that item show up but the popup is merely greyed (whited) out until I move the mouse cursor just a tiny little bit. Only then the popup contents are shown.

It could be that some local settings are at play here (delayed focus and hover in the Windows registry) but Octave is the only program that shows the behavior described above.

Philip Nienhuis <philipnienhuis>
Project Member

 

(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 philipnienhuis (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.

     

     

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-01-19 philipnienhuis SummaryEditor often has focus but no cursor until clicked elsewhere and then clicked in editor => Editor often has focus but no cursor until clicking elsewhere and then clicking in editor

    Back to the top


    Powered by Savane 3.5