FS#38431 - [texmaker] opt-depends on ibus-qt5 which does not exists, seems to brake xorg keymap selection

Attached to Project: Community Packages
Opened by vnoel (kaouete) - Thursday, 09 January 2014, 09:13 GMT
Last edited by Jelle van der Waa (jelly) - Sunday, 24 August 2014, 10:23 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Federico Cinelli (Cinelli)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Hi,

I have two keyboard with different on my computer, xorg is configured to associate the correct keymap to each one of them, and I have been using them without problems for years like that, with any app including texmaker.

But I noticed today (coming back from vacations, so I haven't tried for some time) that when typing into texmaker, the keymap of the first keyboard is always used.

In my search for a solution I noticed that texmaker optionally depends on ibus-qt5, and since ibus has been known to be the reason for several input problems to me, I thought installing it would solve the problem.

Unfortunately, there is no ibus-qt5 package in the extra or community repository!

Thank you :)
This task depends upon

Closed by  Jelle van der Waa (jelly)
Sunday, 24 August 2014, 10:23 GMT
Reason for closing:  Fixed
Additional comments about closing:  fixed in 4.3-1
Comment by Felix Yan (felixonmars) - Thursday, 06 February 2014, 03:45 GMT
Qt5 has ibus support integrated and installed by default, I don't see the need for a seperate ibus-qt5 package, and there's no upstream for it.

Check out:
qt5-base /usr/lib/qt/plugins/platforminputcontexts/libibusplatforminputcontextplugin.so

I think texmaker should just remove that line of optdepend, since qt5-base is already a (indirectly) dependency.
Comment by vnoel (kaouete) - Thursday, 06 February 2014, 09:14 GMT
Hi,

I have been investigating this a bit and I found that bug from archlinux: https://bugs.archlinux.org/task/34746

And then a bunch of various bug report from qt: https://bugreports.qt-project.org/browse/QTBUG-28183, https://bugreports.qt-project.org/browse/QTBUG-32461, https://bugreports.qt-project.org/browse/QTBUG-25360

Also, here is a procedure to illustrate the problem easily:
Open texmaker (or any qt5 application it seems...)
type some thing to see that the characters are the correct ones
run in a terminal setxkbmap fr or whatever is different from your keyboard
type again in texmaker: it still uses the first keymap!

The main ideas are:
1) as Felix says the qt5-ibus does not need to exists
2) one can use ibus to fix the mentioned problem (it is complex and requires a lot of things to do...)
3) I think I understood this shouldn't be needed to use ibus, but I'm not totally sure why it just does not work out of the box or what is needed to that it just works...
4) that's a generalised problem for qt5 it seems
Comment by Will (Archery) - Monday, 10 February 2014, 20:36 GMT
I installed texmaker (about last week or so) and it was fine. Now I'm having issues with encoding. Accents are shown with a question mark. It's working well on my gentoo though.
Comment by Felix Yan (felixonmars) - Tuesday, 11 February 2014, 01:56 GMT
@Will
I don't think your problem has anything related to this bug report. But if you think it has, please describe the issues in detail, thanks.
Comment by Jelle van der Waa (jelly) - Friday, 30 May 2014, 19:16 GMT
Removed qt5-ibus from optdepends

Loading...