Changes between Initial Version and Version 1 of Ticket #4897


Ignore:
Timestamp:
10/09/2015 06:30:04 (8 years ago)
Author:
SAMdroid
Comment:

s/menu/palette/g

Sugar gets the cursor position at https://github.com/sugarlabs/sugar-toolkit-gtk3/blob/master/src/sugar3/graphics/palettewindow.py#L852

To fix this bug, we need to move this to closer to the click

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #4897 – Description

    initial v1  
    1 sometimes a menu will appear in the wrong place on screen.  this seems to happen especially when the system is under load.
     1sometimes a palette will appear in the wrong place on screen.  this seems to happen especially when the system is under load.
    22
    33however, it can be reproduced carefully on a system with no load by forging mouse actions with strict timing.
     
    77restating in standard bug report format:
    88
    9 problem: menu pops up in wrong place sometimes
     9problem: palette pops up in wrong place sometimes
    1010
    1111reproducer: right click on the centre icon, then between 10 and 40 milliseconds later move the mouse a long way from the icon.
    1212
    13 expected result: menu should be drawn where the click was captured.
     13expected result: palette should be drawn where the click was captured.
    1414
    15 observed result: menu is drawn in the new mouse location.
     15observed result: palette is drawn in the new mouse location.
    1616
    1717occurs reliably with times of up to 100 milliseconds, then becomes less reliable.
     
    2727}}}
    2828
    29 position sugar at the home view with no menu popped up.
     29position sugar at the home view with no palette popped up.
    3030reproduce the problem:
    3131
     
    3434}}}
    3535
    36 observe the location of the menu.
     36observe the location of the palette.