Comment 2 for bug 1699778

Revision history for this message
Jukka Pakarinen (flegu) wrote :

After the access to the window, I set cursor to the Description and pressed enter 10 times and then one space. Scrollbar popped on and Valgrind detects quite a lot "Conditional jump or move depends on uninitialised value(s)" cases. The below I added just a few of those.

==8357== Conditional jump or move depends on uninitialised value(s)
==8357== at 0xAE9153: RenderTarget::clip(Rect<float>&) const (rendertarget.cc:373)
==8357== by 0xAE8AD5: RenderTarget::tile(Rect<int> const&, Image const*, Vector2<int> const&, BlendMode) (rendertarget.cc:235)
==8357== by 0xD1A982: UI::Scrollbar::draw_button(RenderTarget&, UI::Scrollbar::Area, Rect<int> const&) (scrollbar.cc:236)
==8357== by 0xD1C3AA: UI::Scrollbar::draw(RenderTarget&) (scrollbar.cc:351)
==8357== by 0xD15365: UI::Panel::do_draw_inner(RenderTarget&) (panel.cc:725)

==8357== Conditional jump or move depends on uninitialised value(s)
==8357== at 0xAE8BCB: RenderTarget::tile(Rect<int> const&, Image const*, Vector2<int> const&, BlendMode) (rendertarget.cc:264)
==8357== by 0xD1A982: UI::Scrollbar::draw_button(RenderTarget&, UI::Scrollbar::Area, Rect<int> const&) (scrollbar.cc:236)
==8357== by 0xD1C3AA: UI::Scrollbar::draw(RenderTarget&) (scrollbar.cc:351)
==8357== by 0xD15365: UI::Panel::do_draw_inner(RenderTarget&) (panel.cc:725)

==8357== Conditional jump or move depends on uninitialised value(s)
==8357== at 0xAE91D5: RenderTarget::clip(Rect<float>&) const (rendertarget.cc:380)
==8357== by 0xAE8427: RenderTarget::brighten_rect(Rect<int> const&, int) (rendertarget.cc:136)
==8357== by 0xD1AD63: UI::Scrollbar::draw_button(RenderTarget&, UI::Scrollbar::Area, Rect<int> const&) (scrollbar.cc:262)
==8357== by 0xD1C3AA: UI::Scrollbar::draw(RenderTarget&) (scrollbar.cc:351)
==8357== by 0xD15365: UI::Panel::do_draw_inner(RenderTarget&) (panel.cc:725)

==8357== Conditional jump or move depends on uninitialised value(s)
==8357== at 0xAE9296: RenderTarget::clip(Rect<float>&) const (rendertarget.cc:389)
==8357== by 0xAE8427: RenderTarget::brighten_rect(Rect<int> const&, int) (rendertarget.cc:136)
==8357== by 0xD1AE2C: UI::Scrollbar::draw_button(RenderTarget&, UI::Scrollbar::Area, Rect<int> const&) (scrollbar.cc:264)
==8357== by 0xD1C3AA: UI::Scrollbar::draw(RenderTarget&) (scrollbar.cc:351)
==8357== by 0xD15365: UI::Panel::do_draw_inner(RenderTarget&) (panel.cc:725)

Then I moved cursor back to the first line and pressed enter few times. Instead of seeing new lines the cursor moved forward.