Bug 70906

Summary: TVT3.0: Duplicate entries in C/C++ preferences
Product: [Tools] CDT Reporter: Jonathan Simpson <jjsimpso>
Component: cdt-coreAssignee: Tanya Wolff <twolff>
Status: VERIFIED FIXED QA Contact:
Severity: major    
Priority: P3 CC: dwhare, lapensee, twolff
Version: 2.0Keywords: contributed
Target Milestone: 2.0.1   
Hardware: PC   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
screen capture
none
screen capture
none
Fix for duplicate entry and restore bjorn.freeman-benson: iplog+

Description Jonathan Simpson CLA 2004-07-27 10:33:37 EDT
Problem Description: 
1. Open Window->Preferences from the main menu. 
2. Expand C/C++ in the left panel. 
3. Select Editors and then select Hover tab. 

There are duplicated strings "DebugTextHover" in the Text Hover Name column.

See attahced screen shot, these are still duplicated entries though they got 
translated and checking one of them automatically checks the other, and then we 
can not uncheck them. 

Another problem, if checking an entry causes an error unchecking it will not 
remove the erorr, the "Restore Defaults" button can not either. Screen shots 
also attached.

Followup/related to bug #70147
Comment 1 Jonathan Simpson CLA 2004-07-27 10:34:21 EDT
Created attachment 13609 [details]
screen capture
Comment 2 Jonathan Simpson CLA 2004-07-27 10:34:42 EDT
Created attachment 13610 [details]
screen capture
Comment 3 Tanya Wolff CLA 2004-08-05 17:50:10 EDT
Created attachment 13786 [details]
Fix for duplicate entry and restore

The CombinedTextHover is swapped with the first in the hover list. In English,
it was third in the list, but in German it was fourth, so the swapping wasn't
working properly. It wasn't a Debug problem, it only happened that DebugHover
was first in the list before the swap.

The Restore defaults now resets the status and updates the page.
Comment 4 Tanya Wolff CLA 2004-08-16 16:57:18 EDT
Patch applied today :)
Comment 5 Tanya Wolff CLA 2004-08-31 10:28:22 EDT
Mathieu, please verify in German, thanks.
Comment 6 Mathieu Lapensée CLA 2004-09-13 15:41:07 EDT
Kleo,

I have verified this one and can be closed.
Comment 7 Kleo Hapitas CLA 2004-09-14 21:36:29 EDT
Marking it as verified as per Mathieu's comment