Bug 578104

Summary: yast2-scanner: "Edit" should launch network scanning dialog even when the 'net' backend did not recognize a scanner.
Product: [openSUSE] openSUSE 11.2 Reporter: Uwe Holstein <holstein.uwe>
Component: YaST2Assignee: Johannes Meixner <jsmeix>
Status: RESOLVED FIXED QA Contact: Jiri Srain <jsrain>
Severity: Minor    
Priority: P4 - Low CC: jsmeix
Version: Final   
Target Milestone: Future 11.3   
Hardware: All   
OS: openSUSE 11.2   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: After i cklick on Bearbeiten the following popup comes.

Description Uwe Holstein 2010-02-08 21:48:00 UTC
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.1.7) Gecko/20091222 SUSE/3.5.7-1.1.1 Firefox/3.5.7

It seems that the Buttondescription "Bearbeiten" and "Löschen" has been confound in its functionality.

Reproducible: Always

Steps to Reproduce:
1. Starting yast 2
2. Starting Scanner installation
3. Checking the Buttondescription
Actual Results:  
When i check "Bearbeiten" to install my scanner it says that i cant delete this scanner. After checking the Box "löschen" i can install my scanner.

Expected Results:  
When i check "löschen" i will delete a scanner. And when checking "Bearbeiten" i will work on the setup for the scanner.
Comment 1 Johannes Meixner 2010-02-09 08:07:06 UTC
Please provide a screenshot
(with the popup if there is a popup message).
Comment 2 Uwe Holstein 2010-02-09 09:49:38 UTC
Created attachment 341448 [details]
After i cklick on Bearbeiten the following popup comes. 

I deinstalled my Printer to reproduce this test.

1. It finds my hp-Photosmart
2. I would like to set the scanner in network, so i click on "Scannen via Netzwerk"
3. I set to "konfiguration mit lokalem Host"

Now the Sreenshot:
4. When i try to do the settings on "net" it comes the following popup.
5. When i try to delete "net" it comes the window for settings.
Comment 4 Johannes Meixner 2010-02-09 10:11:32 UTC
Now I understand the isuuse and I can reproduce it!

Yes, the popup message is nonsense and confusing in this case.
In case of the "net" meta-backend, you just cannot edit it
via the [Edit/Bearbeiten] button but only via
"Other"->"Scanning via Network".

Therefore in case of the "net" meta-backend, the [Edit] button
should also launch the "Scanning via Network" dialog, just as the
[Delete/Löschen] Button already works.

According to "rpm -q --changelog yast2-scanner"
---------------------------------------------------------------------
* Mon Nov 20 2006 jsmeix@suse.de
- V 2.14.10
- Fixed OverviewDialog() regarding the 'net' meta-backend so that
  click 'Edit' or 'Delete' launches the network scanning dialog
  if the 'net' meta-backend is used.
---------------------------------------------------------------------
it should be already fixed.
I seems something is still missing there...
Comment 5 Johannes Meixner 2010-02-10 15:44:55 UTC
The issue here happens only when the 'net' meta-backend
did not recognize a scanner.

Therefore the [Edit] button in the OverviewDialog()
now also launches the "Scanning via Network" dialog
even when the "net" meta-backend did not recognize
a scanner.

Fixed in YaST SVN revision 60790.