Opened 11 years ago
Last modified 9 years ago
#4166 new defect
Long press timeout 'feels' longer than 0.5 seconds
Reported by: | erikos | Owned by: | erikos |
---|---|---|---|
Priority: | High | Milestone: | Unspecified |
Component: | Sugar | Version: | 0.97.x |
Severity: | Major | Keywords: | r? |
Cc: | manuq, humitos | Distribution/OS: | OLPC |
Bug Status: | Unconfirmed |
Description
Compare:
- do a long press in the Home View on one of the activity icons
- do a long press in the Journal list view on an activity icon
For the latter you have to hold the finger down longer for the Palette to appear. The timeout in the code is the same.
Seen with 0.97.9
Attachments (1)
Change History (11)
comment:1 Changed 11 years ago by erikos
- Cc manuq added
comment:2 follow-up: ↓ 4 Changed 11 years ago by humitos
comment:3 Changed 11 years ago by humitos
- Cc humitos added
comment:4 in reply to: ↑ 2 Changed 11 years ago by humitos
Replying to humitos:
Trying to reproduce this bug I found this traceback:
This traceback is because sometimes CellRendererInvoker.__long_pressed_event_cb is called without a previous call to CellRendererInvoker.__motion_notify_event_cb where the self.path is set to some value different from None.
This is possible just using touchscreen.
Changed 11 years ago by humitos
comment:5 Changed 11 years ago by humitos
- Keywords r? added
The patch attached fixes the issue with the traceback from comment:2.
comment:6 Changed 10 years ago by dnarvaez
- Component changed from sugar-toolkit-gtk3 to Sugar
comment:7 Changed 10 years ago by dnarvaez
- Milestone changed from 0.98 to Unspecified
comment:8 Changed 10 years ago by dnarvaez
- Bug Status changed from Assigned to Unconfirmed
comment:9 Changed 10 years ago by dnarvaez
- Priority changed from Urgent to Normal
comment:10 Changed 9 years ago by godiard
- Priority changed from Normal to High
Note: See
TracTickets for help on using
tickets.
Trying to reproduce this bug I found this traceback:
I not sure why I'm getting this error or how to reproduce it. It happens mainly at startup and not even over the same Journal entry the second time.