GNOME Bugzilla – Bug 698301
Username font shadow cut when user name is a bit long
Last modified: 2013-05-24 14:10:38 UTC
I believe the screenshot is self explanatory.
Just just at the last letters :)
Created attachment 241827 [details] Screenshot issue
Just setting as NEW as confirmed, seen that on my machine.
(In reply to comment #3) > Just setting as NEW as confirmed, seen that on my machine. We don't treat NEW any different than UNCONFIRMED ...
*** Bug 694524 has been marked as a duplicate of this bug. ***
the shadowing is lost at a specific number of pixes for some reason - see Bug 694524's pictures for evidence
Created attachment 243547 [details] Shadow rendering problem visualization Here is a visualization of the rendering problem. The shadows are currently rendered by painting the actor we want to apply shadow on, in an offscreen buffer. The problem is that when this actor has an allocation padding (ie allocation that isn't at 0x0 relatively to its parent), this padding is added within the offscreen buffer and as a result the shadow rendering is truncated because the offscreen buffer size is the size of the allocation box, not the allocation box + padding. What you see in red are the offscreen buffer painted of the shadow. You can spot the initial gap which is the padding induced by the allocation.
Created attachment 243548 [details] [review] st-shadow: Fix offset shadow offscreen rendering
Created attachment 243558 [details] Results after bug fix Attached the results after applying the fix, as you can see the shadow is not painting with an offset on the left and now fits into its allocated offscreen buffer.
Review of attachment 243548 [details] [review]: Works fine in testing, patch looks OK.
Committed to 3.8 and master.
Isn't gdm able to be CSS-styled? Because then a simple box-shadow could be used...
Gdm is CSS-styled using St. But I don't get your point, box-shadow is different from text-shadow.
(In reply to comment #13) > Isn't gdm able to be CSS-styled? Because then a simple box-shadow could be > used... No, box-shadow is not the same as text-shadow - the former will cast a shadow from the background (e.g. a rectangle), the latter from the text content. Which is why CSS3 has *both* box-shadow and text-shadow properties :-)
Sorry I went crazy for a second, but is there anything stopping text-shadow being used?
(In reply to comment #16) > Sorry I went crazy for a second, but is there anything stopping text-shadow > being used? It is used. Our implementation of text-shadow was wrong.
*** Bug 667124 has been marked as a duplicate of this bug. ***