https://bugs.kde.org/show_bug.cgi?id=461508

            Bug ID: 461508
           Summary: Impact of pasting and deleting many paragraphs on
                    "Words Written"?
    Classification: Applications
           Product: ghostwriter
           Version: unspecified
          Platform: Flatpak
                OS: Linux
            Status: REPORTED
          Severity: task
          Priority: NOR
         Component: general
          Assignee: megan.con...@kdemail.net
          Reporter: mini...@gmail.com
  Target Milestone: ---

I'm not 100% sure if that is a bug or by design, so let me phrase it as a
question:
how should "Words Written" statistic behave when I paste larger amount of text,
or when I select and remove it?

In my experience, everything that I paste counts as "Words Written", and
everything that I select and remove subtracts from "Words Written". So if I
re-write 5 paragraphs of text, "Words Written" will claim I have written 5
words. But that is incorrect - I have written 300 words spread across 5
paragraphs, and then deleted other 5 paragraphs, and it all canceled out.

I'm tempted to say that deleting content should not subtract from "Words
Written". And pasting content should not add to "Words Written", but I imagine
this might be harder to detect and handle. But at the end of the day I'm not
sure if there's some reason to it that I am missing, or is it clearly a bug. 

Or maybe there's a room for 2 different statistics - one for words written
(that one can only go up), and one for "net words written" / "new words added"
(that one would show 5 if I write 10 words and then delete 5)?


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: ghostwriter 2.2.0 from flathub
KDE Plasma Version: org.kde.Platform 5.15-21.08
KDE Frameworks Version: org.kde.Platform 5.15-21.08
Qt Version: 5.15.6

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to