bugGNU Octave - Bugs: bug #54616, ginput() fails to detect mouse...

 
 

bug #54616: ginput() fails to detect mouse events in qt toolkit

Submitter:  Tasos Papastylianou <tpapastylianou>
Submitted:  Tue 04 Sep 2018 07:56:47 AM UTC
   
 
Category:  Plotting with OpenGL Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Regression
Status:  Duplicate Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * 4.4.1 Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 04 Sep 2018 05:52:09 PM UTC, comment #4: 

Ok, closing this report as a duplicate.

In the mean time I fixed bug #51452.

Pantxo Diribarne <pantxo>
Group Member
Tue 04 Sep 2018 04:45:51 PM UTC, comment #3: 

Hi Pantxo,

it may well have been that I clicked on 'select' before testing these, and switching back and forth between toolkits simply reset the 'select' button. The only thing to check would be if the 'select' button is on by default in a fresh install, but it's more likely that I pressed it and wasn't aware of such a potential side-effect to ginput.

As such, it is likely the culprit is indeed #51452. Feel free to close as a duplicate - hopefully it might serve as a redirect to that bug; I have to say the title wasn't very search friendly for this problem.

Tasos Papastylianou <tpapastylianou>
Tue 04 Sep 2018 03:28:51 PM UTC, comment #2: 

Are you sure no tool was selected or may this be  duplicate of bug #51452?

Pantxo Diribarne <pantxo>
Group Member
Tue 04 Sep 2018 08:06:02 AM UTC, comment #1: 

To complicate matters further; I had not used fltk in my new octave installation before this.

When I switched from fltk back to qt, the bug could no longer be reproduced.

So this seems to be a bug with fresh octave installations, and somehow switching to the fltk toolkit and back seems to have permanently resolved the bug for me.

Perhaps fltk performs some sort of one-time mouse-input initialisation that was left out on qt?

Tasos Papastylianou <tpapastylianou>
Tue 04 Sep 2018 07:56:47 AM UTC, original submission:  

Please also see this stackoverflow post: https://stackoverflow.com/q/52157917/4183191

ginput fails to detect mouse events in the default GUI Qt toolkit. Keyboard events are detected as expected.

Mouse events are detected as expected when using the fltk toolkit.

Tasos Papastylianou <tpapastylianou>

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Digest:
   bug dependencies.

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by pantxo (Posted a comment)
  • -email is unavailable- added by tpapastylianou (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 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-09-04 pantxo StatusNeed Info Duplicate
        Open/ClosedOpen Closed
        Dependencies- Depends on bugs #51452
    2018-09-04 pantxo CategoryOctave Function Plotting with OpenGL
        StatusNone Need Info

    Back to the top

    Powered by Savane 3.13-bb6a.
    Corresponding source code