#6271 closed defect (fixed)
in techpreview Help Viewer (browser), trying to copy text gives traceback
Reported by: | Elaine Meng | Owned by: | Greg Couch |
---|---|---|---|
Priority: | moderate | Milestone: | |
Component: | Help System | Version: | |
Keywords: | Cc: | chimerax-programmers | |
Blocked By: | Blocking: | ||
Notify when closed: | Platform: | all | |
Project: | ChimeraX |
Description (last modified by )
trying to copy text from ChimeraX browser by highlighting it and using (Mac)
command-c gives a traceback. I wasn't necessarily expecting it to work, just operating on autopilot and using the method I would normally use to copy text from a browser window.
AttributeError: '_LoggingPage' object has no attribute 'Copy'
File "/Users/meng/Desktop/ChimeraX_techpreview.app/Contents/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/chimerax/ui/widgets/htmlview.py", line 203, in
self.copy_sc.activated.connect(lambda: self.page().triggerAction(self.page().Copy))
[using PyQt6]
Change History (3)
comment:1 by , 4 years ago
comment:2 by , 4 years ago
Description: | modified (diff) |
---|
comment:3 by , 4 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
As I said in comment:4:ticket:6270, QWebEnginePage moved to QtWebEngineCore. Simply importing it from the correct location allowed me to copy text with Command-C on my mac, but the context menu functionality is still broken per #6303.
Closing this ticket, as it should be fixed by this commit.
using PyQt6