KDE Bug Tracking System
Home
Report New Wish or Bug
Query Existing Reports
First
Last
Prev
Next
No search results available
Search page
Bug
135750
:
printer prints in portrait, even if i choose la...
P
roduct
:
karbon
Co
m
ponent
:
general
Status
:
RESOLVED
Resolution
:
FIXED
Target
:
---
Version
:
1.5.2
Pr
i
ority
:
NOR
Severity
:
normal
V
otes
:
0
Description
:
Opened:
2006-10-16 14:25
Last Changed:
2006-10-20 01:09:34
Version: 1.5.2 (using KDE KDE 3.5.5) Installed from: Debian testing/unstable Packages to produce the error: - open a paper - edit the format to lanscape. - fill in things - print it out or go to the "print preview" - you'll see the paper in portrait format
Comment
#1
Jan Hambrecht 2006-10-20 01:09:33
SVN commit 597332 by jaham: apply the page format and orientation to the printer before printing BUG:135750 M +5 -1 karbon_view.cc --- branches/koffice/1.6/koffice/karbon/karbon_view.cc #597331:597332 @@ -391,7 +391,11 @@ QPaintDeviceMetrics metrics( ( QPaintDevice * ) & printer ); printer.setFullPage( true ); - + + KoPageLayout pageLayout = part()->pageLayout(); + printer.setOrientation( pageLayout.orientation == PG_PORTRAIT ? KPrinter::Portrait : KPrinter::Landscape ); + printer.setPageSize( (KPrinter::PageSize)KoPageFormat::printerPageSize( pageLayout.format ) ); + // we are using 72 dpi internally double zoom = metrics.logicalDpiX() / 72.0;
P
latform
:
Debian testing
O
S
:
Linux
K
eywords
:
U
RL
:
People
Reporter
:
Walter Bender
Assigned To
:
Tim Beaulen
Related actions
View Bug Activity
Format For Printing
XML
Clone This Bug
Note
You need to
log in
before you can comment on or make changes to this bug.
Attachments
Add an attachment
(proposed patch, testcase, etc.)
Depends on
:
B
locks
:
Show dependency tree
-
Show dependency graph
First
Last
Prev
Next
No search results available
Search page
Actions
Reports
Requests
Reports
Bugs reported today
Bugs reported in the last 3 days
Bug reports with patches
Weekly Bug statistics
The most hated bugs
The most severe bugs
The most frequently reported bugs
The most wanted features
Junior Jobs
Report ownership counts and charts
My Account
New Account
Log In