OESF Portables Forum

Everything Else => General Support and Discussion => Zaurus General Forums => Archived Forums => Software => Topic started by: datajerk on June 05, 2004, 07:25:11 pm

Title: Xqt and physical geometry
Post by: datajerk 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.
Title: Xqt and physical geometry
Post by: Stubear 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
Title: Xqt and physical geometry
Post by: ced 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
Title: Xqt and physical geometry
Post by: datajerk 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 (http://cvs.sourceforge.jp/cgi-bin/viewcvs.cgi/xqt/xqt.tar.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.
Title: Xqt and physical geometry
Post by: lardman 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
Title: Xqt and physical geometry
Post by: Stubear 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
Title: Xqt and physical geometry
Post by: ced on June 08, 2004, 02:39:22 am
I\'m running 0.0.8, 0.0.9 didn\'t work for me...
Title: Xqt and physical geometry
Post by: mjotad 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
Title: Xqt and physical geometry
Post by: datajerk 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.
Title: Xqt and physical geometry
Post by: anonuk 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!