prateekmedia / budgie-clipboard-applet

A clipboard manager applet that can help you to store and manage clipboard content. Made with ♥️ for budgie desktop.
GNU General Public License v3.0
18 stars 5 forks source link

string_strip messages when copying images #18

Closed fossfreedom closed 3 years ago

fossfreedom commented 3 years ago

image

Testing v0.9

So in my setup I've got a QEMU 21.10 Ubuntu Budgie with the clipboard applet running.

On my host which happens to be 20.04 Ubuntu Budgie I have the budgie screenshot applet

I was taking a screenshot - I noticed when I was using the screenshot applet to copy the image in the virtual machine with the clipboard applet I saw two string_strip messages.

In addition I can see extra rows in the list box which I'm guessing is the attempt to copy the image (?) but as text (maybe)?

prateekmedia commented 3 years ago

I dont know, I have not implemented the feature yet.

Question : Do you have enabled anything extra settings using Budgie desktop settings of clipboard applet? Like Get selection on clipboard?

prateekmedia commented 3 years ago

I cannot reproduce the same error :( can you try the same on you 20.04 host machine or in any virtual box type thing.

I will try to remove some checks in the code like text !=null where necessary in trying to fix this and #17

fossfreedom commented 3 years ago

Try inkscape - just draw a square in inkscape and copy immediately via CTRL + C

On Sat, 5 Dec 2020 at 17:11, Prateek SU notifications@github.com wrote:

I cannot reproduce the same error :( can you try the same on you 20.04 host machine or in any virtual box type thing.

I will try to remove some checks like text !=null where necessary in trying to fix this and #17 https://github.com/prateekmedia/budgie-clipboard-applet/issues/17

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/prateekmedia/budgie-clipboard-applet/issues/18#issuecomment-739322268, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAHTHEDOISFUKGHMTLLDC6LSTJSSPANCNFSM4UOP3UZA .

prateekmedia commented 3 years ago

Ok lemme try and if it happens then I would remove extra unwanted checks and other things which are causing this

On Sat, 5 Dec 2020, 22:44 David Mohammed, notifications@github.com wrote:

Try inkscape - just draw a square in inkscape and copy immediately via CTRL + C

On Sat, 5 Dec 2020 at 17:11, Prateek SU notifications@github.com wrote:

I cannot reproduce the same error :( can you try the same on you 20.04 host machine or in any virtual box type thing.

I will try to remove some checks like text !=null where necessary in trying to fix this and #17 https://github.com/prateekmedia/budgie-clipboard-applet/issues/17

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub < https://github.com/prateekmedia/budgie-clipboard-applet/issues/18#issuecomment-739322268 , or unsubscribe < https://github.com/notifications/unsubscribe-auth/AAHTHEDOISFUKGHMTLLDC6LSTJSSPANCNFSM4UOP3UZA

.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/prateekmedia/budgie-clipboard-applet/issues/18#issuecomment-739322727, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJ3UGXENMLZC2I3PCRYLAUTSTJS67ANCNFSM4UOP3UZA .

prateekmedia commented 3 years ago

Fixed it but now a new warning is coming in terminal which is a minor one so it doesn't matter, I tried to reproduce it using Inkscape and my budgie-panel crashed everytime due to this, but now its just fine,

New error / warning, maybe its related to inkscape..?

SPDocument::doUnref(): invalid ref count! -1

and please don't open a new issue with this error as I don't know its solution till I fix #2