[Potlatch-dev] [OpenStreetMap] #3360: Switching backgrounds doesn't respect Dim setting
OpenStreetMap
trac at openstreetmap.org
Thu Mar 3 13:57:14 GMT 2011
#3360: Switching backgrounds doesn't respect Dim setting
------------------------+---------------------------------------------------
Reporter: EdLoach | Owner: potlatch-dev@…
Type: defect | Status: reopened
Priority: minor | Milestone:
Component: potlatch2 | Version: 2.0
Resolution: | Keywords:
------------------------+---------------------------------------------------
Changes (by stevage):
* status: closed => reopened
* resolution: worksforme =>
Comment:
Oh, ok, it's this:
1. Set background to dim
2. Restart app
3. Background is dimmed, but checkbox is unset.
It doesn't always happen - I can't reproduce 100%. But the really weird
thing is, when stepping through, the relevant variables are completely
consistent with the background *not* being dimmed.
initParams.dim_background is false, TileSet.init gets called with
dim=false, alpha gets set to 1, and when alpha gets queried to set the
checkbox state, it's 1, so the checkbox *should* be unset.
So two questions: why is initParams.dim_background false, and why on earth
does the background display dimmed when tileset.alpha=1? But as I can't
reliably reproduce, it's hard to investigate.
--
Ticket URL: <http://trac.openstreetmap.org/ticket/3360#comment:2>
OpenStreetMap <http://www.openstreetmap.org/>
OpenStreetMap is a free editable map of the whole world
More information about the Potlatch-dev
mailing list