[Bugs] #4638 Browse HIGH: Browse: no palettes in sugar-build
Sugar Labs Bugs
bugtracker-noreply at sugarlabs.org
Wed Feb 26 09:13:53 EST 2014
#4638: Browse: no palettes in sugar-build
---------------------+-------------------------------
Reporter: manuq | Owner:
Type: defect | Status: new
Priority: High | Milestone: Unspecified
Component: Browse | Version: Unspecified
Severity: Major | Resolution:
Keywords: | Distribution/OS: Unspecified
Bug Status: New |
---------------------+-------------------------------
\
\
\
\
\
\
Description changed by manuq:
\
Old description:
> There are no context palettes in Browse running in sugar-build.
>
> TestCase 1:
>
> - right-click a link or an image
>
> TestCase 2:
>
> - select part of the page
> - right-click the selection
>
> Expected: a contextual palette should open.
>
> This seems to be a raise condition in the webkit code. If between these
> lines a logging is added:
>
> {{{
> hit_context = hit_test.props.context
> logging.debug("TEST %r", hit_context)
> hit_info = {
> 'is link': hit_context & WebKit.HitTestResultContext.LINK,
> 'is image': hit_context & WebKit.HitTestResultContext.IMAGE,
> 'is selection': hit_context &
> WebKit.HitTestResultContext.SELECTION,
> }
> }}}
>
> The palette works well.
New description:
There are no context palettes in Browse running in sugar-build.
TestCase 1:
- right-click a link or an image
TestCase 2:
- select part of the page
- right-click the selection
Expected: a contextual palette should open.
This seems to be a race condition in the webkit code. If between these
lines a logging is added:
{{{
hit_context = hit_test.props.context
logging.debug("TEST %r", hit_context)
hit_info = {
'is link': hit_context & WebKit.HitTestResultContext.LINK,
'is image': hit_context & WebKit.HitTestResultContext.IMAGE,
'is selection': hit_context &
WebKit.HitTestResultContext.SELECTION,
}
}}}
The palette works well.
--
\
\
\
\
--
Ticket URL: <http://bugs.sugarlabs.org/ticket/4638#comment:1>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system
More information about the Bugs
mailing list