Bug 408044

Summary: No icon for Paste Reference Image From System Clipboard
Product: [Applications] krita Reporter: Dmitrii Utkin <loentar>
Component: Tools/Reference ImagesAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: ghevan, scottpetrovic
Priority: NOR    
Version: git master (please specify the git hash!)   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Screenshot with button with no icon

Description Dmitrii Utkin 2019-05-28 20:19:32 UTC
Created attachment 120362 [details]
Screenshot with button with no icon

I was testing a new feature "Paste Reference Image From System Clipboard" introduced in commit 00d3e6d939f05b28fd85eaa574ba94dd1f818c21 . It works perfectly, in exception the "paste" button has no icon and therefore looks absent (but still clickable if you have image in clipboard).

It's reproducible in version krita-4.3.0-prealpha-755c59f-x86_64.appimage


STEPS TO REPRODUCE
1. Copy an image to clipboard
2. Activate "References image tool"
3. Look on the Tool Options dock

OBSERVED RESULT

There is no button to paste, but it you hover the pointer between "Add Reference Image" and "Load Reference Images Set", a hint "Paste Reference Image From System Clipboard" will appear and the empty button is clickable.


EXPECTED RESULT
There should be a button with "paste" icon.


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Ubuntu 18.04


ADDITIONAL INFORMATION


I have fixed it in my fork, may I create a merge request?
Comment 1 Scott Petrovic 2019-05-28 20:33:16 UTC
Sure. Create a merge request. that would be great
Comment 2 Dmitrii Utkin 2019-05-28 20:54:52 UTC
MR: https://invent.kde.org/kde/krita/merge_requests/34
Comment 3 vanyossi 2019-06-03 16:27:47 UTC
Fixed by commit 4ddc08e6

Thanks Dmitry!