[Marble-devel] Review Request: Adjustable route overlay color and transparency

Bernhard Beschow bbeschow at cs.tu-berlin.de
Thu Oct 27 18:16:41 UTC 2011


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/102540/#review7696
-----------------------------------------------------------


Thanks for the patch, having the route colors adjustable rather than hardcoded is a very good idea. Having applied your patch and seeing the rather complicated color selection dialog, however, I wondered whether it was sufficient to just set a (single) alpha transparency value, as requested in the bug report. As an additional benefit, this would also prevent regular users to "mess" with the routing colors, which have been choosen to be distinct from the tracking etc. ones (such that they make up a "color theme").

What I suggest is therefore the following: Keep the colors "soft"-coded from the config file, such that computer-savvy users can still change the colors. For regular users, there should only be a single alpha transparency selector in the config dialog, setting a common transparency for all three routing colors.

What do you think?

- Bernhard Beschow


On Oct. 26, 2011, 9:41 a.m., Florian Eßer wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/102540/
> -----------------------------------------------------------
> 
> (Updated Oct. 26, 2011, 9:41 a.m.)
> 
> 
> Review request for Marble.
> 
> 
> Description
> -------
> 
> The patch from http://mail.kde.org/pipermail/marble-bugs/2011-September/001532.html
> 
> ==============
> 
> Hi,
> I had the same problem myself recently.
> 
> So here's a patch that adds an option "Adjust track color" in the
> track's context menu just below "Export route".
> 
> Todo / Possible enhancements:
> * make all the different route types (e.g. deviated from route)
>   configurable, not just the standard one. Right now, only the alpha
>   values get adjusted for all track types/colors.
> * save/load to config file
> ** and then: button to restore the nice marble defaults if you have
>    experimented to much ;-)
> 
> Greetings
> Florian
> 
> On 28.08.2011 09:48, Robin Seidel wrote:
> > hi, thanks for the great marble!!! I have one wish: could you allow 
> > to adjust the transparency of the route overlay, so one can see the 
> > track beneath, this would be especially helpful for walking routes, 
> > where one may not want to take the smallest paths. Once the route is
> >  found one can currently not easily see what's beneath.
> > 
> > best regards
> > 
> > robin
> 
> 
> Diffs
> -----
> 
>   src/lib/routing/RoutingLayer.cpp 77af021 
>   src/lib/routing/RoutingManager.h cbe70bf 
>   src/lib/routing/RoutingManager.cpp 7cdffa1 
>   src/lib/routing/RoutingProfilesWidget.h e2d7333 
>   src/lib/routing/RoutingProfilesWidget.cpp 88c880e 
>   src/lib/routing/RoutingSettingsWidget.ui 27849c2 
>   src/marble.kcfg 06277c8 
>   src/marble_part.cpp 3f26b50 
> 
> Diff: http://git.reviewboard.kde.org/r/102540/diff/diff
> 
> 
> Testing
> -------
> 
> I haven't tested it it with the Qt-only version yet. (--> kcfg ??)
> 
> 
> Screenshots
> -----------
> 
> Routing settings with new color buttons.
>   http://git.reviewboard.kde.org/r/102540/s/318/
> 
> 
> Thanks,
> 
> Florian Eßer
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/marble-devel/attachments/20111027/871e9d10/attachment.html>


More information about the Marble-devel mailing list