Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(646)

Issue 10702085: Improved UI for data preview copy/paste (dartbug.com/2197). (Closed)

Created:
8 years, 5 months ago by pquitslund
Modified:
8 years, 5 months ago
Reviewers:
devoncarew, danrubel
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Improved UI for data preview copy/paste (dartbug.com/2197). As per the conversation on dartbug.com/2197 this adds a context menu to the About Box and Log preview. Committed: https://code.google.com/p/dart/source/detail?r=9375

Patch Set 1 #

Patch Set 2 : #

Total comments: 3

Messages

Total messages: 5 (0 generated)
pquitslund
8 years, 5 months ago (2012-07-03 18:16:12 UTC) #1
pquitslund
8 years, 5 months ago (2012-07-03 18:28:47 UTC) #2
devoncarew
lgtm http://codereview.chromium.org/10702085/diff/2001/editor/tools/plugins/com.google.dart.tools.deploy/src/com/google/dart/tools/ui/actions/CopyDetailsToClipboardAction.java File editor/tools/plugins/com.google.dart.tools.deploy/src/com/google/dart/tools/ui/actions/CopyDetailsToClipboardAction.java (right): http://codereview.chromium.org/10702085/diff/2001/editor/tools/plugins/com.google.dart.tools.deploy/src/com/google/dart/tools/ui/actions/CopyDetailsToClipboardAction.java#newcode98 editor/tools/plugins/com.google.dart.tools.deploy/src/com/google/dart/tools/ui/actions/CopyDetailsToClipboardAction.java:98: "There was a problem when accessing the system ...
8 years, 5 months ago (2012-07-03 18:48:53 UTC) #3
danrubel
lgtm https://chromiumcodereview.appspot.com/10702085/diff/2001/editor/tools/plugins/com.google.dart.tools.deploy/src/com/google/dart/tools/ui/actions/CopyDetailsToClipboardAction.java File editor/tools/plugins/com.google.dart.tools.deploy/src/com/google/dart/tools/ui/actions/CopyDetailsToClipboardAction.java (right): https://chromiumcodereview.appspot.com/10702085/diff/2001/editor/tools/plugins/com.google.dart.tools.deploy/src/com/google/dart/tools/ui/actions/CopyDetailsToClipboardAction.java#newcode98 editor/tools/plugins/com.google.dart.tools.deploy/src/com/google/dart/tools/ui/actions/CopyDetailsToClipboardAction.java:98: "There was a problem when accessing the system ...
8 years, 5 months ago (2012-07-03 18:58:43 UTC) #4
pquitslund
8 years, 5 months ago (2012-07-03 19:15:58 UTC) #5
Thanks!

http://codereview.chromium.org/10702085/diff/2001/editor/tools/plugins/com.go...
File
editor/tools/plugins/com.google.dart.tools.deploy/src/com/google/dart/tools/ui/actions/CopyDetailsToClipboardAction.java
(right):

http://codereview.chromium.org/10702085/diff/2001/editor/tools/plugins/com.go...
editor/tools/plugins/com.google.dart.tools.deploy/src/com/google/dart/tools/ui/actions/CopyDetailsToClipboardAction.java:98:
"There was a problem when accessing the system clipboard.\nRetry?")) {
On 2012/07/03 18:58:43, danrubel wrote:
> On 2012/07/03 18:48:53, devoncarew wrote:
> > Looks good, although I think just presenting an error dialog works too (w/o
> > asking them to retry).
> 
> Agreed... unless there is an overriding reason to facilitate a retry.

I've seen this retry idiom used elsewhere in the eclipse platform bits so I
thought I'd follow suit.  My preference in general is for a retry if there's any
chance of success.  FWIW: I remember having issues in the past where OS
clipboard access was temporarily locked but haven't seen it in a while.  It's
possible that this code is more relevant to older OSes and may be a tad
gratuitous in the modern age.  In any event, we can certainly tweak it....

Powered by Google App Engine
This is Rietveld 408576698