Reply to post

Hot![BUG] Newlines and paragraphs are replaced by whitespace when copying text

Author
zeco
User
  • Total Posts : 0
  • Reward points: 0
  • Joined: 2017/06/02 20:14:14
  • Status: offline
2018/09/01 07:10:21 (permalink)

[BUG] Newlines and paragraphs are replaced by whitespace when copying text

When copying selected text from an article in @Voice, the text in the clipboard won't preserve newlines and paragraphs.
 
Thus copying a text like this:
 
Sample Headline

Sample paragraph.
Containing a newline.

Another paragraph.

 
will result in this clipboard content:
 
Sample Headline Sample paragraph. Containing a newline. Another paragraph.

 
The same behaviour applies when using sharing feature after marking text across paragraphs.
 
When converting to plaintext, <br/> tags should just be replaced by single newlines and <p>[...</p>] tags should each be followed by two newlines.
 
(My current version of the @Voice Android app is 15.2.3 on Android OS 7.1.2)

3 Replies Related Threads

    Admin
    Administrator
    • Total Posts : 275
    • Reward points: 0
    • Joined: 2010/11/22 00:00:00
    • Location: USA
    • Status: offline
    Re: [BUG] Newlines and paragraphs are replaced by whitespace when copying text 2018/09/01 08:15:06 (permalink)
    From which source (which app) do you copy this text? When I copy your sample text from your message opened in Chrome browser, and copy paste or mark and share, it works correctly, exactly as you wanted. Most likely the source app from which you copy does not copy correctly line markers etc.
     
    There is also an option in @Voice app, under "Reload or clear" button on top (circular arrows), which toggles between "Separate lines" and "Join lines". It appears if you open or paste plain text. Try both options.
     
    Whenever possible, do not use copy/paste or mark text and share, but simply the Share function or button in the source app, select @Voice icon as the target of share. It's faster and in many cases may work better than copying or marking text and sharing.
    zeco
    User
    • Total Posts : 0
    • Reward points: 0
    • Joined: 2017/06/02 20:14:14
    • Status: offline
    Re: [BUG] Newlines and paragraphs are replaced by whitespace when copying text 2018/09/01 08:52:20 (permalink)
    I wasn't clear enough that I'm referring to text that's already loaded in the @Voice app. So I'm not trying to copy text into the app but out of it.
     
    Here's an example: I shared the URL of an article from an RSS reader with @Voice, then paused the TTS reading at some point and selected and copied a passage of interest (not really, just for demonstration):
     
    ->
     
    Left picture: @Voice (changed color theme). Right picture: Viewing the clipboard content in Clip Stack (a clipboard manager)
     
    In the copied clipboard the paragraphs that I marked aren't divided by newlines anymore.
     
    Of course an immediate workaround would be to open the URL in a regular browser and copy the text from there, or to edit the clipboard text to reinstate the newline characters, so this isn't a huge issue. It still would be practical if this was fixed in @Voice.
    Admin
    Administrator
    • Total Posts : 275
    • Reward points: 0
    • Joined: 2010/11/22 00:00:00
    • Location: USA
    • Status: offline
    Re: [BUG] Newlines and paragraphs are replaced by whitespace when copying text 2018/09/03 20:29:42 (permalink)
    I will look into it and see if there is something I could do to improve this, thanks!
     
    Greg
    Jump to:
    © 2018 APG vNext Commercial Version 5.1