johnfactotum / foliate

Read e-books in style
https://johnfactotum.github.io/foliate/
GNU General Public License v3.0
6.15k stars 283 forks source link

Cannot close at the translation window after selecting a language #1118

Closed archisman-panigrahi closed 10 months ago

archisman-panigrahi commented 10 months ago

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  1. Select any word, and click on translation
  2. Select any language (other than English, which is selected by default).
  3. Translation appears, but Foliate does not receive click events anymore (only the translation window can be clicked on).
  4. At this point, there is no way to close the translation window, or do anything in Foliate. The Foliate window cannot be even dragged.

Expected behavior The translation window should be closed when the user clicks outside it.

Screenshots image

Version:

archisman-panigrahi commented 10 months ago

Also, this translation window goes on top on other windows (e.g. Firefox in this picture). Foliate is behind.

image

archisman-panigrahi commented 10 months ago

I compiled from source in Kubuntu 23.10, the bug is there. So, it is not flatpak specific.

johnfactotum commented 10 months ago

This is GTK bug: https://gitlab.gnome.org/GNOME/gtk/-/issues/5568