UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    PDF readers - no way to select and copy part of a text

    Scheduled Pinned Locked Moved Unsolved Support
    10 Posts 5 Posters 136 Views 4 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
      Reply
      • Reply as topic
      Log in to reply
      This topic has been deleted. Only users with topic management privileges can see it.
      • U Offline
        ubuntoutou
        last edited by

        None of the PDF readers available in xenial (16.04) allow to select and copy part of a text for later pasting in another application.

        Is there a way around this?

        lduboeufL 1 Reply Last reply Reply Quote 0
        • lduboeufL Offline
          lduboeuf @ubuntoutou
          last edited by

          @ubuntoutou said in PDF readers - no way to select and copy part of a text:

          None of the PDF readers available in xenial (16.04) allow to select and copy part of a text for later pasting in another application.

          Is there a way around this?

          I don't know any, interested too to know.
          Same siruation on Noble afaik

          1 Reply Last reply Reply Quote 0
          • B Offline
            bespinas
            last edited by

            I can select and copy text with PDFjs!

            https://open-store.io/app/pdfjs.pparent

            It works with PDF files that contain actual text (as in, PDF files that aren't visual scans of text... I don't know how to say this!).

            Is it available in Xenial? I'm on 24.04-1.0.

            D 1 Reply Last reply Reply Quote 1
            • D Offline
              domubpkm @bespinas
              last edited by

              @bespinas It's true. The copy works under Noble. However, pasting text directly into Tedit app @danfro will be unreadable. My trick is first to paste the copied text into an SMS, then copy the content of the SMS and after paste the content into a Tedit file.

              danfroD 1 Reply Last reply Reply Quote 0
              • danfroD Offline
                danfro @domubpkm
                last edited by

                @domubpkm I tried a pdf with PdfJS and I can copy&paste content into tedit app. But I do know, some pdf obscure the content and permit copy&paste. Have you tried copying from this pdf on a computer?

                Also how did you paste into tedit? I found out, that pasting via the toolbar button does work, but using the osk paste function seems not to work.

                danfroD 1 Reply Last reply Reply Quote 0
                • danfroD Offline
                  danfro @danfro
                  last edited by

                  Actually, just saw, the osk pasted text have a "wrong" text color, so here it came up as black text on black background. Might be that?

                  D 1 Reply Last reply Reply Quote 0
                  • D Offline
                    domubpkm @danfro
                    last edited by

                    @danfro Shouldn't we implement a parameter in Tedit to change the background color of the note area? Indeed, in one essay, the text is pasted into tedit but unreadable. But, surprisingly, if I reselect unreadable pasted text, the selection is visible. But, if I deselect, I no longer see anything!

                    danfroD 1 Reply Last reply Reply Quote 0
                    • danfroD Offline
                      danfro @domubpkm
                      last edited by

                      @domubpkm You can already choose a note area background color in tedit settings. If you have black/white, it picks that depending on your system color scheme.

                      D 1 Reply Last reply Reply Quote 0
                      • D Offline
                        domubpkm @danfro
                        last edited by

                        @danfro You are right: pasted text is only visible if you use either the paste option from the Tedit toolbar or the Tedit paste shortcut button. If you use OSK, the pasted text is invisible as well as if you want to paste with the paste option during a prolonged finger press.

                        danfroD 1 Reply Last reply Reply Quote 0
                        • danfroD Offline
                          danfro @domubpkm
                          last edited by

                          @domubpkm I guess, the osk option does keep formatting. tedit option inserts text only.

                          1 Reply Last reply Reply Quote 0
                          • First post
                            Last post