[Bugs] #4979 Browse UNSP: Can't copy address line from menu bar with Ctrl C

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Fri May 5 06:56:34 EDT 2017


#4979: Can't copy address line from menu bar with Ctrl C
----------------------------------------+-------------------------------
  Reporter:  FGrose                     |            Owner:
      Type:  defect                     |           Status:  new
  Priority:  Unspecified by Maintainer  |        Milestone:  Unspecified
 Component:  Browse                     |          Version:  Unspecified
  Severity:  Unspecified                |       Resolution:
  Keywords:                             |  Distribution/OS:  Fedora
Bug Status:  Unconfirmed                |
----------------------------------------+-------------------------------

Comment (by quozl):

 Thanks for the testing.  I'm able to reproduce similar.

 Four problems;
 * ctrl+c and ctrl+v sometimes don't work, depending on the entry,
 * the clipboard sometimes doesn't catch a copy or cut,
 * the clipboard sometimes catches a copy or cut but does not contain what
 was selected,
 * the clipboard always reports an error when a WebKit2 rich text selection
 is made.

 Five components at hand now;
 * GTK+,
 * the Sugar Toolkit Edit Toolbar;
 * the Sugar Frame clipboard;
 * the Browse activity, a wrapper and toolbar;
 * the WebKit2 browser, seen below the toolbar;

 It is the connection of the Edit Toolbar between the activity and WebKit2
 which causes ctrl+c to be hidden from the activity and GTK+, which is why
 the fix works.  It isn't the right fix; we had better find out why it is
 happening instead.

 The edit toolbar copy button is bound to the WebKit2 instance only, so it
 doesn't activate when the activity entry fields are selected; not just the
 location entry, but also the activity journal entry name and the search
 entry.

 The right-click context menu inside entry boxes is entirely the
 responsibility of GTK+, we didn't ask for it, and nor did WebKit2.  You
 can even find it in the activity home view search entry.

 The failure of the frame clipboard is also worth investigating.

--
Ticket URL: <https://bugs.sugarlabs.org/ticket/4979#comment:4>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system


More information about the Bugs mailing list