Bug 1731893 - instead of disk name with ampersand another disk name is displayed
Summary: instead of disk name with ampersand another disk name is displayed
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: gnome-disk-utility
Version: 31
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: David King
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-07-22 10:07 UTC by Matej
Modified: 2019-08-13 18:58 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:


Attachments (Terms of Use)
label changes when mouse hovers (185.30 KB, video/webm)
2019-07-22 10:07 UTC, Matej
no flags Details

Description Matej 2019-07-22 10:07:22 UTC
Created attachment 1592555 [details]
label changes when mouse hovers

Description of problem:

Wrong disk name is displayed in the left pane and in the model part of the disk.

Most probable cause is that the disk name includes ampersand (I can't test the same SD card in different device just now).

Version-Release number of selected component (if applicable):

3.32.1


How reproducible:

always


Steps to Reproduce:
1. connect H1 Zoom audio recorder with an SD card over USB
2. open gnome-disks

Actual results:

The mounted SD card in H1 Zoom has wrong name displayed. Instead of "ZOOM H1 SD R&W (000)" another disk name is displayed. The name changes when mouse hovers over the label (see video).

on the console:

(gnome-disks:17148): Gtk-WARNING **: 11:58:05.033: Failed to set text 'ZOOM H1 SD R&W (000)' from markup due to error parsing markup: Error on line 1: Entity did not end with a semicolon; most likely you used an ampersand character without intending to start an entity — escape ampersand as &

(gnome-disks:17148): Gtk-WARNING **: 11:58:05.034: Failed to set text from markup due to error parsing markup: Error on line 2: Entity did not end with a semicolon; most likely you used an ampersand character without intending to start an entity — escape ampersand as &


Expected results:

"ZOOM H1 SD R&W (000)" and correct size displayed


Additional info:

Comment 1 Ben Cotton 2019-08-13 18:58:34 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 31 development cycle.
Changing version to 31.


Note You need to log in before you can comment on or make changes to this bug.