|
Bugzilla – Full Text Bug Listing |
| Summary: | yast-gtk: HTML poor rendering | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE 10.3 | Reporter: | Francis Giannaros <francis> |
| Component: | YaST2 | Assignee: | Michael Meeks <michael.meeks> |
| Status: | RESOLVED FIXED | QA Contact: | Jiri Srain <jsrain> |
| Severity: | Normal | ||
| Priority: | P5 - None | CC: | forgotten_h13THG8RK1, jdsn |
| Version: | Beta 3 | ||
| Target Milestone: | --- | ||
| Hardware: | Other | ||
| OS: | Other | ||
| Whiteboard: | |||
| Found By: | --- | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
| Attachments: | large line height | ||
|
Description
Francis Giannaros
2007-09-18 23:25:24 UTC
This is a rich text widget. Spacing is slightly different to the Qt version. Rich text is used in proposals etc all over YaST, not just here. And to make it clear, this *is* a bug. The problem here is that there is no good HTML widget for GTK+. * The Gecko based one is bloated. * GtkHtml (based on KHTML of yore) lacks proper search support which we use on the Help dialogs (I guess we could hack it somewhat like Evolution does). And since its basically only used by Evolution nowadays, some parts of it can be unstable at times, as they go untested -- had to cut support for it on a program I maintain. * GtkHtml2 (a fork of GtkHtml). It seems like its no longer maintained. And they all bring a lot of dependencies with them (and we are aiming for Xfce and other desktops here ;)) The problem with our custom HTML TextView is that we don't support tables. I have seen one tool, on -ux mailing list, that uses them. Anyway, I guess we should review our widget to fix these stuff, and worry about it when the time comes. As it is, we don't use our HTML widget directly, but we have a function set that wraps them, so we could hook support for another trivially. A HTML widget is pretty important nowadays, so I expect some proper one to come up (maybe based on KDE/Apple's WebKit). I have done some general review, and things should be much better now. Reporter, if you'd like to get SVN and check some of Yast tools HTML, that would be a great help... svn checkout http://svn.opensuse.org/svn/yast/trunk/gtk/ Very easy to compile (check README), and the install just involves copying a file. To get the source code of all RichText widgets, press Ctrl+Alt+Shift+H. Under tests/, there is RichText1.ycp where you can more extensible test the renderer. You can execute by doing: /usr/lib/YaST2/bin/y2base tests/RichText1.ycp gtk Thanks! |