Bug 317223 - Preview page is shifted in the preview window if the first preview is in grayscale
Summary: Preview page is shifted in the preview window if the first preview is in gray...
Status: RESOLVED DUPLICATE of bug 312514
Alias: None
Product: libksane
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Chakra Linux
: NOR minor
Target Milestone: ---
Assignee: Kåre Särs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-23 11:29 UTC by Marco Albanese
Modified: 2013-12-09 20:47 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
The preview page shifted (261.92 KB, image/png)
2013-03-23 11:32 UTC, Marco Albanese
Details

Note You need to log in before you can comment on or make changes to this bug.
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 ***