Opened 8 years ago
Closed 8 years ago
#889 closed defect (fixed)
GUI not resizing
| Reported by: | Owned by: | Eric Pettersen | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Sessions | Version: | |
| Keywords: | Cc: | Tom Goddard, Greg Couch | |
| Blocked By: | Blocking: | ||
| Notify when closed: | Platform: | all | |
| Project: | ChimeraX |
Description
Hello, I have just discovered ChimeraX and started playing around with the daily build (MacOSX) - it is wonderful! However, after working normally for a few sessions - now the GUI interface opens with very large dimensions (larger than the screen on my computer), and the width can not be resized (e.g., by grabbing the edge of the GUI and dragging with mouse). Of note, the hight is adjustable, but not the width. Of additional note - the issue first occurred while recording a movie. I noticed during the recording, that the image frames in the viewing window became zoomed in very far (as compared to the view point within the gui prior to starting record). Then after quitting the program and trying to re-start the session, the entire GUI was enlarged and not able to fix it. I have tried starting a new session, also a different session that was working properly, and I have tried a re-install, but none of these attempts fixed the problem. Any further suggestions would be great! Thanks, SR -- *––––––––––––––––––––––––––**––––**–**–* *Steve Reichow, PhD* Assistant Professor Department of Chemistry Portland State University Portland, OR 97201 503-725-7766 - office 503-725-7706 - lab *www.pdx.edu/reichowlab <http://www.pdx.edu/reichowlab>* ------------------------------------------------------ Affiliate Assistant Professor Dept. Biochemistry & Molecular Biology Oregon Health and Science University *––––––––––––––––––––––––––**––––**–**–*
Attachments (2)
Change History (16)
comment:1 by , 8 years ago
| Cc: | added |
|---|---|
| Component: | Unassigned → Sessions |
| Owner: | set to |
| Platform: | → all |
| Project: | → ChimeraX |
| Status: | new → accepted |
comment:2 by , 8 years ago
| Status: | accepted → feedback |
|---|
comment:3 by , 8 years ago
| Status: | feedback → accepted |
|---|
Reply from Steve:
HI Eric, thanks for your response!
I have attached the session that started the reported issue... Although - I have since accidentally saved the session without any models open... However, it still opens up very large. As does any new session I try to start.
Also, to address your question. This work was all done on my laptop, and not on a different device.
I will make the fix to the /gsession.py file as you suggest.
Thanks again -
SR
comment:4 by , 8 years ago
I guess I find the "session" terminology ambiguous, so I have a few questions:
1) When you initially start up ChimeraX, does it start with a normal size or the weird wide size?
2) When you save (any) session from the normal size, it restores as the weird size?
3) You can never resize the width? (I can resize the width when I restore your session)
--Eric
follow-up: 5 comment:5 by , 8 years ago
Hi Eric, see repsonses below: *Response to Questions:* 1) When you initially start up ChimeraX, does it start with a normal size or the weird wide size? *- No, initial startup is very large GUI* 2) When you save (any) session from the normal size, it restores as the weird size? *- N/A, I have not been able to open any session at the normal size since this issue has started.* 3) You can never resize the width? (I can resize the width when I restore your session) *- Correct, I can never resize the width to a small dimension (I can make it bigger, but not smaller).* Also, I was not able to locate the gsession.py file as you instructed to fix this issue... *Instructions:* edit ChimeraX.app/Contents/lib/python3.6/site-packages/chimerax/core/graphics/gsession.py, line 64 and insert a '#' in front of the window_size() call However, when I go to: ChimeraX.app/Contents/ There is not a /lib/ folder in my directory (see screenshot1 attached). I have found a /Resource/ folder within /Contents/ which leads me to the /site-packages/ folder, but then there is no chimerax folder... (see screenshot2 attached). On Wed, Oct 18, 2017 at 10:53 AM, ChimeraX <ChimeraX-bugs-admin@cgl.ucsf.edu
comment:6 by , 8 years ago
I'll a more detailed response later, but briefly about not finding the file: you were looking in Chimera.app, not ChimeraX.app!
--Eric
comment:7 by , 8 years ago
Actually, if the interface is starting out that size, then I don't think my suggested change will actually help.
--Eric
comment:8 by , 8 years ago
Instead, edit:
ChimeraX.app/Contents/lib/python3.6/site-packages/chimerax/core/ui/gui.py
and on line 303 insert a '#' in front of the self.resize() call
Does that get ChimeraX to start up at a decent size? Also, is your system a single display or dual displays?
--Eric
comment:9 by , 8 years ago
Hi Eric - thanks for catching my error! I have tried both of the edits you suggest, but neither did anything to correct the problem. I have been working with just a single display (laptop). On Wed, Oct 18, 2017 at 3:00 PM, ChimeraX <ChimeraX-bugs-admin@cgl.ucsf.edu> wrote:
comment:10 by , 8 years ago
Okay, run this command (at the Unix shell) and let me know what the output is: plutil -p ~//Library/Preferences/edu.ucsf.cgl.ChimeraX.plist Then remove that file (~//Library/Preferences/edu.ucsf.cgl.ChimeraX.plist) and let me know if that helps. —Eric
follow-up: 9 comment:11 by , 8 years ago
Okay, we have a working theory as to what this problem is. Try removing this file and see if that makes things better:
~/Library/Caches/ChimeraX/command line
(there's a space in the file name, so you will either have to put quotes around it or remove it with the Finder)
--Eric
follow-up: 10 comment:12 by , 8 years ago
| Status: | accepted → feedback |
|---|
comment:13 by , 8 years ago
That was it, wonderful! ...I am excited to get back to playing with all the new ChimeraX features - thanks for your time & effort on this!! Cheers- SR On Thu, Oct 19, 2017 at 3:54 PM, ChimeraX <ChimeraX-bugs-admin@cgl.ucsf.edu> wrote:
Hi Steve,
--Eric