- **Group**: 13.3.29 --> OTHER
---
** [bugs:#810] Whiteboard DH: Colour mechanics broken**
**Status:** open
**Labels:** Whiteboard New Whiteboard Whiteboard DH
**Created:** Mon Sep 23, 2013 03:51 PM UTC by Richard Möhn
**Last Updated:** Tue Sep 24, 2013 01:34 PM UTC
**Owner:** nobody
Note
====
As the subject of his master's thesis, a student introduced several substantial
enhancements to the Whiteboard. The Swamp Tramps split up the resulting patch
and put all on a branch in Gerrit. For the sake of brevity, I'll call this
enhanced and newly reintegrated Whiteboard "Whiteboard DH". You will see this
name in some other places in the issue tracker, too.
Problem Description
===================
In Whiteboard DH, one cannot create objects with a colour other than black (if
that's a colour). And the fill button doesn't cause objects to be drawn filled,
either.
To reproduce
============
1. Choose a colour other than black.
+ Draw a rectangle. As long as you don't release the mouse button, the
rectangle has the chosen colour. As soon as you release the button, the
rectangle turns black.
+ Activate the fill button (inkpot).
+ Draw another rectangle. It isn't filled.
Insights
========
In the old Whiteboard colours worked like this: In a colour chooser you set
foreground and background colour and new objects looked these colours up on
creation. Now new objects are passed the colour in their constructors, but
something goes wrong before or after this. An interesting point is that
<code>LayoutElementRecord.getColor()</code> never enters the
<code>if</code>-Block.
---
Sent from sourceforge.net because [email protected] is subscribed
to https://sourceforge.net/p/dpp/bugs/
To unsubscribe from further messages, a project admin can change settings at
https://sourceforge.net/p/dpp/admin/bugs/options. Or, if this is a mailing
list, you can unsubscribe from the mailing list.
------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT
organizations don't have a clear picture of how application performance
affects their revenue. With AppDynamics, you get 100% visibility into your
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
Dpp-robot mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dpp-robot