[josm-dev] ewmsplugin - webkit-image bug

Hermann Schwaerzler hermann.schwaerzler at chello.at
Fri Dec 19 09:06:23 GMT 2008


Dirk Stöcker wrote:
> On Fri, 19 Dec 2008, Robert Scott wrote:
[QWebPage instead of QWebView]
> This does not change anything.
> The problem is that JavaScripts's resizeTo() uses the screen size as outer 
> boundaries. So a resize to 500,1500 is changed into a e.g. 500,1024.

works for me! now the images have a height greater than my
screen-resolution (which is 1280x1024):

with your test-url:
  webkit-image http://www.dstoecker.eu/ymap.html >/tmp/webkit_test.img
  identify /tmp/webkit_test.img

/tmp/webkit_test.img JPEG 544x1839 544x1839+0+0 DirectClass 8-bit

with an url emitted by JOSM while looking at a place in the middle of
nowhere (way up in the north of sweden):
  webkit-image \
  identify /tmp/webkit_test.img

/tmp/webkit_test.img JPEG 560x1514 560x1514+0+0 DirectClass 8-bit

doing the same with a webkit-image that uses QWebView results in images
that always have a height of 1024.

my system:
"moc -v"
Qt Meta Object Compiler version 59 (Qt 4.4.3)

"g++ --version"
g++ (Debian 4.3.2-1) 4.3.2

"X -version"
X.Org X Server 1.4.2
Release Date: 11 June 2008
X Protocol Version 11, Revision 0
Build Operating System: Linux Debian (xorg-server 2:1.4.2-9)
Current Operating System: Linux c102-hs 2.6.26-1-686 #1 SMP Thu Aug 28
12:00:54 UTC 2008 i686


More information about the josm-dev mailing list