https://bugzilla.novell.com/show_bug.cgi?id=288730#c8
J. Daniel Schmidt changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |NEEDINFO
Info Provider| |ms@novell.com
--- Comment #8 from J. Daniel Schmidt 2007-08-28 10:04:45 MST ---
@Marcus: I think I found the cause - but need your advice here.
Have a quick look at y2log (from comment #6) line 2529.
It says 'No item "undef" exiting'. (The following couple of lines come from
yast as it exits and reboots, see the timestamp.)
This "undef" comes from XLib.pm::getDisplaySize line 236, @result = ("undef").
The following code checks if $traversal is defined and calculates the display
size. There is no else part for that if clause. So if $traversal is undefined
@result remains "undef" and returns it.
This is anyhow a valid return value, as the ycp expects a string, but XLib in
return expects a integer when setDisplaySize is called with this string.
Do you have an advice what to do in such an else part. What should be the
default here?
I could check the string before calling setDisplaySize and set it to your
fallback (in x11_proposal.ycp, line 285) in case it is an invalid string
("undef" is a valid string, but invalid in terms of containing only numbers).
The latter is ugly because XLib.pm::getDisplaySize remains buggy - so I prefer
to patch for XLib.pm.
Comment please.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.