Hello chimerax-users, I recently started using ChimeraX in more custom ways for specific analyses, for which I need several tools displayed at once. I need some docked and others floating. So the "Save tool position" option is very helpful. However, it saves window size only for floating tools, not docked ones, so I have to resize the docked tools at every restart (their position is saved correctly, but not their size relative to the main ChimeraX window). This happens for the model panel and log, that I have docked to the right of the 3D display: they systematically start much wider than I want (and than I resized them to last time I started ChimeraX). This doesn't happen for a custom button panel that I have docked to the right of the toolbar (but maybe because the command file generating the panel sets a fixed size explicitly?). I have not checked whether this happens with other tools. Is this normal behavior? If so, is there any way I can make docked tools remember not only their position but also their size? A quick search in the documentation didn't answer this question. Thank you, Guillaume När du har kontakt med oss på Uppsala universitet med e-post så innebär det att vi behandlar dina personuppgifter. För att läsa mer om hur vi gör det kan du läsa här: http://www.uu.se/om-uu/dataskydd-personuppgifter/ E-mailing Uppsala University means that we will process your personal data. For more information on how this is performed, please read here: http://www.uu.se/en/about-uu/data-protection-policy
Hi Guillaume, As you have observed, for docked tools ChimeraX only preserves which side the tool was docked to and whether it was tabbed with other tools. It might be possible to preserve the size as well, but the initial tool-placement code is pretty complex and I'm not 100% sure that the Qt call (QMainWindow::resizeDocks) will actually produce the desired outcome. There are also issues with producing the desired graphics window size from the user's preferences and when restoring from a session. Nonetheless, I will open a enhancement-request ticket in our bug-tracking database, with you cc'ed, and will try to find time to investigate soonish. --Eric Eric Pettersen UCSF Computer Graphics Lab
On Feb 13, 2024, at 12:46 AM, Guillaume Gaullier via ChimeraX-users <chimerax-users@cgl.ucsf.edu> wrote:
Hello chimerax-users,
I recently started using ChimeraX in more custom ways for specific analyses, for which I need several tools displayed at once. I need some docked and others floating. So the "Save tool position" option is very helpful. However, it saves window size only for floating tools, not docked ones, so I have to resize the docked tools at every restart (their position is saved correctly, but not their size relative to the main ChimeraX window). This happens for the model panel and log, that I have docked to the right of the 3D display: they systematically start much wider than I want (and than I resized them to last time I started ChimeraX). This doesn't happen for a custom button panel that I have docked to the right of the toolbar (but maybe because the command file generating the panel sets a fixed size explicitly?). I have not checked whether this happens with other tools.
Is this normal behavior? If so, is there any way I can make docked tools remember not only their position but also their size? A quick search in the documentation didn't answer this question.
Thank you,
Guillaume
När du har kontakt med oss på Uppsala universitet med e-post så innebär det att vi behandlar dina personuppgifter. För att läsa mer om hur vi gör det kan du läsa här: http://www.uu.se/om-uu/dataskydd-personuppgifter/ <http://www.uu.se/om-uu/dataskydd-personuppgifter/>
E-mailing Uppsala University means that we will process your personal data. For more information on how this is performed, please read here: http://www.uu.se/en/about-uu/data-protection-policy <http://www.uu.se/en/about-uu/data-protection-policy><size-at-startup.png><size-I-want-but-not-saved-after-restart.png>_______________________________________________ ChimeraX-users mailing list -- chimerax-users@cgl.ucsf.edu <mailto:chimerax-users@cgl.ucsf.edu> To unsubscribe send an email to chimerax-users-leave@cgl.ucsf.edu <mailto:chimerax-users-leave@cgl.ucsf.edu> Archives: https://mail.cgl.ucsf.edu/mailman/archives/list/chimerax-users@cgl.ucsf.edu/ <https://mail.cgl.ucsf.edu/mailman/archives/list/chimerax-users@cgl.ucsf.edu/>
Thank you Eric, and no rush about this. I mostly wanted to check if I had missed an existing option, turns out I didn't. If this is a headache to implement, don't worry about it. All the other improvements version after version have been making ChimeraX truly an excellent program (and continue doing so), so this behavior of docked tools is really not a deal-breaker. Cheers, Guillaume ________________________________ From: Eric Pettersen <pett@cgl.ucsf.edu> Sent: Tuesday, February 13, 2024 8:45:25 PM To: Guillaume Gaullier Cc: ChimeraX Users Help Subject: Re: [chimerax-users] Save docked tool size? Hi Guillaume, As you have observed, for docked tools ChimeraX only preserves which side the tool was docked to and whether it was tabbed with other tools. It might be possible to preserve the size as well, but the initial tool-placement code is pretty complex and I'm not 100% sure that the Qt call (QMainWindow::resizeDocks) will actually produce the desired outcome. There are also issues with producing the desired graphics window size from the user's preferences and when restoring from a session. Nonetheless, I will open a enhancement-request ticket in our bug-tracking database, with you cc'ed, and will try to find time to investigate soonish. --Eric Eric Pettersen UCSF Computer Graphics Lab On Feb 13, 2024, at 12:46 AM, Guillaume Gaullier via ChimeraX-users <chimerax-users@cgl.ucsf.edu<mailto:chimerax-users@cgl.ucsf.edu>> wrote: Hello chimerax-users, I recently started using ChimeraX in more custom ways for specific analyses, for which I need several tools displayed at once. I need some docked and others floating. So the "Save tool position" option is very helpful. However, it saves window size only for floating tools, not docked ones, so I have to resize the docked tools at every restart (their position is saved correctly, but not their size relative to the main ChimeraX window). This happens for the model panel and log, that I have docked to the right of the 3D display: they systematically start much wider than I want (and than I resized them to last time I started ChimeraX). This doesn't happen for a custom button panel that I have docked to the right of the toolbar (but maybe because the command file generating the panel sets a fixed size explicitly?). I have not checked whether this happens with other tools. Is this normal behavior? If so, is there any way I can make docked tools remember not only their position but also their size? A quick search in the documentation didn't answer this question. Thank you, Guillaume När du har kontakt med oss på Uppsala universitet med e-post så innebär det att vi behandlar dina personuppgifter. För att läsa mer om hur vi gör det kan du läsa här: http://www.uu.se/om-uu/dataskydd-personuppgifter/ E-mailing Uppsala University means that we will process your personal data. For more information on how this is performed, please read here: http://www.uu.se/en/about-uu/data-protection-policy<size-at-startup.png><size-I-want-but-not-saved-after-restart.png>_______________________________________________ ChimeraX-users mailing list -- chimerax-users@cgl.ucsf.edu<mailto:chimerax-users@cgl.ucsf.edu> To unsubscribe send an email to chimerax-users-leave@cgl.ucsf.edu<mailto:chimerax-users-leave@cgl.ucsf.edu> Archives: https://mail.cgl.ucsf.edu/mailman/archives/list/chimerax-users@cgl.ucsf.edu/ VARNING: Klicka inte på länkar och öppna inte bilagor om du inte känner igen avsändaren och vet att innehållet är säkert. CAUTION: Do not click on links or open attachments unless you recognise the sender and know the content is safe.
participants (2)
-
Eric Pettersen
-
Guillaume Gaullier