---
** [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:** Mon Sep 23, 2013 03:51 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).
To reproduce
============
1. Choose a colour other than black.
+ Draw an object. As long as you don't release the mouse button, the object has
the chosen colour. As soon as you release the button, the object turns black.
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.
------------------------------------------------------------------------------
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13.
http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk
_______________________________________________
Dpp-robot mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dpp-robot