molpro / iMolpro

GNU General Public License v3.0
2 stars 3 forks source link

Display size varies and structure not shown when a project is loaded #229

Closed hjwerner closed 2 months ago

hjwerner commented 3 months ago

As noted earlier, it would be nice if the geometry would immediately displayed when a project is loaded. Currently one has to open the project, then click view - initial structure, then initial structure below the window.

When one makes a new project and loads the structure (using the initial pop up) the shown window with the molecule is very small. This does not happen of one loads the structure using files -import structure, or when opening an existing project as described above. See screen shots attached.

Bildschirmfoto 2024-07-31 um 16 44 39 Bildschirmfoto 2024-07-31 um 16 44 00

When loading some large molecules, I had some crashes (errors loading the structure), but cannot reproduce this yet. I'll make an issue when I see it again in a reproducible way.

pjknowles commented 3 months ago

What is described amounts to the builder not filling the space that it could.

pjknowles commented 3 months ago

... and this is because in embedded_vod() the geometry of the output tabs is used to set the size, but if there are no outputs yet, this doesn't work in embedded_builder(). Need to find a way to proxy this calculation.

pjknowles commented 3 months ago

Also wanted is that when there is a structure, it is always shown. I am not so sure about this. It seems to me that if there is already an output file, that should be shown as the active tab.

pjknowles commented 2 months ago

@hjwerner please try, and reopen if you think it could still be improved.

hjwerner commented 2 months ago

I confirm that now the structure appears immediately when opening a project. But the default window is too small for viewing large molecules. I found (by chance) that command D increases it (then it’s nice!). This is in the „Edit“ menu „Structure“. I don’t find this intuitive. How does one get out of this mode? Maybe make the large one the default? But perhaps this would not work with a low-resolution screen.

Further suggestions:

For the input builder, a generalisation of the basis selector is in my view most important. As far as I see, there is so far no possibility to generate, e.g., basis,avtz,h=vtz, or, basis=avtz,h=vtz, Fe=awcvtz.

It seems to me that iMolpro and gMolpro projects are not compatible. This is a pity, but I guess hard to fix. But if so, maybe the project names should be different, e.g. h2o.imolpro and h2o.gmolpro?

Am 30.08.2024 um 00:09 schrieb Peter Knowles @.***>:

@hjwerner please try, and reopen if you think it could still be improved. — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>