Author Topic: Xqt and physical geometry  (Read 3194 times)

datajerk

  • Full Member
  • ***
  • Posts: 219
    • View Profile
    • http://
Xqt and physical geometry
« on: June 05, 2004, 07:25:11 pm »
xqt reports with xwininfo and xdpyinfo that the physical screen size is 8mmx6mm.  This effects some applications.  Should probably be 75x56.

I have had no luck contacting the developers.  Has any other had this problem or has a solution?

Please run xdpyinfo and let me know if you see the same.

Thanks.

Stubear

  • Hero Member
  • *****
  • Posts: 1164
    • View Profile
    • http://
Xqt and physical geometry
« Reply #1 on: June 06, 2004, 08:15:45 am »
Same here 6x8mm - that explains the ruddy great big fonts some apps show.

Will need to get hold of the source and see what causes this problem

Stu
SL-C1000, Hand converted to English with Japanese Input
Running X apps via X/Qt
iRiver USB host cable; Diatec P-Cord usb power cable (extendable); Acro's Reel Cable USB (A to A, B, Mini-B,  & Mini-B 8pin); GreenHouse 1Gb PicoDrive+; 2x256Mb Hagiwara SD cards; 128Mb Transcend CF card; 512Mb PQI CF card; AmbiCom WL1100C-CF 11B WLAN card

ced

  • Full Member
  • ***
  • Posts: 225
    • View Profile
    • http://
Xqt and physical geometry
« Reply #2 on: June 07, 2004, 03:54:51 am »
Code: [Select]
screen #0:

  dimensions:    240x320 pixels (81x108 millimeters)

  resolution:    75x75 dots per inch

  depths (1):    16

  root window id:    0x30

  depth of root window:    16 planes

  number of colormaps:    minimum 1, maximum 1

  default colormap:    0x20

  default number of colormap cells:    64

  preallocated pixels:    black 0, white 65535

  options:    backing-store NO, save-unders NO

  largest cursor:    240x320

  current input event mask:    0x0

  number of visuals:    1

  default visual id:  0x21

  visual:

    visual id:    0x21

    class:    TrueColor

    depth:    16 planes

    available colormap entries:    64 per subfield

    red, green, blue masks:    0xf800, 0x7e0, 0x1f

    significant bits in color specification:    6 bits
SL-5600, kernel 2.6.16 + GPE from .dev
Ethernet Socket LP-E
Viking 256M SD

datajerk

  • Full Member
  • ***
  • Posts: 219
    • View Profile
    • http://
Xqt and physical geometry
« Reply #3 on: June 07, 2004, 12:11:48 pm »
I dug though the source from http://cvs.sourceforge.jp/cgi-bin/viewcvs....ar.gz?tarball=1 and have been unable to determine where this value it set or read.

I find it interesting that 2 of us have the problem and one does not.  Can I assume that we are all running Xqt 0.9 server?  If so then whatever call is made to Qt to get the physical geometry may be suspect or perhaps Qt is wrong.  What versions of Qt are you running?  (ls -l /lib/QtPalmtop/lib/*qt*)

Any other ideas?  I am not opposed to a one-off hack to get this fixed.

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Xqt and physical geometry
« Reply #4 on: June 07, 2004, 04:47:59 pm »
What are you running it on? ced is obviously using a 5600 (from the screen size & the sig). Perhaps the issue is with the C7/8xx machines?


Si
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

Stubear

  • Hero Member
  • *****
  • Posts: 1164
    • View Profile
    • http://
Xqt and physical geometry
« Reply #5 on: June 07, 2004, 06:50:53 pm »
I\'m runnig Xqt 0.9 on a C760, with the stock qt (1.5.4 me thinks) for the qte-2.3.2

Stu
SL-C1000, Hand converted to English with Japanese Input
Running X apps via X/Qt
iRiver USB host cable; Diatec P-Cord usb power cable (extendable); Acro's Reel Cable USB (A to A, B, Mini-B,  & Mini-B 8pin); GreenHouse 1Gb PicoDrive+; 2x256Mb Hagiwara SD cards; 128Mb Transcend CF card; 512Mb PQI CF card; AmbiCom WL1100C-CF 11B WLAN card

ced

  • Full Member
  • ***
  • Posts: 225
    • View Profile
    • http://
Xqt and physical geometry
« Reply #6 on: June 08, 2004, 02:39:22 am »
I\'m running 0.0.8, 0.0.9 didn\'t work for me...
SL-5600, kernel 2.6.16 + GPE from .dev
Ethernet Socket LP-E
Viking 256M SD

mjotad

  • Newbie
  • *
  • Posts: 23
    • View Profile
    • http://
Xqt and physical geometry
« Reply #7 on: June 08, 2004, 03:38:32 am »
I\'m running Xqt 0.0.9 with Cacko rom 1.19 and I have the same problem - maybe this is why I can\'t get any gtk2 apps to run?

EDIT: Oops, forgot - on a C-760

datajerk

  • Full Member
  • ***
  • Posts: 219
    • View Profile
    • http://
Xqt and physical geometry
« Reply #8 on: June 08, 2004, 09:45:02 am »
gtk, Tk, and many other apps make calls to DisplayWidthMM and DisplayHeightMM, both are reported incorrectly by Xqt running on my c860 with Cacko 1.21a.

I tested with some pain on my old 5500 w/ Sharp ROM 2.38.  The 5500 reported 3x4mm.

Following ced\'s lead I took the Xqt binary from the 0.0.8 ipkg, renamed the 0.0.9 Xqt to Xqt-0.9, took the 0.0.8 and named it Xqt-0.8 and symlinked it to Xqt.  Ran my startx script and xdpyinfo now reports:

Code: [Select]
screen #0:

  dimensions:    640x480 pixels (217x163 millimeters)

  resolution:    75x75 dots per inch


My tcl/tk and perl/tk apps now look perfect.

I cannot read the Japanese Changelog entries in the CVS to determine what broke, but will try to get the 0.8 source from the CVS and try to find the differences.

Since my immediate needs are now met it may be sometime before I get  to this.  I depends on other problems that I may have.  I was planning on some other improvements as well.  E.g. user definable mouse keys and more urgently fixing the conflicts with Cacko 1.21a keyboard mapping and some X apps.

Thank you for all your support.

P.S. I just took a quick look, I think the only difference from .8 to .9 is rotation support.

anonuk

  • Full Member
  • ***
  • Posts: 176
    • View Profile
    • http://
Xqt and physical geometry
« Reply #9 on: June 08, 2004, 10:32:54 am »
Following your lead, i uninstalled 0.9 and installed 0.8 instead - and it works! Finally openoffice over ssh in qtopia without the fonts going huge!! Thanks Guys :-)

Now if stubear could just explain how he got the pdaxrom to display in XQt, I would be set!
* C3100 with Cacko 1.23 and debian (pocketworkstation) - 1Gb SD / 1Gb CF / Prism Wifi
* C-860 with Cacko 1.21b/pdaXrom dualboot with 256Mb CF / 512 Mb SD / Prism Wifi
* SL-5500 with Cacko rom with 128Mb SD home on SD / 96 Mb CF