← Back to team overview

touch-packages team mailing list archive

[Bug 1460809] Re: Context menu issues if the link contains extra HTML elements

 

This is caused by how zeit.de is built on mobile devices.

The structure of the list of articles is (roughly) as follows:

span.lead
  span.supertitle
  span.lead_title
  span.lead_text
  span.author
a
  span.supertitle
  span.title
  span.teaserText
a
  span.supertitle
  span.title
  span.teaserText
…

As you can see the first article in the list is built differently from
the following ones, it doesn’t have an enclosing <a> tag, which would be
used by the context menu to determine the target (the span.lead element
probably has an onclick handler, which the context menu can’t detect).

Note that long-pressing on titles (span.title) for all articles but the
first one does show the context menu as expected. Long pressing on the
teaser text on the other hand shows the selection rectangle, because
it’s more appropriate for a text paragraph.

I’ll mark this invalid as there’s not much that can be done on the
browser side really: the way the page is built determines whether a
context menu or a selection rectangle should be shown on long press.

** Changed in: webbrowser-app
       Status: New => Invalid

** Changed in: webbrowser-app (Ubuntu)
       Status: Confirmed => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to webbrowser-app in Ubuntu.
https://bugs.launchpad.net/bugs/1460809

Title:
  Context menu issues if the link contains extra HTML elements

Status in Oxide Webview:
  Invalid
Status in Web Browser App:
  Invalid
Status in oxide-qt package in Ubuntu:
  Invalid
Status in webbrowser-app package in Ubuntu:
  Invalid

Bug description:
  How to reproduce:

      1) Open www.zeit.de on a mobile device
      2) Long-press on the first article

  Expected behaviour:

      A context menu should pop up with a "Open link in new background
  tab" option (among others).

  Actual behaviour:

      There's only a "Copy" entry in the context menu.

  
  (This happens on other sites, too.)

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


References