Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to copy-paste from LibreOffice Calc to Zim on GNOME desktop (but was possible with Unity) #673

Closed
barrel0luck opened this issue Feb 14, 2019 · 18 comments

Comments

@barrel0luck
Copy link

barrel0luck commented Feb 14, 2019

Before Ubuntu switched to the GNOME desktop, Zim on Unity could paste tables copied from LibreOffice Calc as an image. However, in 18.04, with the GNOME desktop, this does not work anymore. Instead I'm reduced to taking screenshots of tables and then embedding them into Zim, which takes longer and is more annoying.

@jaap-karssenberg
Copy link
Member

jaap-karssenberg commented Feb 14, 2019 via email

@barrel0luck
Copy link
Author

screenshot-20190215185910-423x260

@barrel0luck
Copy link
Author

Sorry, I accidentally closed the issue.

@barrel0luck barrel0luck reopened this Feb 15, 2019
@e3rd
Copy link
Contributor

e3rd commented Mar 11, 2019

Works for me perfectly, Zim 0.70-rc3, Ubuntu 18.10.

@barrel0luck
Copy link
Author

I'm on Ubuntu 18.04 LTS. I don't have that version of Zim. Even the flathub version is 0.69.1.
And it doesn't work on my system.

@e3rd
Copy link
Contributor

e3rd commented Mar 13, 2019

I am sorry for you then. :( I'm not sure there will be a patch backported to this version. You may either wait Jaap release a new version or try deploy the actual repository. It's in fact very easy:

  1. You just download the whole repository
  2. Put the contents of the data folder to /usr/share/zim/
  3. Put the contents of the zim folder to /usr/lib/python3.6/
  4. Put the contents of the zim.py file as /usr/bin/zim file

(This is unofficial but that worked for me.)

@barrel0luck
Copy link
Author

Thanks, I was not even sure if someone was aware of this bug. If it's been fixed already, I can wait for the new version.

@jaap-karssenberg
Copy link
Member

Not sure this depends on the zim version. Please let us know if it works again after the 0.70 release.

@barrel0luck
Copy link
Author

Okay, I will, thanks.

@barrel0luck
Copy link
Author

Hi, so I was testing this issue again and I have an update.
I'm on Zim version 0.71 now.
I still have the issue (but read further).
Since @e3rd commented that he did not, I decided to test if my notebook had the problem.
So I made a new one and there copy pasting worked perfectly.
However, copy pasting does not work in my previous notebook.
All I can think of is that my notebook is really really really long. It's just a single page notebook and I enter a new date as a new heading and not a separate page (I needed scrollable continuity between dates). So maybe after copy-pasting many many images in my notebook, I reached a point where this feature broke - and I thought at that time that it had something to do with updating the distro.
That being said, I'm still able to add images using Insert -> Image... in my previous notebook, but the shortcut Ctrl V does not work.
Hope this helps!

@jaap-karssenberg
Copy link
Member

jaap-karssenberg commented May 15, 2019 via email

@barrel0luck
Copy link
Author

Alright! Thanks!
You can do as you see fit with this issue.

@e3rd
Copy link
Contributor

e3rd commented Jul 26, 2019

What's the size of the big file and of the images?
Would you be able to re-make such a broken file with no personal traces in order to be uploaded here and tested by the community?

@barrel0luck
Copy link
Author

I tried to, but got tired and bored right away :)
I don't know how I can do what you are asking for.
My notebook has labnotes accumulated over years in it. So it's really big and has loads of images...

@e3rd
Copy link
Contributor

e3rd commented Jul 27, 2019

Every Zim page is stored as a pagename.txt file + pagename folder on the disk. Couldn't you check the folder and tell us what is the size of the file and size of the folder + number of files (images) in the folder? :)

@barrel0luck
Copy link
Author

Sure:
size of pagename.txt file: 681.1 kB
size of folder: 211.6 MB
number of files: 1964 files (all png images of screenshots or copy paste images from spreadsheets).

@e3rd
Copy link
Contributor

e3rd commented Jul 29, 2019

Thanks for the info, this may help in the future testing! :)

@jaap-karssenberg
Copy link
Member

Will close this issue unless there is a way to reproduce

@jaap-karssenberg jaap-karssenberg added the candidate for removal Tag to flag tickets that can be cleaned up label Dec 13, 2021
@introt introt removed the candidate for removal Tag to flag tickets that can be cleaned up label May 22, 2022
@introt introt closed this as not planned Won't fix, can't repro, duplicate, stale May 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants