Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-92123

Flatpak commands leave escape codes on the next prompt

Linking RHIVOS CVEs to...Migration: Automation ...SWIFT: POC ConversionSync from "Extern...XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • rhel-9.5
    • flatpak
    • None
    • No
    • None
    • rhel-display-window-mgmt
    • ssg_display
    • None
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • Unspecified
    • Unspecified
    • Unspecified
    • None

      What were you trying to do that didn't work?

      After running a flatpak command escape codes are printed on the prompt.

      Error: Server returned status 404: Not Found
      error: Failed to install com.redhat.Platform: Server returned status 404: Not Found
      [root@bm-rhel9-01 ~]# ;16R 

      Similarly after a successful `flatpak install Firefox` another escape code was printed to the terminal.

              ID                           Branch          Op         Remote          Download
              ID                           Branch          Op         Remote          Download
       1. [✓] org.mozilla.Firefox          stable          i          katello         156.3 MB / 156.3 MBInstallation complete.
      [root@bm-rhel9-01 ~]# ;50R 

      And after uninstalling Firefox as well

              ID                         Branch       Op
              ID                         Branch       Op
       1. [-] org.mozilla.Firefox        stable       r
      Uninstalling…
      [root@bm-rhel9-01 ~]# ;14R

      Also not the double header line

      What is the impact of this issue to you?

      escape code needs to be removed before typing the next command.

      Please provide the package NVR for which the bug is seen: flatpak-1.12.9-4.el9_6.x86_64

      How reproducible is this bug?: every time

      Steps to reproduce

      1. `flatpak install Firefox` or `flatpak uninstall Firefox`

      Expected results

      Output is properly formatted, no double headers and no escape codes printed on the prompt.

      Actual results

      see above

              sewick@redhat.com Sebastian Wick
              rhn-support-bmertens Bram Mertens
              Sebastian Wick Sebastian Wick
              Petr Schindler Petr Schindler
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: