bugGNU Octave - Bugs: bug #65835, [Feature Request] qt figure...

 
 

bug #65835: [Feature Request] qt figure created by imshow or imagesc to show value at mouse cursor in status bar next to coordinates

Submitter:  Jan Hieronymus <xyhausen>
Submitted:  Tue 04 Jun 2024 07:17:47 PM UTC
   
 
Category:  Plotting with OpenGL Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Feature Request
Status:  None Assigned to:  None
Originator Name:  Open/Closed:  * Open
Release:  * 9.1.0 Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Post a Comment

Add a New Comment Rich Markup
   

Discussion

Tue 04 Jun 2024 07:17:47 PM UTC, original submission:  

When displaying an image with the qt graphical toolkit, the coordinates of the mouse pointer are displayed in the status bar in the bottom left corner of the window as a string with the format "(%1, %2)".

It would be very much appreciated (also by others, e.g. https://stackover ... n-octave#32973209), if the data value under the mouse pointer would also be displayed in the status bar, e.g. with the format "(%1, %2): %3" (or something that resembles the Matlab behaviour).

It appears, the function "Figure::updateStatusBar" (in file "libgui/graphics/Figure.cc") is called from "Canvas::canvasMouseMoveEvent" (in file "libgui/graphics/Canvas.cc") to update the status bar of the figure window.
Unfortunately, I could not figure out, how to access the image data matrix of the figure to grab the pixel value, otherwise, I would have suggested a patch.

Jan Hieronymus <xyhausen>

 

Attached Files

This item currently has no attached files.

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

Attach Files:
   
   
Comment:
   

 

Dependencies

This item does not depend on any other items.

No items depend on this one.

 

Mail Notification Carbon-Copy List

Carbon-Copy List
  • -email is unavailable- added by xyhausen (Submitted the item)
  •  

    Votes

    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.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

    History

    No changes have been made to this item

    Back to the top

    Powered by Savane 3.16-598c.
    Corresponding source code