Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 89446

Summary: Ufed too easy to lose changes
Product: Gentoo Linux Reporter: michael <michael>
Component: [OLD] LibraryAssignee: Harald van Dijk (RETIRED) <truedfx>
Status: RESOLVED CANTFIX    
Severity: minor CC: tools-portage
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description michael@smith-li.com 2005-04-17 12:17:53 UTC
Gentoo now has a large number of USE flags. It would be a good usability addition if ufed would ask "are you sure" when a person tries to quit after making significant changes.

Reproducible: Always
Steps to Reproduce:
1. run ufed
2. make some changes
3. click Exit

Actual Results:  
Ufed quit and reverted my changes.

Expected Results:  
Ufed should have offered to save my changes, giving me the option to save, quit
without saving, or cancel the quit.
Comment 1 michael@smith-li.com 2005-04-17 12:20:21 UTC
Sorry -- wanted this in Product: "Gentoo Linux" Component: "Library".
Posted in the wrong place by mistake.
Comment 2 Harald van Dijk (RETIRED) gentoo-dev 2005-04-18 13:14:18 UTC
That's not possible at the moment. dialog (the tool that displays the list) doesn't tell ufed which items were selected when the user cancels, and there's no way to tell it not to cancel when Escape is pressed. I might do this if I ever manage to replace dialog though.
Comment 3 Ingo Krabbe 2005-05-17 02:52:43 UTC
Ufed should really be removed! It would be better to have it just show the use 
flags than to change USE="-*" in make.conf. 
I for myself like to edit my make.conf file (as recommended in all 
installation manuals). 
When I now start ufed it doesn't reads in the make.conf while failing to read 
the missing make.defaults from profiles, which seems to have vanished in newer 
portage versions. 
This is error is critical, reproduceable disastrous and not acceptable.  
Either correct the behaviour of ufed or temporary stop writing files ! 
 
 
Comment 4 michael@smith-li.com 2005-05-17 04:37:16 UTC
"When I now start ufed it doesn't reads in the make.conf while failing to read the missing make.defaults 
from profiles, which seems to have vanished in newer portage versions."

You should post that as a separate bug. Bug 89446 is minor and unrelated to your problem. According 
to Harald's comment above, I'm closing this bug.

Harald, ufed is a useful tool, if you ever do replace dialog, plz reconsider this feature req.