fbmessenger icon indicating copy to clipboard operation
fbmessenger copied to clipboard

Can't input some caracters

Open geecko86 opened this issue 11 years ago • 10 comments

Whenever i want to input this caracter : ê , it doesn't work. This is the only caracter I've had an issue with, but it's a very important one in french.

geecko86 avatar Nov 03 '13 14:11 geecko86

Thanks for the report. Can you give me the details about your distro and desktop environment? Also, do you have a French keyboard layout, or are you typing the character some other way?

oconnor663 avatar Nov 03 '13 14:11 oconnor663

Yeah sure, should have done it right away.

I'm using a Belgian AZERTY keyboard. I just noticed that pasting the character does work. The way you should normally input the character is to press on the ^ key once and then press E. In fact I'm unable to write the ^ char too. Of course it's the same thing for ûôâî and all the "rare" accented characters.

I'm running Arch Linux, Gnome 3.10, python 3.3.2.

geecko86 avatar Nov 03 '13 15:11 geecko86

Being unable to type ^ at all sounds like it must be the cause. Does the bug repro in any other programs? I don't really know much about keyboards, but maybe you could show me the output of the xev program when you type ^. (That program is in the xorg-xev pacakge on arch.) Here's what I see:

KeyPress event, serial 37, synthetic NO, window 0x1000001,
    root 0x28a, subw 0x0, time 35639199, (67,117), root:(2213,236),
    state 0x11, keycode 15 (keysym 0x5e, asciicircum), same_screen YES,
    XLookupString gives 1 bytes: (5e) "^"
    XmbLookupString gives 1 bytes: (5e) "^"
    XFilterEvent returns: False

oconnor663 avatar Nov 12 '13 18:11 oconnor663

KeyRelease event, serial 37, synthetic NO, window 0x2400001,
root 0xa1, subw 0x0, time 11016042, (149,-25), root:(151,101),
state 0x0, keycode 34 (keysym 0xfe52, dead_circumflex), same_screen YES,
XLookupString gives 1 bytes: (5e) "^"
XFilterEvent returns: False    

KeyPress event, serial 37, synthetic NO, window 0x2400001,
root 0xa1, subw 0x0, time 11015962, (149,-25), root:(151,101),
state 0x0, keycode 0 (keysym 0x5e, asciicircum), same_screen YES,
XKeysymToKeycode returns keycode: 15
XLookupString gives 0 bytes: 
XmbLookupString gives 1 bytes: (5e) "^"
XFilterEvent returns: False

No it's the only program that has the issue.

geecko86 avatar Nov 12 '13 20:11 geecko86

Hi, I updated my clone of fbmessenger. I'm now able to input the ^ character, but when I try to write,say, "ê" I get "^e" instead.

geecko86 avatar Dec 19 '13 15:12 geecko86

It was working fine for a while (only noticed a few days ago). Not sure if you changed something, or if it was only because I messed with my locale on archlinux.

Anyway, updated from 129 to 151 via AUR, now instead of inputing " ô ", it gives me " ^o " again.

geecko86 avatar Feb 19 '14 10:02 geecko86

Wait no, it works fine again. Seems to be kind of random. Really weird.

Edit : Okay so I just opened up fbmessenger. Clicked on a contact's face. Pressed ^ and O. It gave me " ^o ". However : If I click on the input box before I type my message, I get the correct character. I only need to click the input box once. All subsequent windows will open up having focus in the input box.

This is probably related to #11 . Hope you can pinpoint the issue this way :). I didn't mean to close the issue, I'm clumsy.

geecko86 avatar Feb 19 '14 10:02 geecko86

Thanks for the extra info. Unfortunately, it looks like Facebook is going to shut down the endpoints that this app depends on, so it won't be alive for much longer. That means I probably won't have an opportunity to fix this bug. But I really appreciate your help with it, and I wish I could've learned what was going on.

oconnor663 avatar Feb 20 '14 00:02 oconnor663

Oh no ! :( Man that's so disappointing.

I do want to thank you for your work on this, it was exactly what I was looking for. I only regret I didn't commit anything to the repo.

Anyway, do you know what you're going to use as a replacement ? The thing with XMPP clients is they lack support for facebook's proprietary stuff.

Again, thanks man.

geecko86 avatar Feb 20 '14 00:02 geecko86

In practice I'll probably end up relying on Android Messenger for push notifications, and just open up the site when I want to send something. But I'm considering building a pure-Qt replacement, if I get time. I'll link to anything new in the README if it happens.

oconnor663 avatar Feb 20 '14 00:02 oconnor663