Bug 303843

Summary: vnc opens window "... xinputextension missing"
Product: [openSUSE] openSUSE 10.3 Reporter: Martin Lasarsch <martin.lasarsch>
Component: YaST2Assignee: Martin Vidner <mvidner>
Status: RESOLVED DUPLICATE QA Contact: Jiri Srain <jsrain>
Severity: Enhancement    
Priority: P5 - None    
Version: Beta 2   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: screenshot of error window

Description Martin Lasarsch 2007-08-23 13:02:10 UTC
the same message is shown in the konsole as you can see on the screenshot.

Use vnc, in the vncsession start YaST2 (no matter how), start another module, close the module, see error message window.

Previous versions only showed it in the konsole window, but never opened a window.
Comment 1 Martin Lasarsch 2007-08-23 13:03:26 UTC
Created attachment 159469 [details]
screenshot of error window
Comment 2 Stefan Dirsch 2007-08-23 14:55:10 UTC
Looks like YaST2 is responsible for this.

# strace -f -efile yast2 2>&1 | grep xmessage
execve("/usr/bin/xmessage" [...])

Might be a feature.
Comment 3 Stefan Hundhammer 2007-08-27 09:39:31 UTC
The xmessage window indeed is considered a feature: It's supposed to show the user any messages that appear on the shell if you start YaST2 from the command line. Those messages get lost if started from another X program, including KDE / GNOME menus or control centers.

I assume that this particular message had always appeared, but no user ever saw it (or none ever bothered about it).

The question is: Is there any real problem with that, or is it just an irrelevant message? Were there any problems with input?

Mike, any clue?
Comment 4 Stefan Hundhammer 2007-08-27 12:24:14 UTC
See also bug #265263
Comment 5 Mike Fabian 2007-08-27 14:01:08 UTC
Stefan Hundhammer> Mike, any clue?

The XInputExtension has nothing to do with Japanese or Chinese input.

It is used for devices like Graphic tablets.

Apparently it is not necessary on VNC:

   http://realvnc.com/pipermail/vnc-list/2005-December/053489.html


Comment 6 Mike Fabian 2007-08-27 14:19:35 UTC
It might be a qt3 bug. ‘qtconfig’ from ‘qt3’ already shows this
warning:

mfabian@magellan:~$ /usr/lib/qt3/bin/qtconfig
Xlib: extension "XInputExtension" missing on display "magellan:2.0".
Failed to get list of devices
mfabian@magellan:~$

But ‘qt4’ doesn’t show this warning anymore:

mfabian@magellan:~$ /usr/bin/qtconfig
mfabian@magellan:~$

Comment 7 Stefan Hundhammer 2007-08-27 16:15:59 UTC
OK. Then I fear VNC users will have to live with that for this release. We are phasing out Qt-3 anyway, so the bug will fix itself with the next release that will be use Qt-4.
Comment 8 Martin Lasarsch 2007-08-28 12:50:53 UTC
why not add a variable to /etc/sysconfig/yast2 and check it?

## Type: boolean
## Default: true
#
# If this variable is set to "false", the xmessage window will not appear.
# If you use vnc, you want to set it to false.
#
Y2_SHOW_XMESSAGE=true

parse it, add an simple "if = true" in the redirect function, 2 minutes work :-)
Comment 9 Martin Lasarsch 2007-08-28 12:52:29 UTC
see #8, thanks
Comment 10 Martin Vidner 2007-09-04 06:13:26 UTC
Well no, I fixed it to show an xmessage only if yast fails.

*** This bug has been marked as a duplicate of bug 265263 ***