file selection on /dev returns wrong filename

Bug #623450 reported by Muflone
22
This bug affects 4 people
Affects Status Importance Assigned to Milestone
zenity (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

Binary package hint: zenity

1) The release of Ubuntu you are using:
Description: Ubuntu 10.04.1 LTS
Release: 10.04

2) The version of the package you are using:
zenity 2.30.0-0ubuntu1

3) What you expected to happen
When a device file is selected in /dev path, such file should be returned

4) What happened instead
A lot of random behaviours: wrong file is selected, sometimes it opens a folder as the user tried to open a folder instead of a file. When I try to select a file via keyboard arrows the selection bounding box continues to move in the selection list.

5) Steps to reproduce:
open a terminal with bash console and type
zenity --file-selection
move to file system
open dev folder
select a device file like 'console'
press ok
the returned file on the terminal is (randomly) /dev/cpu_dma_latency or /dev/audio

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: zenity 2.30.0-0ubuntu1
ProcVersionSignature: Ubuntu 2.6.32-24.41-generic 2.6.32.15+drm33.5
Uname: Linux 2.6.32-24-generic i686
NonfreeKernelModules: nvidia
Architecture: i386
CheckboxSubmission: 09c006577c6f3cfff8cbeebe8f44c7ca
CheckboxSystem: 4ed15c40009aa6f7770f606350a390a2
Date: Tue Aug 24 17:30:25 2010
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100429)
ProcEnviron:
 LANG=it_IT.utf8
 SHELL=/bin/bash
SourcePackage: zenity

Revision history for this message
Muflone (il-muflone) wrote :
Revision history for this message
einstein1969 (einstein1969) wrote : apport information

Architecture: i386
DistroRelease: Ubuntu 10.04
Package: zenity 2.30.0-0ubuntu1
PackageArchitecture: i386
ProcEnviron:
 PATH=(custom, user)
 LANG=it_IT.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.32-24.41-generic 2.6.32.15+drm33.5
Tags: lucid
Uname: Linux 2.6.32-24-generic i686
UserGroups: adm admin audio cdrom dialout dip floppy fuse lpadmin plugdev sambashare vboxusers video

tags: added: apport-collected
Revision history for this message
einstein1969 (einstein1969) wrote : Dependencies.txt

apport information

Revision history for this message
Braiam Peguero (braiampe) wrote :

I've try to recreate the problem but nothing seems unusual to me.

braiam@braiam-desktop:~$ zenity --file-selection
/dev/console
braiam@braiam-desktop:~$ zenity --file-selection
/dev/core
braiam@braiam-desktop:~$ zenity --version
2.30.0
braiam@braiam-desktop:~$

Revision history for this message
Pedro Villavicencio (pedro) wrote :

works fine here as well on maverick, I'm getting same output as Braiam, not confirming, could you check on maverick?

Changed in zenity (Ubuntu):
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
Muflone (il-muflone) wrote :

I've tested in a different install of lucid and cannot reproduce the defect here.

The same for maverick, cannot reproduce the defect in alpha 2 updated yesterday.

Revision history for this message
Pedro Villavicencio (pedro) wrote :

ok so it's probably a problem with that particular installation and not an issue of the software, closing the report, thanks for testing Muflone.

Changed in zenity (Ubuntu):
status: Incomplete → Invalid
Revision history for this message
einstein1969 (einstein1969) wrote :

I was mad to find a way to reproduce this bug crazy.

For Lucid (LTS):

1 - Install a clean 10.04.1. Without updates.
2 - Just started the bug occurs with very low probability.
3 - Add the top panel applet "System Monitor" and modify preferences to check the CPU and "Hard Disk" (this is important)
4 - Open a terminal windows and do command "zenity --file-selection" on /dev (eg / dev/sda1)
5 - Alternatively you can use "zenity --file-selection - multiple" and select an interval to /dev with shift key and mouse

Section 5 shows that once chosen the interval, it displays a more big interval.

I apologize for my bad English.

Revision history for this message
Muflone (il-muflone) wrote :

I made the same tests suggested by einstein1969 and I can confirm this bug happens when the system monitor applet includes the disk usage monitor.
Tested on two machines with Ubuntu Lucid 10.04 i386 with all updates applied

Revision history for this message
Jean-Philippe Orsini (jfi) wrote :

I cannot reproduce with maverick (august 27th).
zenity --version
2.31.6

With lucid, I have a strange behaviour, the selected file is not highligted and it does not returns the selected file.
zenity --version
2.30.0

Changed in zenity (Ubuntu):
status: Invalid → New
status: New → Confirmed
Revision history for this message
Pedro Villavicencio (pedro) wrote :

as said it works fine in Maverick, setting this to fixed.

Changed in zenity (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.