Bug#840328: evince: Evince does not received correct keystroke under Wayland

Jason Crain jason at inspiresomeone.us
Mon Oct 10 23:45:36 UTC 2016


Control: tags -1 + moreinfo

On Mon, Oct 10, 2016 at 06:25:12PM +0200, Bruno BEAUFILS wrote:
> I use evince under gnome which runs on top of XWayland on stretch.
> 
> My laptop keyboard has a physicial UK layout.
> 
> I configured the keyboard through Gnome Control Center to use another layout
> (french one).
> 
> In any applications (or at least all the one I used so far) when I type the
> physical Q key, the application receive the A keystroke as expected.
> 
> It is not the case in evince (and as far as I know for now) only in evince:
> when I press the physical Q key, it receives the Q keystroke without respect of
> any keyboard settings layout.
> 
> I am unsure where to report this bug (Xwayland, Gnome or Evince) but since I am
> able to reproduce that bug only with evince so far, I try here.

I haven't been able to reproduce the behavior you describe.  Evince is
following the input sources the same as any other gnome app.  Here's
what I've tried:

1. Go into the gnome settings menu for region & language.
2. Add a new input source.  I picked French, so now I have two sources,
   English (US) and French.
3. An input source selecter widget appears in the gnome top bar showing
   "en" as my current input source.
4. I test this in gedit.
    a. Type a few q's in gedit and see q's are entered.
    b. Use the widget to switch to "fr" input source.
    c. Type a few q's in gedit and see a's are entered.
    d. Use widget to switch back to "en".
5. Test this in evince.  Open some random PDF.  Push the search button
   so I can see what I'm typing.
    a. Same as above, type q's and see q's are entered in the search
       bar.
    b. Use the widget to switch to "fr".
    c. Type some q's and see a's are entered in the search bar.



More information about the pkg-gnome-maintainers mailing list