Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 1504 by [email protected]: [PATCH] Do not crash on missing/invalid DISPLAY envvar.
http://code.google.com/p/ibus/issues/detail?id=1504

OS (Linux distributions, UNIX or ...): Arch Linux
Architecture (i386, x86_64): x86_64
IBus version: 1.4.2
Input method name and version: ibus-qt 1.3.1
Python version: 3.2.3 and 2.7.3
dbus version: 1.6.4
dbus-python version: N/A
gtk version (if bug is about gtk applications):
qt version (if bug is about qt applications): 1.3.1

What steps will reproduce the problem?
1. Run an application that opens an input field without setting DISPLAY, but passing the -display argument

Example:
$ env -i TERM=$TERM HOME=$HOME pinentry-qt4 -display :0
GETPIN

What is the expected output?
Expected is a window after typing "GETPIN" where something can be entered.

What do you see instead?
When the window appears, it crashes right away.

Please provide any additional information below.

Patch: https://raw.github.com/Lekensteyn/aur/master/ibus-qt/0001-Do-not-crash-on-missing-invalid-DISPLAY-envvar.patch

--
You received this message because you are subscribed to the Google
Groups "ibus-devel" group.
iBus project web page: http://code.google.com/p/ibus/
iBus dev group: http://groups.google.com/group/ibus-devel?hl=en

回复