bugGNU Octave - Bugs: bug #46049, ButtonDownFcn callback of an image

 
 

bug #46049: ButtonDownFcn callback of an image

Submitted by:  Guillaume <gyom>
Submitted on:  Thu 24 Sep 2015 06:05:40 PM UTC  
 
Category: Plotting with OpenGLSeverity: 3 - Normal
Priority: 5 - NormalItem Group: None
Status: FixedAssigned to: None
Originator Name: GuillaumeOpen/Closed: Closed
Release: devOperating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sun 27 Sep 2015 05:15:46 PM UTC, comment #5:

Thanks Philip, I pushed the patch on stable:

http://hg.savannah.gnu.org/hgweb/octave/rev/7395fdd45d5f

Closing report.

Pantxo Diribarne <pantxo>
Project Member
Sun 27 Sep 2015 04:30:40 PM UTC, comment #4:

With the patch it works fine for me on Linux (Magei-4 64b) & Windows 7 (64b)

Philip Nienhuis <philipnienhuis>
Project Member
Sat 26 Sep 2015 09:05:07 AM UTC, comment #3:

Hi,

Can one of you test the patch I attached before I push it? Thanks

(file #34982)

Pantxo Diribarne <pantxo>
Project Member
Fri 25 Sep 2015 05:32:12 PM UTC, comment #2:

I have a simple fix that I'll push soon. I am surprised that it may currently ever work ...

Pantxo Diribarne <pantxo>
Project Member
Fri 25 Sep 2015 12:13:31 PM UTC, comment #1:

On my Win7 desktop, Octave hangs if this is the first command sequence after booting up the system.

After having tried with rand(2, 2) (which works fine), and trying again with rand(1, 2), it works fine and fast (no delays).
After restarting Octave the initial delay is gone and all works fine as well.

Hmmmm intruiging

Philip Nienhuis <philipnienhuis>
Project Member
Thu 24 Sep 2015 06:05:40 PM UTC, original submission:

I observe this on my laptop but not on my desktop, so I'm curious what others see: in the following code, the ButtonDownFcn callback is not triggered when one of the dimensions of the image is 1, but it works fine again as soon as dimensions are all greater than 1.

Guillaume <gyom>

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #34982:  fix_image1px_select.patch added by pantxo (1KiB - text/x-diff)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by pantxo (Posted a comment)
  • -unavailable- added by gyom (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

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

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 27 Sep 2015 05:15:46 PM UTCpantxoStatusPatch Submitted=>Fixed
      Open/ClosedOpen=>Closed
    Sun 27 Sep 2015 02:15:26 PM UTCpantxoStatusNone=>Patch Submitted
    Sat 26 Sep 2015 09:05:07 AM UTCpantxoAttached File-=>Added fix_image1px_select.patch, #34982

    Back to the top


    Powered by Savane 3.1-cleanup1