Changes between Initial Version and Version 1 of Ticket #16865, comment 16


Ignore:
Timestamp:
Jul 8, 2025, 6:57:18 PM (4 months ago)
Author:
Tom Goddard

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #16865, comment 16

    initial v1  
    11One further improvement for the Acer and Sony 3D displays that I would like to make is to have mouse hover show the atom or residue under the mouse on the 3D display as it does on the normal 2D graphics panel.  I tried this but the mouse hover code specifically looks for mouse cursor positions (QCursor.pos()) over the main graphics pane so it does not detect hover on the 3D displays.  It will require some changes to the hover code to allow it to work with the 3D displays.
     2
     3I tried making the hover code place popup labels on the Acer display and was unable to get them to appear on top of the graphics.  I sometimes see them flash briefly.  Also dragging the ChimeraX window to the Acer display puts it below the graphics and invisible.  And tool tips from the Toolbar don't appear either.  I tried the Qt.WindowStaysOnTop flag and Qt.WA_AlwaysStackOnTop attribute on the popup Tooltip that shows atom specs but neither helped.
     4
     5Probably the tooltip popup would appear on the Sony display.  But I think the appearance will be unpleasant because it does not have the correct depth.  So I experimented using the Label right mouse mode.  This shows the labels with correct depth and looked good.  And it had the advantage that the labels remain when rotated and are cleared manually by clicking on the background.  The one drawback was that the white text on black background was a bit hard to read.  Making a black label background improved legibility a lot.  It would be nice to add a mouse mode option for label to set the background color.  Might be desirable to set the right mouse mode to label with black background when openxr display is enabled.