moorhen-coot / Moorhen

A JavaScript molecular graphics program
https://moorhen.org
BSD 3-Clause "New" or "Revised" License
10 stars 4 forks source link

Menu panels partially hidden off screen #419

Closed colinpalmer closed 3 months ago

colinpalmer commented 3 months ago

Found this while going through the tutorial at https://moorhen-coot.github.io/wiki/2024/05/20/Moorhen-Cryo-EM-Tutorial.html using the current Moorhen v0.10.0 on moorhen.org, using Firefox on Windows.

When I click Calculate -> Jiggle Fit with Fourier Filtering..., the panel appears above the menu item and the top part is inaccessible. Here's a screenshot:

image

(From a very quick glance it looks like this issue doesn't occur in Moorhen 0.8.5 embedded in CCP-EM Doppio 1.0.1, so perhaps something has changed recently to cause it?)

I've managed to find a workaround but it's not exactly user friendly. If I make the browser window much smaller, then click Jiggle Fit with Fourier Filtering..., then make the window much larger again, the Calculate menu and the jiggle fit panel stay lower on the screen and then I can access the whole panel.

A related problem: when the window is very small, the main menu becomes nicely scrollable. But the sub-menus (e.g. the Calculate one) are not scrollable so only the top few items are usable.

FilomenoSanchez commented 3 months ago

Thanks for reporting this, I can reproduce it in Linux running on Firefox so it's a generalised thing.