[Bug] Disks widget console errors #1596

Closed
MFlyer opened this Issue Jan 3, 2017 · 0 comments

Comments

Projects
None yet
2 participants
@MFlyer
Member

MFlyer commented Jan 3, 2017

While testing over #1530 found a regression in Dashboard Disks widget failing on widget resize:

Actually Disks Widget has a 3 to 5 (minimized/maximized) disks range and when initializing disks data we consider that param, causing errors on resize if disks number > 3 (ex. on 4 disks with widget minimized initial datas cover only 3 disks, while at least 4 expected)

M.

MFlyer added a commit to MFlyer/rockstor-core that referenced this issue Jan 4, 2017

Fixes #1530 cross ref to #1596
Added new code tested over win10 with screen custom to 100%
and screen custom to 125%
Having Single Disk chart loaded dynamically on widget resize
we have to compute offset width and height

Signed-off-by: Mirko Arena <mirko.arena@gmail.com>

@schakrava schakrava closed this in 424dfdc Jan 5, 2017

schakrava added a commit that referenced this issue Jan 5, 2017

@schakrava schakrava added the bug label Jan 5, 2017

@schakrava schakrava added this to the Pinnacles milestone Jan 5, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment