[Github-comments] [geany/geany] Dead keys lost on editor, but not in other places (#2575)

Pablo ROMERO QUINTEROS notifications at xxxxx
Mon Aug 17 17:03:59 UTC 2020


The version number of Geany: 1.36
The version number of GTK+ (can be printed with geany -V): 3.24.14
> geany 1.36 (compilado el día 2020-03-22 conGTK 3.24.14, GLib 2.64.1)

Your OS details: Ubuntu 20.04

```
$ uname -a
Linux leia 5.4.0-42-generic #46-Ubuntu SMP Fri Jul 10 00:24:02 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
```

Seems to be related to #2105 

---
**Normal open**
Dead keys works in all the system: gedit, firefox, libreoffice and others.

Up to a weeks ago (01/08/20 more or less) Geany was working ok. With no changes on Geany but the normal system updates now Geany behaves in a different way:
- Editor: Dead keys makes a blink on the whole window
- Draft: Dead keys ok
- Terminal: Dead keys ok

**Verbose**
In verbose mode (geany -v) I can see this message when I press a dead key on the Editor:

```
Gdk-Message: 18:46:05.005: Window 0x55ba970a1380 is a temporary window without parent, application will not be able to position it on screen.
```

It doesn't matter which dead key, all the time is the same message (timestamp updated).

No message when a dead key is pressed on Draft or Terminal, there just works ok.

**XMODIFIERS**
Setting XMODIFIERS to `@im=none` have no difference on the behavior of the dead keys. Again the error message on the Editor and works ok on Draft and Terminal

```
XMODIFIERS="@im=none" geany -v
```


**Force X11**
When forced to X11 the Editor comes back to work ok:

```
GDK_BACKEND=x11 geany -v
```

No error messages. The behavior is ok on Editor, Draft and Terminal.


**WORKAROUND**
As pointed out on #2105, seems like the workaround is to force X11 on the bashrc file to use Geany normally.

Just add this line to your .bashrc file:
```
export GDK_BACKEND=x11
```

**To be improved**
Maybe the Editor need the same component or behavior like Draft.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/2575
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20200817/6909ef80/attachment.htm>


More information about the Github-comments mailing list