Bug 317223

Summary: Preview page is shifted in the preview window if the first preview is in grayscale
Product: [Frameworks and Libraries] libksane Reporter: Marco Albanese <delian2>
Component: generalAssignee: Kåre Särs <kare.sars>
Status: RESOLVED DUPLICATE    
Severity: minor CC: caulier.gilles, chealer
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Chakra   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: The preview page shifted

Description Marco Albanese 2013-03-23 11:29:15 UTC
After opening the application, choosing the Gray scan mode and clicking the preview button the preview page is shifted and not centered in the preview windows. In addition is not possible to move it using the scrollbars.
If the first preview is done in Color scan mode and changing  it later everything works as expected.

Reproducible: Always

Steps to Reproduce:
1.Open the application
2.Select Gray from scan mode
3.Click preview button
Actual Results:  
The preview page is shifted and doesn't fit the preview pane.

Expected Results:  
The preview page is centered and fit the preview pane.

I've only tested it with the scanner of my all-in-one printer Hp Deskjet 2050.
Kernel version 3.7.6-2-CHAKRA
Comment 1 Marco Albanese 2013-03-23 11:32:13 UTC
Created attachment 78310 [details]
The preview page shifted
Comment 2 Philippe Cloutier 2013-12-09 05:37:42 UTC
I also experienced this, although my zoom didn't prevent me from seeing the whole page. I use Debian testing's KDE 4.11.3 and Skanlite 1.0 with an HP Deskjet 3050A.

I confirm that the scan mode used for the first preview determines whether this occurs or not. The source of this bug must also cause bug 312514.
Comment 3 Kåre Särs 2013-12-09 20:47:04 UTC
Hi Marco and Filipus,

Marco: Sorry for not answeing earlier.

I suspect in deed that this bug is caused by the same problem as bug 312514 so I'm going to close this as a duplicate. Please check the other bug if we can fix this...

Regards,
    Kåre

*** This bug has been marked as a duplicate of bug 312514 ***