Bug 334477 - pinentry-qt4 uses wrong style (motif)
Summary: pinentry-qt4 uses wrong style (motif)
Status: RESOLVED WORKSFORME
Alias: None
Product: kmail2
Classification: Applications
Component: crypto (show other bugs)
Version: 4.13.0
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-07 18:12 UTC by Daniel Boff
Modified: 2014-05-09 10:29 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Boff 2014-05-07 18:12:52 UTC
Hi!

I just set up encryption within kmail and it works like a charm. However, I think the pinentry dialog doesn't behave as I should:

1. I use the oxygen style in my workspace, but the dialog appears to be in motif style ( see screenshot on http://tinypic.com/view.php?pic=ve5hs3&s=8#.U2p3KnVfP0o )

2. The dialog grabs my keyboard, whenever it is opened I can only use the keyboard for this dialog.


Reproducible: Always

Steps to Reproduce:
1. Setup encryption in kmail
2. Send a email
3. The dialog opens, but not in the same style as the rest of my desktop
Comment 1 Daniel Boff 2014-05-07 19:11:04 UTC
Nevermind, I tried a lot of different stuff before writing this bugreport. I checked the source code of pinentry and found out that it probably isn't related to this application or kmail.

So, I thought it just might be a library / symlink problem with my distribution and found that oxygen.so was present in /usr/lib/kde4/plugins/styles but not in /usr/lib/qt4/plugins/styles
After copying the library the style of pinentry-qt4 is correct - I'll file a bugreport in the archlinux bugtracker
Comment 2 Christoph Feck 2014-05-08 20:56:29 UTC
The issue probably is that pinentry runs as a different user (root?) for which no KDE session has been started. Then KDE's plugins are not added to the Qt paths.
Comment 3 Daniel Boff 2014-05-09 10:29:42 UTC
Yes, I also think so, but probably pinentry is not executed with root, because I dont have too enter my root password nor my sudo password at any point. Could this issue fixed in kmail after all and is not distribution specific?