Opened 5 years ago

Closed 5 years ago

#3409 closed defect (duplicate)

Problem with locale when checking registration

Reported by: tony.schaefer@… Owned by: Conrad Huang
Priority: normal Milestone:
Component: Infrastructure Version:
Keywords: Cc: Greg Couch
Blocked By: Blocking:
Notify when closed: Platform: all
Project: ChimeraX

Description

The following bug report has been submitted:
Platform:        Windows-10-10.0.17763
ChimeraX Version: 1.1.dev202006160039 (2020-06-16 00:39:59 UTC)
Description
I can't always see undocked tools or the molecule window when I start chimerax with the initial window size set to 'full screen'. Taking a screen shot or alt-tabbing does cause everything to appear for a few seconds, but then it all goes away again. I also can't see the dropdown menu when I click the ribbon options (i.e. Presets or Help). 

I've attached a screen shot and a photo taken a few moments apart. The photo is what I can see. I can't see the tool or the molecule, which are in the screen shot (and should be visible). 

Log:
Startup Errors  
---  
error | Bundle 'ChimeraX-Registration' custom initialization failed  
warning | Traceback (most recent call last):  
File "D:\ChimeraX 1.1.dev202006160039\bin\lib\site-
packages\chimerax\core\toolshed\info.py", line 342, in initialize  
api._api_caller.initialize(api, session, self)  
File "D:\ChimeraX 1.1.dev202006160039\bin\lib\site-
packages\chimerax\core\toolshed\\__init__.py", line 1599, in initialize  
return cls._get_func(api, "initialize")(session, bi)  
File "D:\ChimeraX 1.1.dev202006160039\bin\lib\site-
packages\chimerax\registration\\__init__.py", line 41, in initialize  
nag(session)  
File "D:\ChimeraX 1.1.dev202006160039\bin\lib\site-
packages\chimerax\registration\nag.py", line 32, in nag  
if not check_registration(logger=session.logger):  
File "D:\ChimeraX 1.1.dev202006160039\bin\lib\site-
packages\chimerax\registration\nag.py", line 54, in check_registration  
return _check_expiration(param, logger)  
File "D:\ChimeraX 1.1.dev202006160039\bin\lib\site-
packages\chimerax\registration\nag.py", line 136, in _check_expiration  
expires = _expiration_time(param)  
File "D:\ChimeraX 1.1.dev202006160039\bin\lib\site-
packages\chimerax\registration\nag.py", line 157, in _expiration_time  
locale.setlocale(locale.LC_TIME, "en_US.UTF-8")  
File "D:\ChimeraX 1.1.dev202006160039\bin\lib\locale.py", line 608, in
setlocale  
return _setlocale(category, locale)  
locale.Error: unsupported locale setting  
  

> cd "C:\Users\Tony Schaefer/Desktop"

Current working directory is: C:\Users\Tony Schaefer\Desktop  
UCSF ChimeraX version: 1.1.dev202006160039 (2020-06-16)  
© 2016-2020 Regents of the University of California. All rights reserved.  
How to cite UCSF ChimeraX  




OpenGL version: 3.3.0 NVIDIA 445.75
OpenGL renderer: GeForce RTX 2070/PCIe/SSE2
OpenGL vendor: NVIDIA Corporation
Manufacturer: To Be Filled By O.E.M.
Model: To Be Filled By O.E.M.
OS: Microsoft Windows 10 Education (Build 17763)
Memory: 17,107,533,824
MaxProcessMemory: 137,438,953,344
CPU: 16 AMD Ryzen 7 2700X Eight-Core Processor         "
PyQt version: 5.12.3
Compiled Qt version: 5.12.4
Runtime Qt version: 5.12.8
File attachment: full screen.zip

full screen.zip

Attachments (1)

full screen.zip (2.9 MB ) - added by tony.schaefer@… 5 years ago.
Added by email2trac

Change History (10)

by tony.schaefer@…, 5 years ago

Attachment: full screen.zip added

Added by email2trac

comment:1 by pett, 5 years ago

Component: UnassignedUI
Owner: set to pett
Platform: all
Project: ChimeraX
Status: newaccepted
Summary: ChimeraX bug report submissionProblem in full-screen mode

comment:2 by pett, 5 years ago

