View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000022VCMIGUI - Otherpublic2009-10-02 11:422010-11-13 15:20
ReporterTow dragon 
Assigned ToTow 
PrioritynormalSeverityminorReproducibilityhave not tried
PlatformOSOS Version
Product Version0.71 
Target VersionFixed in Version0.82 
Summary0000022: Adjusting message boxes: sizes & scrollbar (0.71b#55, 56, 57, 58)
Description71b#55 - The Event message boxes do not adjust their width for larger texts: [^] [^]
H3C: vs VCMI: (map start: A Terrible Rumor)

What we have in VCMI seems to be the minimal width used in H3 for short Event messages. However H3 had 4 different widths (and 3 different length) depending on the size of the message. You can see in the H3C screenshot above the maximum width, or better open the attached map in WoG to check all the different sizes.

EDIT: By loading the attached map, I noticed that VCMI actually does have another Event msg window width, which however should not exist (too narrow): [^]

71b#56 - While the width is minimal, there seems to be no limit in the length of the Event message boxes. Longer texts even go out of a 1024x768 interface: [^]

We don’t have to stick to the H3 exact sizes. And I’m saying that because somehow I find it easier to read a message box which longer rather than wider. But the length should at least be limited to that of the game interface. Also, the higher resolutions should allow bigger message boxes (again, preferably in length, not width), to avoid the need of a scroll bar.

71b#57 - Not really a bug, but more an observation: I know the VCMI fonts are different – no issue here – but what I notice by comparing them with the H3 message boxes, is that they seem bolded (or a size bigger?). That’s ok for short Event messages, however for long messages (those not fitting in the standard maximum size box) I’d rather have them seem a smaller rather than bigger as compared to H3.

To reduce the chance that a large message doesn’t fit, as well as the need of scrolling too much, maybe we can have something like:
- Reduce font with 1 size as of 640 message characters (approximate length which seems to still fit w/o scrollbar in H3) /
- And maybe even reduce font with 2 sizes as of 1280 message characters

71b#58 - Scrollbar support for Event message boxes. Even if we implement bigger boxes and/or adjust the fonts, VCMI should of course still be ready to support "too-long-for-most-players-to-read" :-P Event messages.

The full functionality should be:
- only when the message is too long to fit in the maximum size message box
- support for Up/Down arrows (scroll per row)
- support for Page Up/Down (scroll per page)
- NEW: support for mouse scroll (this was missing in H3, while I guess most players would prefer it over any other hotkey)
- NEW: maybe also support for Home/End buttons (scroll to start/end of message) – though this is not so important
Additional Informationcopied from sf tracker. Reported by Zamolxis: [^]
TagsNo tags attached.
Attached Files? file icon A Terrible Rumor edit.h3m [^] (11,691 bytes) 2009-11-30 19:16

- Relationships
parent of 0000055closedWarmonger Event message windows still don't support large texts correctly 
related to 0000183closedWarmonger Customized choice message boxes seem to adjust only to the text, not also the choice buttons (when the case) 
related to 0000190closedIvan InfoWindow components need to be adjusted vertically. 

-  Notes
Zamolxis (viewer)
2009-10-02 13:09

Image links corrected.
Zamolxis (viewer)
2009-11-30 19:18

Attachment updated. Now also the resource below the starting hero has a custom message, for which the scrollbar will need to be tested when implemented.
Tow (developer)
2010-07-06 02:40

Fixed in r1629
Still not the same behaviour as in OH3 but should be good enough.
All suggested keybindings for messages with slider are implemented.

Thanks for the test map.
Zamolxis (viewer)
2010-08-28 13:46

Thanks for implementing the keybindings.

I'll leave this in Resolved though, because some message boxes don't seem like the right size for the text (they were slightly better until 0.81). I didn't take screenshots as I don't feel it's a priority. I'd like to give it some time though to see if it just needs getting used to.
Zamolxis (viewer)
2010-11-13 15:07

I'm closing this one because all that is left is not really bugs, just small discrepancies in message window sizes between H3 and VCMI, which I may raise as part of a low priority trivial report but would not justify reopening this one. The real bugs reported here are fixed, as are the keybindings implemented and working fine.

- Issue History
Date Modified Username Field Change
2009-10-02 11:42 Tow dragon New Issue
2009-10-02 13:09 Zamolxis Note Added: 0000015
2009-10-02 13:09 Zamolxis Description Updated View Revisions
2009-10-02 13:09 Zamolxis Additional Information Updated View Revisions
2009-10-02 13:45 Zamolxis Category GUI - other =>
2009-10-02 16:44 OnionKnight Description Updated View Revisions
2009-10-02 16:44 OnionKnight Additional Information Updated View Revisions
2009-10-03 08:19 anonymous File Added: A Terrible Rumor edit.h3m
2009-10-03 08:23 Zamolxis Description Updated View Revisions
2009-10-17 01:19 Zamolxis Description Updated View Revisions
2009-10-19 19:51 Zamolxis Relationship added related to 0000183
2009-10-24 09:11 Warmonger Assigned To => Warmonger
2009-10-24 09:11 Warmonger Status new => assigned
2009-10-24 09:32 Warmonger Relationship added parent of 0000055
2009-11-30 19:16 Zamolxis File Deleted: A Terrible Rumor edit.h3m
2009-11-30 19:16 Zamolxis File Added: A Terrible Rumor edit.h3m
2009-11-30 19:18 Zamolxis Note Added: 0000328
2009-12-30 16:50 Zamolxis Summary Adjusting message box length (0.71b#55, 56, 57, 58) => Adjusting message boxes: sizes & scrollbar (0.71b#55, 56, 57, 58)
2010-05-29 18:51 Zamolxis Product Version => 0.71
2010-05-29 18:51 Zamolxis Description Updated View Revisions
2010-06-06 07:21 Warmonger Relationship added related to 0000190
2010-06-06 10:09 Zamolxis Description Updated View Revisions
2010-06-06 10:09 Zamolxis Additional Information Updated View Revisions
2010-06-06 10:11 Zamolxis Description Updated View Revisions
2010-07-01 00:11 Tow Assigned To Warmonger => Tow
2010-07-06 02:40 Tow Note Added: 0001019
2010-07-06 02:40 Tow Status assigned => resolved
2010-07-06 02:40 Tow Fixed in Version => 0.81
2010-07-06 02:40 Tow Resolution open => fixed
2010-07-06 02:43 Tow Fixed in Version 0.81 => 0.89
2010-08-28 13:46 Zamolxis Note Added: 0001338
2010-11-13 15:07 Zamolxis Note Added: 0001377
2010-11-13 15:07 Zamolxis Status resolved => closed
2010-11-13 15:20 Zamolxis Issue cloned: 0000639

Site | Forums | Wiki | Slack | GitHub

Copyright © 2000 - 2024 MantisBT Team
Hosting provided by DigitalOcean