popup dialog windows are inaccessible on small screens
When using my laptop to access openvpms the dialogue windows have a fixed width which is larger than the exisiting page size. That makes the buttons on the bottom of the dialogue window unreachable.
My screen resolution is 1280 x 800. I have attached a screenshot of an affected dialogue window. I have previously helped out another user with a similar issue. Modifying the default stylesheet and changing the height of the dialogue windows fixes the issue as a temporary workaround, but we probably need to find a better permanent fix.
Is there any reason why the screen doesn't scroll as it does with websites? (It seems that it has a fixed height with overflow hidden). I also think the current settings assume that the screen is maximised. I know that I personally don't maximise my screens, and I'm sure that I'm not the only one. If the browser was allowed to scroll it would overcome this issue.
Re: popup dialog windows are inaccessible on small screens
This is a common issue and one we have been pondering for some time. Currently style sheets only take into account horizontal resolution and assume vertical resolution based on standard 4:3 aspect ratio. With widescreens the aspect ratio is 16:9 and hence this calculation is incorrect.
In version 1.4 Tim has changed the calculation to take into account the horizontal resolution by limiting the dialogue heights to a % of this height (90%). This should resolve the issue if the browser is maximised.
I agree we still have an issue when the browser is not maximised. Scrolling is a potential solution but we would need to see if this is possible using our current screen framework (Echo2).
Cheers Tony
On 8/08/09 6:14 PM, "Myoung@Openvpms. Org" :
> When using my laptop to access openvpms the dialogue windows have a fixed > width which is larger than the exisiting page size. That makes the buttons on > the bottom of the dialogue window unreachable. > > My screen resolution is 1280 x 800. I have attached a screenshot of an > affected dialogue window. I have previously helped out another user with a > similar issue. Modifying the default stylesheet and changing the height of the > dialogue windows fixes the issue as a temporary workaround, but we probably > need to find a better permanent fix. > > Is there any reason why the screen doesn't scroll as it does with websites? > (It seems that it has a fixed height with overflow hidden). I also think the > current settings assume that the screen is maximised. I know that I personally > don't maximise my screens, and I'm sure that I'm not the only one. If the > browser was allowed to scroll it would overcome this issue. > > File attachments: > > [screen-capture-1.png]: > http://www.openvpms.org/fileuploads/screen-capture-1_0.png > ---------- > Original attachments can be found at: > http://www.openvpms.org/node/907 > _______________________________________________ > OpenVPMS User Mailing List > users@lists.openvpms.org > To unsubscribe or change your subscription visit: > http://lists.openvpms.org/listinfo/users > Posts from this mailing list can be viewed online and replied to in the > OpenVPMS User's forum- http://tinyurl.com/openvfu_______________________________________________ OpenVPMS User Mailing List users@lists.openvpms.org To unsubscribe or change your subscription visit: http://lists.openvpms.org/listinfo/users Posts from this mailing list can be viewed online and replied to in the OpenVPMS User's forum- http://tinyurl.com/openvfu
Re: popup dialog windows are inaccessible on small screens
Hi Tony,
I think that the solution that Tim has changed for 1.4 may be the only solution using echo2. I've had a look through the echo2 docs and I don't think scrolling is possible. It looks like it's been implemented in echo3 though.
It seems this issue is happening because the modal windows are floating above the ContentPane and when they have a fixed height they can't be resized. (http://echo.nextapp.com/site/node/2218) I assume that having a 90% height means the height will be 90% of the ContentPane size and therefore the modal window will reduce in size and then scroll. I'll change my stylesheet and see.
Because it floats above the ContentPane I'm not sure that having overflow:auto on the ContentPane would resolve the issue anyway.
Everything else does seem to scroll as the window size is reduced.
Many thanks,
Matt Y.
Re: popup dialog windows are inaccessible on small screens
Windows in echo2 have to have an absolute size, specified in pixels.
Currently, the stylesheets define dialog sizes for screens that have a horizontal resolutions of 800, 1024 and > 1024 pixels.
Prior to 1.4, the vertical resolution is ignored.
In 1.4, windows are resized to 70% of screen height and 90% of screen width, if their stylesheet entries exceed the screen dimensions.
See https://openvpms.atlassian.net/browse/OVPMS-883 for more details.
Another JIRA, https://openvpms.atlassian.net/browse/OVPMS-723 specifies changes to handle different resolutions without requiring customization of the stylesheet.