Gentoo Archives: gentoo-user

From: Dale <rdalek1967@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Libreoffice and pasting HTML from web pages.
Date: Tue, 03 Mar 2020 00:35:50
Message-Id: 9dab7793-ffd2-0883-3286-22b9d98268ea@gmail.com
In Reply to: Re: [gentoo-user] Libreoffice and pasting HTML from web pages. by Michael
1 Michael wrote:
2 > On Monday, 2 March 2020 23:07:03 GMT Dale wrote:
3 >> Howdy,
4 >>
5 >> I don't use LOo a whole lot but several months ago, I noticed a
6 >> problem. Sometimes I go to a electronic type website that has info on
7 >> circuits and how something works. Those pages usually contain text,
8 >> pics and such. I highlight what contains the info I want, which may
9 >> include some things I don't, then copy it to my clipboard. I then go to
10 >> LOo and paste it as HTML since that's what it is. Once pasted, I remove
11 >> things I don't want, such as social media icons and other unwanted
12 >> things. I also make some images larger, make text larger and such as
13 >> well. When I get it right, I print it as a pdf file or save it as a LOo
14 >> document. That's how I did it in the past. When I would paste the
15 >> contents, it would include images and all and would be done in seconds,
16 >> well under a minute for sure.
17 >>
18 >> When I paste the content now, it doesn't include pics. The boxes is
19 >> there and text for the link to the image but no image. It also locks
20 >> LOo up for minutes. If I try to scroll up or down, it locks up again.
21 >> Even with all that, it never loads the images. I end up killing the
22 >> process. I think this started when the 6.3.* versions came out. I
23 >> would normally go back to a older version but those are no longer in the
24 >> tree. I'm wondering if a USE flag could make it work again. I used euse
25 >> -i to see what each flag does but I'm not seeing anything that would
26 >> change it. What I think the problem could be, LOo can't reach the
27 >> network anymore. In the past when I pasted content, I could see
28 >> activity on the network. I think LOo was fetching the pics and maybe
29 >> even some other info as well. Thing is, I don't see why it can't now.
30 >> Again, USE flag maybe???
31 >>
32 >> Here is the info for libreoffice.
33 >>
34 >>
35 >> root@fireball / # emerge -av libreoffice
36 >>
37 >> These are the packages that would be merged, in order:
38 >>
39 >> Calculating dependencies... done!
40 >> [ebuild R ~] app-office/libreoffice-6.3.5.2::gentoo USE="cups dbus
41 >> gtk java kde mariadb pdfimport -accessibility -bluetooth -branding
42 >> -coinmp -debug -eds -firebird -googledrive -gstreamer -gtk2 -ldap -odk
43 >> -postgres -test" LIBREOFFICE_EXTENSIONS="-nlpsolver -scripting-beanshell
44 >> -scripting-javascript -wiki-publisher" PYTHON_SINGLE_TARGET="python3_6
45 >> -python3_7 -python3_8" 233,805 KiB
46 >>
47 >> Total: 1 package (1 reinstall), Size of downloads: 233,805 KiB
48 >>
49 >> Would you like to merge these packages? [Yes/No] n
50 >>
51 >> Quitting.
52 >>
53 >> root@fireball / # equery list -po libreoffice
54 >> * Searching for libreoffice ...
55 >> [-P-] [ ] app-office/libreoffice-6.3.4.2-r1:0
56 >> [IP-] [ ] app-office/libreoffice-6.3.5.2:0
57 >> [-P-] [ -] app-office/libreoffice-6.3.9999:0
58 >> [-P-] [ -] app-office/libreoffice-9999:0
59 >> root@fireball / #
60 >>
61 >>
62 >> Anyone have a clue how to fix this?
63 >>
64 >> Thanks.
65 >>
66 >> Dale
67 >>
68 >> :-) :-)
69 > I haven't looked into how LO works, but it may have something to do with the
70 > tonne of JavaScript HTML pages contain these days and how this is processed/
71 > filtered. When I try it here it works for small amounts of text/pics, but
72 > unlike your LO, I do not have java installed as a dependency.
73 >
74 > An alternative you could try is to save the page as HTML - File/Save Page As.
75 > Then select one of the options to save it as below, which when you open with
76 > LO does not take long to process. If you select 'HTML page complete' it will
77 > save all JS and images in a separate folder, which you could delete
78 > thereafter, or repurpose as you see fit.
79
80 Now that helps a LOT.  It works just like it used to work.  Very fast
81 too.  It took maybe one to two seconds and it was done.  Everything is
82 there too.
83
84 It takes a long while to compile LOo but I'm going to try disabling java
85 just to see if that helps.  I'm not sure what all the page contains but
86 here's a link to the page I just tested this with.  It's not like it is
87 some super secret site or anything.
88
89 https://www.electronics-tutorials.ws/waveforms/555-circuits-part-1.html
90
91 It looks like plain stuff to me but I have no idea what is going on
92 behind the scene.  Maybe some others will enjoy that site.  It has some
93 good info and they add stuff pretty regular. 
94
95 Thanks much.  It's a workaround but at least I can get them copied and
96 printed now.  ;-)
97
98 Dale
99
100 :-)  :-) 

Replies

Subject Author
Re: [gentoo-user] Libreoffice and pasting HTML from web pages. madscientistatlarge <madscientistatlarge@××××××××××.com>