Opened 7 years ago

Closed 7 years ago

#4304 closed defect (duplicate)

playerColorPicker in gamesetup window screwed up when switching from window mode to full screen.

Reported by: mimo Owned by:
Priority: Should Have Milestone:
Component: UI & Simulation Keywords:
Cc: Patch:

Description (last modified by mimo)

When starting a new game in window mode and then switching to full screen (1920x1200) using alt-enter after starting a match, the color picker is screwed up as seen on the screwedColorPicker.png attached. Same thing happens if starting the match in full mode, and then alt-enter to go to window mode, the colorPicker is also screwed up in the same way. Futhermore in both cases, if a I click on the back button in the gamesetup window and then starts a new match again, the colorPicker is now fine. Looks like some initialization missing. Would be nice to check if reproducible by others, and if yes, maybe worth to fix before A21?

Attachments (1)

screwedColorPicker.png (186.0 KB ) - added by mimo 7 years ago.

Download all attachments as: .zip

Change History (5)

by mimo, 7 years ago

Attachment: screwedColorPicker.png added

comment:1 by mimo, 7 years ago

Description: modified (diff)

comment:2 by Imarok, 7 years ago

can reproduce Edit: it also occurs the other way around Edit2: Seems to occur only if scrollbar disabled. So it's probably a problem in src/gui/

Last edited 7 years ago by Imarok (previous) (diff)

comment:3 by Imarok, 7 years ago

this seems to fix the issue: http://pastebin.com/fytRJjCr (I don't know yet, what I changed there) can you verify it?

comment:4 by elexis, 7 years ago

Milestone: Backlog
Resolution: duplicate
Status: newclosed

Duplicate of #3571, we (being mimo and me) found this bug when we merged the color picker

Note: See TracTickets for help on using tickets.