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/>