|
Bugzilla – Full Text Bug Listing |
| Summary: | X11 settings are not correct if you generate a reference file | ||
|---|---|---|---|
| Product: | [openSUSE] SUSE LINUX 10.0 | Reporter: | Efthimios Toulas <etoulas> |
| Component: | AutoYaST | Assignee: | Marcus Schaefer <ms> |
| Status: | RESOLVED FIXED | QA Contact: | E-mail List <qa-bugs> |
| Severity: | Normal | ||
| Priority: | P5 - None | CC: | ug |
| Version: | RC 4 | ||
| Target Milestone: | --- | ||
| Hardware: | i386 | ||
| OS: | SUSE Other | ||
| Whiteboard: | |||
| Found By: | Development | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
| Bug Depends on: | |||
| Bug Blocks: | 97395 | ||
|
Description
Efthimios Toulas
2005-09-22 12:42:54 UTC
Markus, this seems to be a bug in AutoinstX11.ycp in the Read() function:
x11["window_manager"] = (string) eval (SCR::Read(
.sysconfig.displaymanager.DISPLAYMANAGER
));
x11["display_manager"] = (string) eval (SCR::Read(
.sysconfig.windowmanager.DEFAULT_WM
));
I would have fixed this on my own but it looks like the resolution is broken too
and I'm not sure how to fix that in the best way. It should be "1024x768 (SVGA)"
or something like that.
If I remember correctly, you changed those values with the new libsax.
1) yes window_manager and display_manager seems to be exchanged. fixed 2) yes libsax is using the entries from: cat /usr/share/sax/api/data/MonitorResolution 640x480=640x480 (VGA) 768x576=768x576 (PAL) 800x600=800x600 (SVGA) 1024x768=1024x768 (XGA) 1152x864=1152x864 (XGA) 1280x768=1280x768 (WXGA) 1280x800=1280x800 (WXGA) 1280x960=1280x960 (QVGA) 1280x1024=1280x1024 (SXGA) 1440x900=1440x900 (WXGA) 1400x1050=1400x1050 (SXGA+) 1600x1000=1600x1000 1600x1024=1600x1024 (WSXGA) 1600x1200=1600x1200 (UXGA) 1680x1050=1680x1050 (WSXGA+) 1900x1200=1900x1200 1920x1200=1920x1200 (WUXGA) 2048x1536=2048x1536 (QXGA) 2560x2048=2560x2048 (QSXGA) 2800x2100=2800x2100 (QSXGA+) 3200x2400=3200x2400 (QUXGA) If you want to set a resolution you have to use that strings otherwise libsax will not accept the resolution Marcus fixed the issue with the window_manager and display_manager. Uwe, can you adjust the monitor resolution settings please. Markus, in Read() of AutoinstX11.ycp you call: x11["resolution"] = (string) XLib::getActiveResolution(); that returns a wrong String (just "1024x768" for example) and that can't be used in the profile. That is the bug that I mentioned in comment #1 and where I'm not sure what would be the best way to fix it. yes this is correct, a very simple fix is to use XLib::getActiveResolutionString() fixed |