ubuntu-disable-trigger.patch is effectively not enabled
Bug #1870945 reported by
Gunnar Hjalmarsson
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ibus |
New
|
Unknown
|
|||
ibus (Ubuntu) |
Fix Released
|
Medium
|
Gunnar Hjalmarsson |
Bug Description
ubuntu-
Changed in ibus: | |
status: | Unknown → New |
To post a comment you must log in.
I tried to fix this by replacing:
if os.getenv( "XDG_CURRENT_ DESKTOP" ) == "Unity":
with:
desktop = os.environ. get('XDG_ CURRENT_ DESKTOP' )
if desktop and 'Unity' in desktop.split(':'):
But then ibus-setup didn't start at all under Unity:
$ ibus-setup ibus/setup/ main.py" , line 710, in <module> ibus/setup/ main.py" , line 120, in __init__ __init_ ui() ibus/setup/ main.py" , line 413, in __init_ui __init_ hotkeys( ) ibus/setup/ main.py" , line 130, in __init_hotkeys __init_ hotkey( name, label) ibus/setup/ main.py" , line 144, in __init_hotkey set_text( "; ".join(shortcuts))
Traceback (most recent call last):
File "/usr/share/
setup = Setup()
File "/usr/share/
self.
File "/usr/share/
self.
File "/usr/share/
self.
File "/usr/share/
entry.
AttributeError: 'NoneType' object has no attribute 'set_text'
$
Probably the affected upstream files have changed since the patch was written.
So does anyone have time/interest to maintain this patch? Or should we simply drop it? After all IBus seems to work fine (in focal) without it.