Public bug reported:

This may be the single weirdest bug report I've ever made.

Steps to Reproduce:
1: Open LibreOffice Calc.
2: In any cell of the spreadsheet, type:

       <a...@example.com>

   The email address placed inside the angle brackets can be whatever you want, 
but the angle brackets are necessary for the bug to surface (at least usually).
3: Press Enter. The email address will automatically be turned into a hyperlink.
4: Right-click the automatically created hyperlink, and click "Remove 
Hyperlink".

Expected result:
The actual text of the cell should remain unchanged, but the hyperlink itself 
should be removed.

Actual result:
The text within the cell morphs into the following:

    <abc@example.com...@example.com

The second copy of the text is not hyperlinked, but the first copy of
the text remains hyperlinked. And yes, the second angle bracket
disappears.

Right-clicking the leftover hyperlink and clicking "Remove Hyperlink"
again results in the text morphing into the following:

    <abc@example.comabc@example.co...@example.com

Notice the "m" of ".com" is missing in the second copy. The first copy
remains hyperlinked. Clicking on some other cell on the sheet
immediately after this second "Remove Hyperlink" will result in the
"abc@example.coabc" part of the text becoming its own hyperlink, while
clicking on the cell containing the corrupted text first and then
clicking elsewhere will result in only the first copy of the text being
a hyperlink.


Notes:

The bug can be worked around by double-clicking on the hyperlinked text,
*then* right-clicking the link and clicking "Remove Hyperlink".

I think I was able to get the bug to occur without the angle brackets
once, but I wasn't able to make it happen again.

I do not yet know if this bug occurs on anything except Ubuntu 22.04 (I
just discovered it while using LibreOffice for a project). I will do
more thorough testing if necessary and add any new findings as comments.

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: libreoffice-calc 1:7.3.5-0ubuntu0.22.04.1
ProcVersionSignature: Ubuntu 5.15.0-46.49-generic 5.15.39
Uname: Linux 5.15.0-46-generic x86_64
NonfreeKernelModules: wl
ApportVersion: 2.20.11-0ubuntu82.1
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Wed Aug 24 21:39:32 2022
InstallationDate: Installed on 2022-04-07 (139 days ago)
InstallationMedia: Ubuntu 22.04 LTS "Jammy Jellyfish" - Release amd64 (20220419)
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no username)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: libreoffice
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: libreoffice (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug jammy wayland-session

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to libreoffice in Ubuntu.
https://bugs.launchpad.net/bugs/1987579

Title:
  "Remove Hyperlink" feature causes text duplication and corruption when
  removing email hyperlinks inside angle brackets

Status in libreoffice package in Ubuntu:
  New

Bug description:
  This may be the single weirdest bug report I've ever made.

  Steps to Reproduce:
  1: Open LibreOffice Calc.
  2: In any cell of the spreadsheet, type:

         <a...@example.com>

     The email address placed inside the angle brackets can be whatever you 
want, but the angle brackets are necessary for the bug to surface (at least 
usually).
  3: Press Enter. The email address will automatically be turned into a 
hyperlink.
  4: Right-click the automatically created hyperlink, and click "Remove 
Hyperlink".

  Expected result:
  The actual text of the cell should remain unchanged, but the hyperlink itself 
should be removed.

  Actual result:
  The text within the cell morphs into the following:

      <abc@example.com...@example.com

  The second copy of the text is not hyperlinked, but the first copy of
  the text remains hyperlinked. And yes, the second angle bracket
  disappears.

  Right-clicking the leftover hyperlink and clicking "Remove Hyperlink"
  again results in the text morphing into the following:

      <abc@example.comabc@example.co...@example.com

  Notice the "m" of ".com" is missing in the second copy. The first copy
  remains hyperlinked. Clicking on some other cell on the sheet
  immediately after this second "Remove Hyperlink" will result in the
  "abc@example.coabc" part of the text becoming its own hyperlink, while
  clicking on the cell containing the corrupted text first and then
  clicking elsewhere will result in only the first copy of the text
  being a hyperlink.


  Notes:

  The bug can be worked around by double-clicking on the hyperlinked
  text, *then* right-clicking the link and clicking "Remove Hyperlink".

  I think I was able to get the bug to occur without the angle brackets
  once, but I wasn't able to make it happen again.

  I do not yet know if this bug occurs on anything except Ubuntu 22.04
  (I just discovered it while using LibreOffice for a project). I will
  do more thorough testing if necessary and add any new findings as
  comments.

  ProblemType: Bug
  DistroRelease: Ubuntu 22.04
  Package: libreoffice-calc 1:7.3.5-0ubuntu0.22.04.1
  ProcVersionSignature: Ubuntu 5.15.0-46.49-generic 5.15.39
  Uname: Linux 5.15.0-46-generic x86_64
  NonfreeKernelModules: wl
  ApportVersion: 2.20.11-0ubuntu82.1
  Architecture: amd64
  CasperMD5CheckResult: pass
  CurrentDesktop: ubuntu:GNOME
  Date: Wed Aug 24 21:39:32 2022
  InstallationDate: Installed on 2022-04-07 (139 days ago)
  InstallationMedia: Ubuntu 22.04 LTS "Jammy Jellyfish" - Release amd64 
(20220419)
  ProcEnviron:
   TERM=xterm-256color
   PATH=(custom, no username)
   XDG_RUNTIME_DIR=<set>
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: libreoffice
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1987579/+subscriptions


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to