Bug 67657

Summary: Wrong device is highlighted when editing local printer configuration
Product: [Retired] Red Hat Raw Hide Reporter: Tim Waugh <twaugh>
Component: printconfAssignee: Tim Waugh <twaugh>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 1.0   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2002-07-14 12:19:18 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 67218    

Description Tim Waugh 2002-06-28 17:40:37 UTC
Description of Problem: 
Really odd behaviour. 
 
Version-Release number of selected component (if applicable): 
pygtk2-1.99.10-5.1 
 
How Reproducible: 
100% 
 
Steps to Reproduce: 
import gtk 
c=gtk.CList() 
row=c.append('a') 
c.set_row_data(row,'/d') 
c.find_row_from_data('/d') 
 
Actual Results: 
-1 
 
Expected Results: 
0 
 
Additional Information: 
If you change '/d' to something else like 'x', it works. 
 
This is causing GUI oddness in printconf-gui.  But it's been there for a 
while..

Comment 1 Tim Waugh 2002-07-12 13:38:34 UTC
Ah, of course: it's comparing Python objects, not doing string comparisons.  This printconf bug 
is fixed in CVS.

Comment 2 Tim Waugh 2002-07-14 12:19:14 UTC
Fixed in redhat-config-printer-0.4.14-1.

Comment 3 Jay Turner 2002-09-04 03:12:20 UTC
Fix confirmed with redhat-config-printer-0.4.23-1.