Opened 10 years ago

Closed 10 years ago

#54 closed defect (fixed)

Default window size is too large

Reported by: ajjackson Owned by: robert-whitley
Priority: major Milestone: SansView 2.1.1
Component: SansView Keywords:
Cc: Work Package:

Description

On my mac (13" Air) the default window size puts the window bar off the top of the screen and the resize handle under the dock, so I have to use the menu option to maximise the window and then resize it.

The default size logic should be something like:

90% of the screen size or X x Y, whichever is smaller, so that we don't have humongous windows on big monitors.

Change History (5)

comment:1 Changed 10 years ago by robert-whitley

  • Owner set to robert-whitley
  • Status changed from new to accepted

comment:2 Changed 10 years ago by jhjcho

Currently sansview window size is controlled by the custom_config.py so that users can change it by themselves. We need, somehow, to set the default size by passing the "GUIFRAME_HEIGHT/WIDTH" in custom_config.py unless users reset it.
Not a easy job…

comment:3 Changed 10 years ago by butlerpd

  • Milestone set to SansView 2.1.1

Using build 6206 I see that the default now seems to be 90% in both x and y regardless of screen size at least on windows (will test on Mac later). Two questions:

1) when maximizing screen and then setting that as the default view SansView? starts up filling most of the screen but is NOT maximized (you have to click maximize to do that). It is rather trivial from the point of view of the user but not sure I understand why that is.

2) Is the x% of screen the correct default or should it be x% in the smallest direction while maintaining an "ideal" aspect ratio? Again not sure this matters too much but is what I notice.

comment:4 Changed 10 years ago by butlerpd

On the Mac behavior is a little stranger. Using same build (6206) and Mac OS 10.5.8.

1)The first go was very strange indeed. however it appears that even after removing the application to the trash the original config file is persistent and I suspect something from the previous version used (probably old as I don't use it that often ) was not compatible with the new way of doing business? At any rate it behaved very oddly.

2) after restarting things it seems that everything works as advertised (have tried several times now with consistent results)except when setting full screen. Full screen(set with +)the window covers the entire screen (except for the top menu bar of the mac. Setting as default and restarting the window still covers the entire screen but the top x-+ bar is invisible under the mac menu bar (so cannot click them or move the window since that is where you have to grab the window to move it or resize in any way (i.e. the effective size must be larger than full screen?)

This last is somewhat minor, but unlike the PC questions this one is a bit more irritating…

comment:5 Changed 10 years ago by robert-whitley

  • Resolution set to fixed
  • Status changed from accepted to closed
Note: See TracTickets for help on using tickets.