Opened 6 years ago

Closed 5 years ago

#2080 closed defect (fixed)

Awkward text copy from Help Viewer (HTML widgets?)

Reported by: goddard@… Owned by: Greg Couch
Priority: normal Milestone: 1.1
Component: General Controls Version:
Keywords: Cc: Conrad Huang, Eric Pettersen, Elaine Meng
Blocked By: Blocking:
Notify when closed: Platform: all
Project: ChimeraX

Description

The following bug report has been submitted:
Platform:        Darwin-18.6.0-x86_64-i386-64bit
ChimeraX Version: 0.9 (2019-06-06)
Description
Copy and paste from the help browser on Mac does not work with the standard Mac clover-C.  

I had a vague memory that a right click context menu was needed to work around this, but doing that did not offer any choice to copy the selection.

Asking Eric I found out you have to right click on the selected text to get a menu that gives the "copy" menu entry.  No one will ever figure this out.

I'm trying to copy text from a tutorial to an email.  Clover-C has to work (also Ctrl-C on Windows) or users will hate this browser.


Log:
Startup Messages  
---  
warning | 'clip' is a prefix of an existing command 'clipper'  
  
UCSF ChimeraX version: 0.9 (2019-06-06)  
© 2016-2019 Regents of the University of California. All rights reserved.  
How to cite UCSF ChimeraX  

> isolde tutorial

> open 1a0m structureFactors true

Summary of feedback from opening 1a0m fetched from pdb  
---  
warning | No free flags detected in this dataset! Automatically generated a
new random set with 461 free from 9264 observed reflections. You should save
your data to a new MTZ file and use this for any future rebuilding/refinement.  
notes | Fetching compressed 1a0m structure factors from
http://files.rcsb.org/download/1a0m-sf.cif  
Resolution: 1.0944213038232693  
  
1a0m title:  
1.1 angstrom crystal structure of A-conotoxin [TYR15]-epi [more info...]  
  
Chain information for 1a0m  
---  
Chain | Description  
1.3/A 1.3/B | α-conotoxin [TYR15]-epi  
  
Non-standard residues in 1a0m #1.3  
---  
NH2 — amino group  
  
  

> set bgColor white

> clipper spotlight radius 15

Setting spotlight mode for model 1.3 to True  




OpenGL version: 4.1 ATI-2.9.26
OpenGL renderer: AMD Radeon Pro 580 OpenGL Engine
OpenGL vendor: ATI Technologies Inc.

Change History (5)

comment:1 by Eric Pettersen, 6 years ago

Cc: Conrad Huang added
Component: UnassignedGeneral Controls
Milestone: 1.0
Owner: set to Greg Couch
Platform: all
Project: ChimeraX
Status: newassigned
Summary: ChimeraX bug report submissionAwkward text copy from Help Viewer (HTML widgets?)

comment:2 by Greg Couch, 5 years ago

Cc: Eric Pettersen elaine added

Eric added a workaround to support copying from the log window, another ChimeraXHtmlView widget subclass. But moving that code to the base class's __init__, broke the log window and didn't help the help viewer. Tried adding the workaround to the help viewer's subclass of ChimeraXHtmlView, but that didn't work either. Recommend that someone with more Mac experience deal with this.

comment:3 by Eric Pettersen, 5 years ago

Cc: Elaine Meng added; elaine removed

comment:4 by Greg Couch, 5 years ago

Milestone: 1.01.1

This isn't going to make 1.0.

comment:5 by Eric Pettersen, 5 years ago

Resolution: fixed
Status: assignedclosed

Was able to move the log window's workaround into the base class, but had to add setContext(Qt.WidgetWithChildrenShortcut) to make it work from there.

Note: See TracTickets for help on using tickets.