Incorrect shadows for non-rectangular windows
Bug #1662433 reported by
Daniel van Vugt
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical System Image |
New
|
Undecided
|
Unassigned | ||
Mir |
Triaged
|
Medium
|
Unassigned | ||
mir (Ubuntu) |
Triaged
|
Medium
|
Unassigned | ||
unity8 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
There is too much (inappropriate) shadow rendered for non-rectangular surfaces.
Test case:
$ mir_demo_
Expected:
Either a shaped shadow or none at all.
Observed:
In Unity8 there is a constant shadow over the background.
In mir_proving_server there is a line of shadow around the invisible border.
Both are wrong.
To post a comment you must log in.
Actually I don't think we have a good solution for this yet.
When it was last discussed (Den Haag?) and some times before I suggested we should just do shadow updates when the input area changes (or some other client-initiated call). What we shouldn't do is try to generate a new shaped shadow on every frame, unless there's reason to believe the shape has changed.