Opened 11 years ago

Last modified 9 years ago

#4638 closed defect

Browse: no palettes in sugar-build — at Version 1

Reported by: manuq Owned by:
Priority: High Milestone: Unspecified
Component: Browse Version: Unspecified
Severity: Major Keywords:
Cc: Distribution/OS: Unspecified
Bug Status: New

Description (last modified by manuq)

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.

Change History (1)

comment:1 Changed 10 years ago by manuq

  • Description modified (diff)
Note: See TracTickets for help on using tickets.