Opened 11 years ago

Closed 11 years ago

Last modified 11 months ago

#3752 closed defect (outdated)

WINCE: change of "Modern Style" will fail

Reported by: SF/lostech Owned by: SF/knakos
Priority: high Component: Port: WinCE
Keywords: Cc:
Game:

Description

* ScummVM version
-----------------
SVN Build 0.12.0 (28.05.2008) as "Plugin" version compiled and also "Standalone" compiled version

* Bug details, including instructions on reproducing
----------------------------------------------------
Use an additional "Modern" style theme and copy and rename existing "Modern" theme for e.g to "modern_test.ini" and "modern_test.zip".
Change in "modern_test.ini" line "name=Modern Style" to "name=Modern Style Test". Now screen goes black and stays black.
Go to "Options" -> "Misc" -> "Theme" and change from "Modern Style" to the new theme for e.g. "Modern Style Test".
The Screen will go black and when now the screen is touched then ScummVM will be closed.
Same theme files are working fine with the PC version of ScummVM.
Themes are also working if you add a "gui_theme=modern_***" line to scummvm.ini but a change of the style within the menu will still close ScummVM.

* Platform and Compiler (Win32, Linux, ...)
-------------------------------------------
Windows CE ARM port compiled with MSYS/cegcc
Test device: FSC PocketLoox N560

Ticket imported from: #1976799. Ticket imported from: bugs/3752.

Attachments (1)

scummvm_stderr.txt (613 bytes ) - added by SF/lostech 11 years ago.
Debug Log

Download all attachments as: .zip

Change History (11)

by SF/lostech, 11 years ago

Attachment: scummvm_stderr.txt added

Debug Log

comment:1 by SF/knakos, 11 years ago

Thanks for reporting. Will look into it.

comment:2 by SF/knakos, 11 years ago

Owner: set to SF/knakos

comment:3 by fingolfin, 11 years ago

Summary: WinCE port: change of "Modern Style" will failWINCE: change of "Modern Style" will fail

comment:4 by sev-, 11 years ago

Raising priority. This bug is nice to get fixed before the release.

comment:5 by sev-, 11 years ago

Priority: normalhigh

comment:6 by SF/knakos, 11 years ago

This is very difficult to debug. During the change, libc crashes internally with a bad_alloc error. The wince debugger quits and I don't have a chance to see what goes wrong here (*very* rare case for a bug).

There seems to be no obvious problem except this, which may be related (also verified for desktop ports): If the scaler is 2x and the user changes the theme, it is repainted automatically and immediately (normal behavior). If the scaler is 1x, the new theme is not painted until an event occurs (e.g. a mouse click). So the user is left with a black screen until this happens. Upon click, wince scummvm crashes.

Note also that changing from modern->classic works with no crash, classic->modern results in a crash in wince.

If Eugene (or anyone else) has an idea about the repainting bug (which would be nice to fix anyway), and it is fixed, it might be related to this bug. Else, since a workaround exists (modifying scummvm.ini), and since this is not exactly critical, and debugging is *extremely* difficult, I'm inclined to lower priority and/or delete this.

comment:7 by fingolfin, 11 years ago

My hope would be that this bug is obsolete with the new GUI code in SVN...

comment:8 by SF/knakos, 11 years ago

And you hope Fingolfin is exactly what has happened. Closing.

comment:9 by SF/knakos, 11 years ago

Resolution: outdated
Status: newclosed

comment:10 by digitall, 11 months ago

Component: Port: WinCE
Note: See TracTickets for help on using tickets.