Viewing Issue Simple Details Jump to Notes ] Wiki ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0006652 [DCSS] Bug Report minor have not tried 2013-02-16 03:27 2013-04-26 20:58
Reporter Medar View Status public  
Assigned To edlothiol
Priority normal Resolution done  
Status closed   Product Branch 0.12 ancient branch
Summary 0006652: WebTiles: HP/Magic color incorrectly placed after resting
Description After recovering health or magic in WebTiles, the color is sometimes incorrectly placed. See screenshot where recovered magic points show up on top Str text.

Firefox 18.0.2, Windows 7
Additional Information
Tags patch
Attached Files png file icon colorstr.png [^] (10,337 bytes) 2013-02-16 03:27


? file icon 0001-Make-sure-WebTiles-HP-MP-bars-don-t-overflow.patch [^] (1,506 bytes) 2013-03-17 19:37 [Show Content]
? file icon 0001-Really-fix-WebTiles-HP-MP-bar-overflow.patch [^] (1,755 bytes) 2013-03-22 09:20 [Show Content]

- Relationships
has duplicate 0006409resolvededlothiol Highlighted HP, MP, Str 

-  Notes
(0021616)
Medar (developer)
2013-03-17 19:40

This happened when current value and changed value widths were both 0.5 and rounded up to get over 100%.

Attached a patch to fix this, also sets the width percentages more accurately as browsers should handle the decimal places just fine.
(0021653)
edlothiol (developer)
2013-03-18 22:32

Applied.
(0021761)
Medar (developer)
2013-03-22 09:20

My patch was faulty. Obviously toFixed returns a string...
New patch attached.
(0022453)
edlothiol (developer)
2013-04-26 16:28

Also applied, thanks!

- Issue History
Date Modified Username Field Change
2013-02-16 03:27 Medar New Issue
2013-02-16 03:27 Medar File Added: colorstr.png
2013-03-17 19:37 Medar File Added: 0001-Make-sure-WebTiles-HP-MP-bars-don-t-overflow.patch
2013-03-17 19:40 Medar Note Added: 0021616
2013-03-18 22:32 edlothiol Note Added: 0021653
2013-03-18 22:32 edlothiol Status new => resolved
2013-03-18 22:32 edlothiol Fixed in Branch => 0.12 development branch
2013-03-18 22:32 edlothiol Resolution open => done
2013-03-18 22:32 edlothiol Assigned To => edlothiol
2013-03-18 23:17 Medar Status resolved => closed
2013-03-22 09:20 Medar Note Added: 0021761
2013-03-22 09:20 Medar Status closed => new
2013-03-22 09:20 Medar Resolution done => reopened
2013-03-22 09:20 Medar File Added: 0001-Really-fix-WebTiles-HP-MP-bar-overflow.patch
2013-04-12 15:12 Medar Tag Attached: patch
2013-04-26 16:28 edlothiol Note Added: 0022453
2013-04-26 16:28 edlothiol Status new => resolved
2013-04-26 16:28 edlothiol Resolution reopened => done
2013-04-26 20:58 Medar Status resolved => closed
2014-03-09 09:11 Medar Relationship added has duplicate 0006409


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