Closed Bug 502537 Opened 15 years ago Closed 15 years ago

Tabpanels not rendered properly on some GTK themes

Categories

(Core :: Widget: Gtk, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla1.9.2a1

People

(Reporter: ventnor.bugzilla, Assigned: ventnor.bugzilla)

References

Details

Attachments

(1 file)

Attached patch PatchSplinter Review
We have a hacky way of drawing tabpanels to still look good, but on some themes that causes some problems. So what better way to solve it than an even hackier way to draw them? This is another problem revealed by the New Wave theme.

Such is life when our way of drawing tabs is different to GTK's.
Attachment #386937 - Flags: superreview?(roc)
Attachment #386937 - Flags: review?(roc)
Attachment #386937 - Flags: superreview?(roc)
Attachment #386937 - Flags: superreview+
Attachment #386937 - Flags: review?(roc)
Attachment #386937 - Flags: review+
Keywords: checkin-needed
What a relief we don't have to cater for the broken engines not obeying to clip
rects !
(In reply to comment #1)
> What a relief we don't have to cater for the broken engines not obeying to clip
> rects !

If we can't rely on clip rects than that doesn't really leave us with any options...
Engines expose bugs in our code, if we expose bugs in an engine's code for it to be fixed then that's more for the better. The Moblin themer back at the Dublin hackfest was certainly thankful :-)
And if there are engines out there that don't support the clip rects for tabpanels, the worst that happens is that the tabpanel is drawn twice. If the engine is bad enough to not support clipping then I doubt it would support translucent tabpanels.
http://hg.mozilla.org/mozilla-central/rev/df54fd4ae7ad
Status: NEW → RESOLVED
Closed: 15 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9.2a1
Yeah, the problem is rather when the clipping isn't supported during the painting of the handles of the notebook, ie the tabs themselves. And all the engines I encountered that didn't obey clipping did so for every paint primitive. But each time it was considered a bug in the engine by their creators/maintainers so it's not that bad. (IIRC, human was plagued by that, but that was the only non-obscure engine that was)
Depends on: 503862
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: