Bug 27838 - ca_gtk_proplist_set_for_widget does not provide position information for widgets that are off screen to the left
Summary: ca_gtk_proplist_set_for_widget does not provide position information for widg...
Status: NEW
Alias: None
Product: libcanberra
Classification: Unclassified
Component: Unspecified (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Lennart Poettering
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-26 08:59 UTC by Dylan McCall
Modified: 2010-04-26 08:59 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Dylan McCall 2010-04-26 08:59:52 UTC
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 :)


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.