Bug 280191

Summary: Allow turning off or resizing the generated QR codes
Product: [Applications] kaddressbook Reporter: David Pyke <kdebugs>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: wishlist CC: amihere007, dariocambie, debian, kdepim-bugs, theta-delta, ThomasBleher, tokoe, winter
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In: 4.7.3
Sentry Crash Report:

Description David Pyke 2011-08-16 13:58:01 UTC
Version:           4.7 pre (using KDE 4.7.0) 
OS:                Linux

For each contact, kontact generates QR codes and places large versions in the display window.  There is currently (that I could find) no way to resize or remove these images that are not useful to me and detract from my visual experience.



Reproducible: Always



Expected Results:  
An option in the configuration menu to resize or disable the display of these images.
Comment 1 Christophe Marin 2011-09-16 09:44:33 UTC
I agree (and won't mention the colors don't match the desktop color scheme :-))
Comment 2 Petr Zmek 2011-09-22 22:32:15 UTC
Hello, 
I have to confirm that this "feature" is really uselless, at least in this form. Is it possible to make option to switch these bars off? I know no KDE user who is pleased with these big qr bars and who needs them on a laptop/desktop. If it's not possible to add the option, is there any option to resize them to acceptable size?

Many thanks,
Petr
Comment 3 Christophe Marin 2011-09-22 23:32:28 UTC
Finally, your attitude is not better than Markus' one. What is useless for you is useful for other users.
If you know no KDE users pleased by this feature, that only means you don't know enough of those.
Comment 4 Torsten Dörschel 2011-09-28 18:02:38 UTC
Dear KDE PIM developers and Bug Squad,

obviously this is not a "bug" by definition, but you included it as a feature. I admit not to read the changlog and all feature discussions, and I can imagine you want QR code because it is fancy right now to have - "just take a picture of my screen with your smartphone, and there you go with the contact!"

But there is no way to deny that it simply looks huge and ugly. Kontact will never be used in any office if it keeps on like this. Over the last months and years we struggled with transition to Akonadi, which seems to be kinda working now. And then you include this? Which non-geek computer user would like it? What do you think, how often will a contact be copied by this, compared to how often one uses the adress book?
And even worse: Imagine you use your kontact now in public space, or big office. Anyone passing by can quickly take a picture and have all contact infos that you have open right now.

I always missed ANY easy configuration options of kadressbook appearance. But this makes it from "okay-not-the-optimum-but-i-use-it-not-sooo-often" to "I-do-not-want-to-get-this-contact-info-because-there-is-...-THIS"

@Christophe: Please do not show off with "I know more KDE user people than you". Just please take a deep breath, a tea, and really think about the use and appearance and problem of this feature, and if it can be improved.
Comment 5 Thomas Bleher 2011-10-01 10:37:42 UTC
Dear KAddressbook developers,

I just want to add that I, too, would greatly appreciate an option to turn of the generated QR-Codes. I do not own any device that can interpret these codes, so for me they are just distracting patterns on the screen.

Maybe a compromise would be to add a button "Show QR-Code". Then anyone who needed this code could quickly show it, without annoying the users who don't need the code.

Best regards,
Thomas Bleher
Comment 6 Allen Winter 2011-10-17 22:34:38 UTC
For KAddressbook 4.8, there is an option on the menu for Settings->Show QR Codes.

Unfortunately, it is not possible to backport this to KAddressbook 4.7 since the fix contains new translatable strings.  However, there is a hidden option people can set to disable QR codes.  Simply create a file in ~/.kde/share/config called
akonadi_contactrc and add the 2 lines:
[View]
QRCodes=false

So this is fixed partially in 4.7.3 and fully in 4.8.
Comment 7 Dario Cambié 2011-10-18 06:35:32 UTC
Thank you very much for your work! :)
Comment 8 Torsten Dörschel 2011-10-18 15:34:11 UTC
Sincere thanks from me as well!
Comment 9 Allen Winter 2011-10-18 21:17:09 UTC
For the record, I'm not that enthusiastic about the fix I implemented.

The main problem is that I've turned KAddressbook into a configuration tool for any application that uses the contact viewer API.  As it is now, you can't show the QR codes in appfoo if you turn them off in KAddressbook.

Each application needs to be able to configure independently.  Which means the API needs an option to toggle the QR code display.

but...
Comment 10 Sander van Grieken 2011-11-03 10:41:38 UTC
What about simply showing a 'web link' that shows/hide the QR code? Making it a global persistent setting is not the ideal solution for a 'occasional use' feature.