Viewing Issue Simple Details Jump to Notes ] Wiki ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0006498 [DCSS] Bug Report trivial always 2013-01-04 17:51 2013-12-10 21:50
Reporter neil View Status public  
Assigned To
Priority normal Resolution open  
Status new   Product Branch 0.12 ancient branch
Summary 0006498: Too-small terminal should be handled more gracefully
Description When the terminal is resized below the minimum of 79x24, the game crashes with an assertion: <tt>ERROR in 'libutil.cc' at line 968: screen write out of bounds: (-1,-1) into (80,23)</tt>.

While actually supporting 80x23 might not be feasible, this should not result in a crash. Kilobyte suggested blanking the screen, displaying a message, and allowing the user to either quit or resize their terminal.

As for actually supporting verytinyterms, If we dynamically resize the message area, the main display could work in as few as 19 lines (17 for LOS plus two for the message area; things with multi-line prompts, like scroll of acquirement, would be ugly). However, many of the other screens (such as god info and description) require the full 24 lines. Most of these could probably use scrollers (see 0006421), but not necessarily everything.

Additional Information
Tags No tags attached.
Attached Files txt file icon crash-Wrenky-20131210-102252.txt [^] (11,418 bytes) 2013-12-10 21:50 [Show Content]

- Relationships
related to 0006421resolvedaidanholm Implementable: Make item/spell/etc. descriptions scrollable. 
has duplicate 0005687resolvedmumra Crash on window resize 
related to 0006497new During an assertion failure, Crawl doesn't tell the user whether or not it saved the game 

-  Notes
(0020735)
frogbotherer (developer)
2013-01-06 23:38

For the Android port at *very* low resolutions, I've made changes to output.cc that compress the stats area into Note: 0000010 columns of text, if that's any help.
(0024666)
Wrenky (reporter)
2013-12-10 21:50

Crash file for this issue. I was running crawl in tmux and I detached the session- Looks to have caused the crash.

- Issue History
Date Modified Username Field Change
2013-01-04 17:51 neil New Issue
2013-01-04 17:52 neil Relationship added related to 0006421
2013-01-04 17:55 neil Description Updated
2013-01-04 17:56 neil Description Updated
2013-01-06 23:38 frogbotherer Note Added: 0020735
2013-05-26 06:07 mumra Relationship added has duplicate 0005687
2013-05-26 06:35 mumra Relationship added related to 0006497
2013-12-10 21:50 Wrenky Note Added: 0024666
2013-12-10 21:50 Wrenky File Added: crash-Wrenky-20131210-102252.txt


Mantis 1.1.8[^]
Copyright © 2000 - 2009 Mantis Group
Powered by Mantis Bugtracker