Cc: Tom Goddard added
Resolution: can't reproduce
Status: acceptedclosed

I can't reproduce either of the problems you're having: blank graphics window; floating tools not visible. It much be something specific your Mac OS or hardware. Nonetheless I have no doubt they are actually occurring on your machine, so hopefully the "maximized" option I just mentioned on chimerax-users will work better for you.

in reply to:  4 comment:3 by goddard@…, 5 years ago

On Windows 10 with June 17 2020  ChimeraX using the fullscreen setting I get the same bad results as Tony.  The graphics is gray, no commands or mouse rotation change that.  Also the main window menus don't display.  When I drag out the Log panel then the graphics appears, menus work, and the log panel is visible.  Redocking the log panel and graphics is back to gray with broken menus.  Closing the log panel when dragged out leaves the graphics working for a little while, then it goes gray.  Also the Windows Taskbar (bottom of screen like Mac Dock) is not accessible.  Hovering mouse at edges of screen does nothing.  There appears to be no way to get out of fullscreen other than maybe ctrl-tab, alt-tab (did not try these, I just quit).

Basically fullscreen looks pretty broken on Windows, very likely a Qt bug.  I don't think this option should be offered on Windows.


in reply to:  5 ; comment:4 by goddard@…, 5 years ago

A few more details about the full screen bugs on Windows 10.

Graphics goes gray even when the Log or Model Panel is dragged out to a separate top level window, and those separate windows disappear.  The display is correct when a tool is first dragged out but then clicking the mouse in the graphics pane and moving the the mouse (no button held) out of the graphics pane causes the bad behavior.  Or simply clicking in the command-line reverts to gray graphics.

comment:5 by pett, 5 years ago

As per the mail I just sent to chimerax-users, I have withdrawn "full screen" in favor of just "maximized". It was probably confusing what difference was between them anyway.

comment:6 by pett, 5 years ago

Cc: Greg Couch added; Tom Goddard removed
Component: UIInfrastructure
Resolution: can't reproduce
Status: closedreopened
Summary: Problem in full-screen modeProblem with locale when checking registration

comment:7 by pett, 5 years ago

Owner: changed from pett to Conrad Huang
Status: reopenedassigned

Repurposing this ticket since it also show a problem with registration in the current daily build

in reply to:  9 comment:8 by tony.schaefer@…, 5 years ago

I have a separate ticket for the locale issue (#3306)
________________________________
From: ChimeraX <ChimeraX-bugs-admin@cgl.ucsf.edu>
Sent: Wednesday, June 17, 2020 8:44 PM
Cc: conrad@cgl.ucsf.edu <conrad@cgl.ucsf.edu>; gregc@cgl.ucsf.edu <gregc@cgl.ucsf.edu>; pett@cgl.ucsf.edu <pett@cgl.ucsf.edu>; Anthony James Schaefer <tony.schaefer@uga.edu>
Subject: Re: [ChimeraX] #3409: Problem with locale when checking registration

[EXTERNAL SENDER - PROCEED CAUTIOUSLY]


#3409: Problem with locale when checking registration
--------------------------------------+--------------------------
          Reporter:  tony.schaefer@…  |      Owner:  Conrad Huang
              Type:  defect           |     Status:  assigned
          Priority:  normal           |  Milestone:
         Component:  Infrastructure   |    Version:
        Resolution:                   |   Keywords:
        Blocked By:                   |   Blocking:
Notify when closed:                   |   Platform:  all
           Project:  ChimeraX         |
--------------------------------------+--------------------------
Changes (by Eric Pettersen):

 * owner:  Eric Pettersen => Conrad Huang
 * status:  reopened => assigned


Comment:

 Repurposing this ticket since it also show a problem with registration in
 the current daily build

--
Ticket URL: <https://plato.cgl.ucsf.edu/trac/ChimeraX/ticket/3409#comment:7>
ChimeraX <http://www.rbvi.ucsf.edu/chimerax/>
ChimeraX Issue Tracker

comment:9 by pett, 5 years ago

Resolution: duplicate
Status: assignedclosed

I was under the misapprehension that there had already been a fix applied (and that therefore the fact that it was still occurring was news). Thanks for updating me.

--Eric

Note: See TracTickets for help on using tickets.