|
Bugzilla – Full Text Bug Listing |
| Summary: | yast2 backup is not able to get directory from browse | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE 12.1 | Reporter: | melchiaros melchiaros <melchiaros> |
| Component: | YaST2 | Assignee: | Lukas Ocilka <locilka> |
| Status: | RESOLVED FIXED | QA Contact: | Jiri Srain <jsrain> |
| Severity: | Normal | ||
| Priority: | P2 - High | CC: | tgoettlicher |
| Version: | Milestone 5 | ||
| Target Milestone: | --- | ||
| Hardware: | x86-64 | ||
| OS: | SUSE Other | ||
| Whiteboard: | maint:planned:update | ||
| Found By: | --- | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
| Attachments: |
a screenshot for orientation
logs |
||
Created attachment 450169 [details]
logs
It's actually a YaST Qt implementation issue. In ncurses, you can choose a directory and write a new "file" entry into "Filename" input field and press OK, but this doesn't work with Qt. I guess the dialog uses UI::AskForExistingFile() which selects files only. If you want the user to select a directory please use UI::AskForExistingDirectory(). Well, it's actually not an existing directory. It's either existing or NEW file. What do you suggest to use? (In reply to comment #4) > Well, it's actually not an existing directory. > It's either existing or NEW file. What do you suggest to use? Sounds like UI::AskForSaveFileName() if you want the user to select a new or existing file where he/she wants to save the backup. Ah, good idea, thanks. Fixed in ...
* openSUSE 12.1: yast2-backup-2.21.3
* SLE 11 SP2: yast2-backup-2.17.11
|
Created attachment 450168 [details] a screenshot for orientation User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:6.0) Gecko/20100101 Firefox/6.0 In the backup module the user has to choose file location for the backup. The problem is that the browse option of this field is not able to accept a folder as destination. It only wants to open it. And the backup module want have the absolute path, independent of what is chosen with the browse option, from the user. When there is a browse option, it should be able to get the path from there in the field for backup file destination. Reproducible: Always Steps to Reproduce: 1.start yast2 backup module and add new profile 2.select browse option for the backup destination field 3.browse to the location where you want to have your backup file(only open folder is enabled. 4.When you have no file already there, you have only the option to abort the browse dialog. 5.See that the destination field in the backup dialog is still blank, when you come back from directory browsing. It´s a problem with the first run of backup. When you still have a file that you can choose in the dialog all works fine.