|
Bugzilla – Full Text Bug Listing |
| Summary: | Yast-gtk local security module "overview" is not readable and well organized | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE 11.1 | Reporter: | Alberto Passalacqua <alberto.passalacqua> |
| Component: | YaST2 | Assignee: | Jiří Suchomel <jsuchome> |
| Status: | RESOLVED FIXED | QA Contact: | Jiri Srain <jsrain> |
| Severity: | Minor | ||
| Priority: | P5 - None | CC: | dmacvicar, forgotten_h13THG8RK1, jsuchome, mmeeks |
| Version: | Beta 2 | ||
| Target Milestone: | --- | ||
| Hardware: | Other | ||
| OS: | Other | ||
| Whiteboard: | |||
| Found By: | --- | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
| Attachments: |
Yast local security overview screen
Qt screenshot |
||
|
Description
Alberto Passalacqua
2008-10-06 03:48:48 UTC
Created attachment 243539 [details]
Yast local security overview screen
May be a html problem, or the gtk widget is not that capable? Duncan, no, yast2-gtk doesn't support tables, and there is no GTK HTML widget. There are tons of half-backed ones that require a lot of dependencies. Are either slow (mozilla) or unstable (like Novell's libgtkhtml for which anything not used for Evolution seems to crash the damn thing). And the APIs looks like mazes and none seems well maintained. Since we haven't found an instance where tables were needed in yast, we came up with our own html widget. But gtkhtml2 can be easily enabled at compilation, and we can easily plug into our html wrapper more widgets, so if you guys want, we can get support for tables.
It also looks like the security tool has no condition path for which to generate nice html for the ncurses UI:
if (display_info["RichTextSupportsTable"]:true) {} else {}
Either way, assign this to the security tool guy, and I'll work in the GTK UI end if needed.
Created attachment 243662 [details]
Qt screenshot
Ricardo, I don't know (yet) where's the problem, but in Qt this dialog looks correct...
Jiri, yast2-gtk doesn't support HTML tables. So the all thing looks broken. We can't add table support for our custom HTML renderer. It would mean not only re-writing it, but writing a lot of code that we currently re-use from the text widget we base it from. As stated, the GTK HTML rendering landscape isn't a very pretty sight. I'm sure in the near future Gnome will ship with a nice WebKit-based HTML renderer, so if possible, I would prefer to get by, and you guys would have to generate some nice HTML by testing "RichTextSupportsTable". (Don't you guys want to support ncurses anyway?) Michael, it seems Gnome is now shipping with WebKit. I added the hooks and we can enable the thing by uncommenting the respective code at configure.in.in. However, I got a linkage error in a Beta2 system (something like "-liciui not found"). Want to test there? fixed in yast2-security-2.17.5 (GTK uses Table widget, just like ncurses) |