Ticket #509 (assigned defect)

Opened 3 years ago

Last modified 2 years ago

wxgui: startup menu crunched on small display

Reported by: hamish Owned by: martinl
Priority: minor Milestone: 6.4.0
Component: wxGUI Version: 6.4.0 RCs
Keywords: startup Cc: grass-dev@…, msieczka
Platform: All CPU: x86-32

Description

Hi,

this is using 6.4.0rc3 from OSGeo4W on a ClassmatePC (mini-notebook) running Windows XP. The display on this thing is a 1024x600 9" LCD.

the bottom buttons of the wx GUI startup get crunched up, especially when the taskbar is not in auto-hide mode (attached screenshot). It is still a bit crunched up if it has the full screen height to work with, but it is still overlapping the horizontal slider by 1-2mm.

the tcl/tk one looks fine.

also I notice the "enter grass" button is not greyed out when no mapset is selected, etc. as is the case with the tcl/tk startup gui.

and you thought 800x600 was long dead....

Hamish

Attachments

wxstart_crunch.png Download (75.6 KB) - added by hamish 3 years ago.
example of opening the wx launch gui on a 600px tall screen (with xp taskbar)
Screenshot.png Download (189.9 KB) - added by hamish 2 years ago.
Screenshot-1.jpg Download (102.4 KB) - added by hamish 2 years ago.
wx startup gui on 1024x600 netbook, buttons hidden
Screenshot-2.jpg Download (88.1 KB) - added by hamish 2 years ago.
wx startup gui; same as last after dragging window up
Screenshot-3.jpg Download (91.5 KB) - added by hamish 2 years ago.
same as last, but dragged the corner a little to make the window bigger
Screenshot-4.jpg Download (89.8 KB) - added by hamish 2 years ago.
same as last, but tugged on corner enough to use buttons
Screenshot-5.jpg Download (45.0 KB) - added by hamish 2 years ago.
Android/smart phone case: display resolution set to 640x350
gis_set.diff Download (1.1 KB) - added by martinl 2 years ago.
patch against trunk

Change History

Changed 3 years ago by hamish

example of opening the wx launch gui on a 600px tall screen (with xp taskbar)

  Changed 3 years ago by martinl

See also #217.

  Changed 3 years ago by martinl

  • cc grass-dev@… added
  • owner changed from grass-dev@… to martinl
  • status changed from new to assigned

Welcome screen dialog now occupies less space - trunk (r36129) and devbr6 (r36130).

  Changed 3 years ago by hamish

  • cc msieczka added

it is now better for a 1024x800 classmatePC display (latest wingrass 6.4.0svn from osgeo4w), but there is still about 5 pixel overlap between the top of the Start GRASS button and the bottom of the left/right scroll bars for location and mapset lists. Can those scroll bars be set to only appear if they are needed? e.g. (visually) the mapset name would have to be as long as like PERMANENTPERMANETPERMANENT before it would need a l/r scrollbar.

#217 merged here.

Hamish

  Changed 2 years ago by cmbarton

We've had a number of interface tweaks in the past year. Is this still a problem?

Note that scroll-bars by default only show up when needed unless they are specially forced on. Perhaps it is not fixable?

Michael

  Changed 2 years ago by hamish

Is this still a problem?

yes, for netbooks it is. it is much much better than it was though. I'll upload an updated screenshot next time I get the chance.

Perhaps it is not fixable?

the "fix" is to compact things a little more so not as much vertical space is used.

Hamish

  Changed 2 years ago by cmbarton

OK. I'll take a look. Heading out now, but will try to check later.

Michael

Changed 2 years ago by hamish

Changed 2 years ago by hamish

wx startup gui on 1024x600 netbook, buttons hidden

Changed 2 years ago by hamish

wx startup gui; same as last after dragging window up

Changed 2 years ago by hamish

same as last, but dragged the corner a little to make the window bigger

Changed 2 years ago by hamish

same as last, but tugged on corner enough to use buttons

Changed 2 years ago by hamish

Android/smart phone case: display resolution set to 640x350

follow-up: ↓ 9   Changed 2 years ago by hamish

bug still there. more screenshots added.

xfce panels in screenshots are 24px tall each, so on the display the window is created at 552px tall. is there a way for wx to know the desktop size? if so and it is less than 600px tall (tested minimum) switch off the graphic and the "world leading" text? or maybe switch off both the "welcome to+world leading" lines and leave the graphic there?

Hamish

  Changed 2 years ago by hamish

  • keywords startup added
  • platform changed from MSWindows 2K to All

in reply to: ↑ 7 ; follow-up: ↓ 10   Changed 2 years ago by martinl

Replying to hamish:

bug still there. more screenshots added. xfce panels in screenshots are 24px tall each, so on the display the window is created at 552px tall. is there a way for wx to know the desktop size? if so and it is less than 600px tall (tested minimum) switch off the graphic and the "world leading" text? or maybe switch off both the "welcome to+world leading" lines and leave the graphic there?

does the attached patch helps? Martin

Changed 2 years ago by martinl

patch against trunk

in reply to: ↑ 9   Changed 2 years ago by hamish

Replying to martinl:

does the attached patch helps? Martin

partially. now the buttons don't fall behind, but the window ends at the bottom horiz scrollbars of the mapset/loc boxes, and you somehow have to know to make the box bigger to magically find the missing buttons.

on WinGrass where the buttons end up on top this would be a regression as it is ugly, but at least you can see & use them.

thanks, Hamish

Note: See TracTickets for help on using tickets.