Opened 11 years ago

Last modified 14 months ago

#509 new defect

wxgui: startup menu crunched on small display

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

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 (8)

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

Download all attachments as: .zip

Change History (23)

Changed 11 years ago by hamish

Attachment: wxstart_crunch.png added

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

comment:1 Changed 11 years ago by martinl

See also #217.

comment:2 Changed 11 years ago by martinl

Cc: grass-dev@… added
Owner: changed from grass-dev@… to martinl
Status: newassigned

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

comment:3 Changed 11 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

comment:4 Changed 10 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

comment:5 Changed 10 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

comment:6 Changed 10 years ago by cmbarton

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

Michael

Changed 10 years ago by hamish

Attachment: Screenshot.png added

Changed 10 years ago by hamish

Attachment: Screenshot-1.jpg added

wx startup gui on 1024x600 netbook, buttons hidden

Changed 10 years ago by hamish

Attachment: Screenshot-2.jpg added

wx startup gui; same as last after dragging window up

Changed 10 years ago by hamish

Attachment: Screenshot-3.jpg added

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

Changed 10 years ago by hamish

Attachment: Screenshot-4.jpg added

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

Changed 10 years ago by hamish

Attachment: Screenshot-5.jpg added

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

comment:7 Changed 10 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

comment:8 Changed 10 years ago by hamish

Keywords: startup added
Platform: MSWindows 2KAll

comment:9 in reply to:  7 ; Changed 10 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 10 years ago by martinl

Attachment: gis_set.diff added

patch against trunk

comment:10 in reply to:  9 Changed 10 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

comment:11 Changed 7 years ago by neteler

Milestone: 6.4.06.4.4

comment:12 in reply to:  11 Changed 5 years ago by wenzeslaus

This is unfortunately still an issue, although it applies to less and less devices, I would say. However, it still applies to virtual machines (such as OSGeoLive) which often run in lower resolutions (especially without guest additions).

This dialog should be reformed anyway but I still don't have an idea how, feel free to suggest.

comment:13 Changed 4 years ago by neteler

Milestone: 6.4.46.4.6

comment:14 Changed 3 years ago by martinl

Cc: grass-dev@… removed
Owner: changed from martinl to grass-dev@…
Status: assignednew

comment:15 Changed 14 months ago by wenzeslaus

Keywords: size added
Milestone: 6.4.68.0.0

There were already changes in the dialog (some of them freed and some used vertical space). The current (v7.7) size is 624x621 on Ubuntu with Unity. Please see #3474 and wiki:wxGUIDevelopment/New_Startup for current discussions for a completely new startup window.

Note: See TracTickets for help on using tickets.