Bug 439822

Summary: Marble "broke" when I tried to create a new map using a single .jpg image which was quite large. (23040x11520 pixels).
Product: [Applications] marble Reporter: Linda Gabriel <LMG8896>
Component: generalAssignee: marble-bugs
Status: CONFIRMED ---    
Severity: major CC: rahn
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed In:

Description Linda Gabriel 2021-07-14 06:27:24 UTC
SUMMARY

Marble 2.2.0 "broke" when I tried to create a new map using a single .jpg image which was quite large. (23040x11520 pixels).  


STEPS TO REPRODUCE

1. Create map from a single image.  Make the image very large (eg: 23040x11520 pixels)
 

OBSERVED RESULT

New map loading dialog box comes up. (should happen only once and take only a few minutes).  Dialog box never goes away and map image never loads.
The program is now stuck at the image loading dialog box.  It stays like that for hours with no progress unless I force the program to close.  Upon restart of the program, the map loading dialog box comes right back up again. Strangely, even uninstalling Marble, rebooting the computer and reinstalling Marble does not fix and I get the same dialog box yet again.  Perhaps there is something I need to take out of the registry? Marble is unusable now on my PC because it's perpetually stuck trying to load this oversized image.


EXPECTED RESULT

If a user tries to load a "single image" to create a map and the image is too large for Marble to handle, it should not keep trying to load it but, instead, return an error warning indicating that the image is too big to load.  Perhaps, it could also indicate the maximum size allowed for the image.  This way I can load up a smaller image instead. 


SOFTWARE/OS VERSIONS
Windows: 10 


ADDITIONAL INFORMATION