Closed Bug 322274 Opened 19 years ago Closed 17 years ago

native-theme GTK undetermined progressmeter oversteps its boundaries

Categories

(Core :: XUL, defect, P2)

x86
Linux
defect

Tracking

()

RESOLVED WORKSFORME
mozilla1.9alpha1

People

(Reporter: vhaarr+bmo, Assigned: dbaron)

References

()

Details

(Whiteboard: [patch])

Attachments

(2 files)

The progress meter in the mail/news statusbar when downloading e-mail oversteps its boundaries by quite alot in 1.0b.

Running on GNOME 2.13 with gtk2-engines 2.7.x.

Screenshot coming up.
It oversteps both on the left and the right side, btw.
Requesting blocking-seamonkey1.0? since this looks really weird.
Flags: blocking-seamonkey1.0?
What theme are you using in that screenshot?
Seamonkey 1.0 beta, Classic XPFE theme and Clearlooks GTK theme.
Does it happen with other gtk themes?
This is probably a XUL widget bug.
This doesn't seem common enough to block.
Flags: blocking-seamonkey1.0? → blocking-seamonkey1.0-
Changing gtk theme didn't seem to have any effect on SeaMonkey's (gtk2 with classic theme) progress bar for me (not even a color change).
hmm, other themes did change the progress meter, but none had behavior like the screenshot.  I have gtk2-engines 2.6.3
I'm seeing this now with FC5 (gtk2 2.8)
Version: 1.8 Branch → Trunk
Progress meters don't work to well in standalone XUL, but this is sufficient to see this bug as chrome:

<!DOCTYPE window [ ]>
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
  <progressmeter mode="undetermined" value="0"/>
</window>
Assignee: mail → jag
Component: MailNews: Main Mail Window → XP Toolkit/Widgets
Flags: blocking-seamonkey1.0-
Product: Mozilla Application Suite → Core
QA Contact: jrgmorrison
actually, attachment 197827 [details] from bug 310417 exhibits this bug.  I was missing the stylesheet.
Severity: trivial → normal
*** Bug 331963 has been marked as a duplicate of this bug. ***
*** Bug 342947 has been marked as a duplicate of this bug. ***
Flags: blocking1.9a2?
Flags: blocking1.9a2? → blocking1.9-
Whiteboard: [wanted-1.9]
Should this be pushed to widget:Gtk for issues in GTK native theme code?

I know I see this in the official Thunderbird 1.5.* build a lot; I don't think I've ever seen it in a build I compiled myself.  But I'm not sure if I ever tested the same things.
I dumped this in XPToolkit as that seemed to be the most popular native theme component, although the bugs are spread out all over.

I do see this in my own builds.  You can test attachment 197827 [details] in a browser.
Summary: Progress meter oversteps its boundaries → native-theme GTK undetermined progressmeter oversteps its boundaries
Attached patch possible patchSplinter Review
This sorta works, although it doesn't look all that great when it hits the right edge.
Attachment #239765 - Flags: superreview?(roc)
Attachment #239765 - Flags: review?(roc)
Assignee: jag → dbaron
Priority: -- → P2
Whiteboard: [wanted-1.9] → [wanted-1.9][patch]
Target Milestone: --- → mozilla1.9alpha
I don't understand how this works. Don't we need to pass in the correct widget rectangle to ensure that the theme draws correctly?

Is this even a bug on cairo? On cairo we don't trust the cliprect provided to the theme and force clipping by other means.

You could use gdk_rectangle_intersect here.
Worksforme in cairo builds.
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → WORKSFORME
Attachment #239765 - Flags: superreview?(roc)
Attachment #239765 - Flags: review?(roc)
Flags: wanted1.9+
Whiteboard: [wanted-1.9][patch] → [patch]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: