← Back to team overview

sikuli-driver team mailing list archive

[Bug 950603] Re: [1.1.0] Region.highlight() should not close expanded menu or drop down

 

** Description changed:

+ *********** workaround
+ 
+ use hover() instead
+ 
+ or some function like this (1.1.0+)
+ 
+ def hoverHighlight(reg, loop = 1):
+   for n in range(loop):
+     hover(reg.getTopLeft())
+     hover(reg.getTopRight())
+     hover(reg.getBottomRight())
+     hover(reg.getBottomLeft())
+     hover(reg.getTopLeft())
+ 
+ 
+ which visits the 4 corners of the region clockwise and then again the top left corner.
+ 
+ -------------------------------------------------------------------
+ 
+ 
  Hello,
  In sikuli rc3 it was noticed that, after clicking upon a drop-down button, then highlighting the expanded menu area, the highlight execution seems to close the expanded drop-down menu.
  
  This behavior was not present in rc2, where it was possible to highlight
  an expanded drop-down menu (this is the desired behavior).
  
  Would it be possible to have the highlight behavior upon an expanded
  drop down menu maintain the menu expanded during and after highlight
  execution? (in rc3)
  
  Thanks,

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/950603

Title:
  [1.1.0] Region.highlight() should not close expanded menu or drop down

Status in Sikuli:
  In Progress

Bug description:
  *********** workaround

  use hover() instead

  or some function like this (1.1.0+)

  def hoverHighlight(reg, loop = 1):
    for n in range(loop):
      hover(reg.getTopLeft())
      hover(reg.getTopRight())
      hover(reg.getBottomRight())
      hover(reg.getBottomLeft())
      hover(reg.getTopLeft())

  
  which visits the 4 corners of the region clockwise and then again the top left corner.

  -------------------------------------------------------------------

  
  Hello,
  In sikuli rc3 it was noticed that, after clicking upon a drop-down button, then highlighting the expanded menu area, the highlight execution seems to close the expanded drop-down menu.

  This behavior was not present in rc2, where it was possible to
  highlight an expanded drop-down menu (this is the desired behavior).

  Would it be possible to have the highlight behavior upon an expanded
  drop down menu maintain the menu expanded during and after highlight
  execution? (in rc3)

  Thanks,

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/950603/+subscriptions


References