| Summary: | ca_gtk_proplist_set_for_widget does not provide position information for widgets that are off screen to the left | ||
|---|---|---|---|
| Product: | libcanberra | Reporter: | Dylan McCall <dylanmccall> |
| Component: | Unspecified | Assignee: | Lennart Poettering <lennart> |
| Status: | NEW --- | QA Contact: | |
| Severity: | normal | ||
| Priority: | medium | ||
| Version: | unspecified | ||
| Hardware: | Other | ||
| OS: | All | ||
| Whiteboard: | |||
| i915 platform: | i915 features: | ||
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.
Well, this one is pretty easy to reproduce. If I have a widget with X or Y coordinate less than 0, ca_gtk_proplist_set_for_widget doesn't set CA_PROP_WINDOW_HPOS or VPOS. The offending lines of code are in canberra-gtk.c, line 311 and line 326. if (x >= 0 && width > 0) { ... } if (y >= 0 && height > 0) { ... } Rather problematic assumption :)