Xphoton bugs

Hi,

here is a buglist for Xphoton. I use Qt and this is what I have
observed as buggy Qt behaviour, appart from very sluggish and
slow repainting. The application refered to is the Qt-designer,
or any other Qt application.


Qt version: 2.2.3
RTP version: uname -a QNX pri 6.00 2000/09/13-14:09:35edt x86pc x86
PC: Dual P-III 600 MHz, 128 MB RAM
GFX card: GeForce2 MX

I’ve run the tests in three configurations:

A - With SMP kernel and ‘Xphoton -once’
B - With SMP kernel and ‘Xphoton -once -noshmem’
C - With single processor kernel with ‘Xphoton -once’

\

  1. Repainting of toolbar-buttons, text input fileds (QLineEdit), etc.
    don’t work. Moving another window over the widgets will sometimes
    correctly repaint the widgets. This is visually the most serious
    problem. Test by running Qt-designer.

A. Bugs as description.
B. Bugs only in rare cases.
C. Bugs sometimes (e.g. “background” in Qt-designer)

  1. Standard file dialogs are opened much higher than the screen height.
    Test by selecting ‘Open…’ in Qt-designer.

A. Bugs as description.
B. Bugs as description.
C. Bugs as description.

  1. Pressing the maximize button missplaces the widnow on the screen.

A. Bugs as description.
B. Bugs as description.
C. Works better, bugs for dialogs.

  1. Sometimes it is impossible to get input focus on a text input field
    by clicking on it. Try the “File name:” input field in a Save/Open
    dialog.

A. Bugs as description.
B. Bugs as description.
C. Seems to work OK.

  1. There is no cursor displayed in any of the input fields.

A. Bugs as description.
B. Bugs as description.
C. Seems to work OK.

  1. The keyboard mapping is wrong for my keyboard when writing text
    in any of the text input fields.

A. Bugs as description.
B. Bugs as description.
C. Bugs as description.

  1. Sometimes Xphoton and the application crash when clicking the
    close button in the upper right corner of a dialog.

A. Bugs as description.
B. Bugs as description.
C. Seems to work OK.

  1. Exiting an application will sometimes also make Xphoton shut down
    whitout any error message.

A. Bugs as description.
B. Bugs as description.
C. Seems to work OK.

  1. When clicking on the menubar and then on the window ‘caption bar’
    the menu will stay on the screen while it is possible to move the
    window behind it. The updating of the window will be garbled by
    the menu on top of it.

A. Bugs as description.
B. Bugs as description.
C. Bugs as description.





Mats

In article <93ukgg$nll$1@inn.qnx.com>,
Mats Byggmastar <mats.byggmastar@mulfi.NOJUNK.fi> wrote:

Hi,

here is a buglist for Xphoton. I use Qt and this is what I have
observed as buggy Qt behaviour, appart from very sluggish and
slow repainting. The application refered to is the Qt-designer,
or any other Qt application.

Excellent. (looks like I’ll have to compile Qt :slight_smile:

Qt version: 2.2.3
RTP version: uname -a QNX pri 6.00 2000/09/13-14:09:35edt x86pc x86
PC: Dual P-III 600 MHz, 128 MB RAM
GFX card: GeForce2 MX

I’ve run the tests in three configurations:

A - With SMP kernel and ‘Xphoton -once’
B - With SMP kernel and ‘Xphoton -once -noshmem’
C - With single processor kernel with ‘Xphoton -once’

Could you try also
D - With SMP Xphoton -geom 800x600 -once
E - With SMP Xphoton -geom 800x600 -once -noshmem
You’ll probably want to run twm for these sessions

  1. Repainting of toolbar-buttons, text input fileds (QLineEdit), etc.
    don’t work. Moving another window over the widgets will sometimes
    correctly repaint the widgets. This is visually the most serious
    problem. Test by running Qt-designer.

A. Bugs as description.
B. Bugs only in rare cases.
C. Bugs sometimes (e.g. “background” in Qt-designer)

Make sure you are running gtwm for the rootless sessions,
it handles window positioning

  1. Standard file dialogs are opened much higher than the screen height.
    Test by selecting ‘Open…’ in Qt-designer.

A. Bugs as description.
B. Bugs as description.
C. Bugs as description.

gtwm should be enforcing a max window size.

  1. Pressing the maximize button missplaces the widnow on the screen.

A. Bugs as description.
B. Bugs as description.
C. Works better, bugs for dialogs.

I believe this has been fixed. I’ll try to reproduce it.

  1. Sometimes it is impossible to get input focus on a text input field
    by clicking on it. Try the “File name:” input field in a Save/Open
    dialog.

A. Bugs as description.
B. Bugs as description.
C. Seems to work OK.

Could be not running gtwm. I’ll try to reproduce…

  1. There is no cursor displayed in any of the input fields.

A. Bugs as description.
B. Bugs as description.
C. Seems to work OK.

Strange that there’s a difference with smp. The cursors are simple
region cursors in Photon, Xphoton is single threaded, I’ll take a look

  1. The keyboard mapping is wrong for my keyboard when writing text
    in any of the text input fields.

A. Bugs as description.
B. Bugs as description.
C. Bugs as description.

Xphoton only support a US keyboard today :frowning:

  1. Sometimes Xphoton and the application crash when clicking the
    close button in the upper right corner of a dialog.

A. Bugs as description.
B. Bugs as description.
C. Seems to work OK.

  1. Exiting an application will sometimes also make Xphoton shut down
    whitout any error message.

A. Bugs as description.
B. Bugs as description.
C. Seems to work OK.

I’ll try to reproduce these, but could you make sure you’re running
gtwm?

  1. When clicking on the menubar and then on the window ‘caption bar’
    the menu will stay on the screen while it is possible to move the
    window behind it. The updating of the window will be garbled by
    the menu on top of it.

A. Bugs as description.
B. Bugs as description.
C. Bugs as description.

Known problem


Garry Turcotte (R&D)
QNX Software Systems, Ltd.

Here are the additional testruns.
Configuration ‘E’ looks very promising. I could not
see any visual bugs or unexpected strange behavior.

Although 6 is not a bug but a missing feature it is
pretty serious for me. My application has a built-in
“C” script text editor. All the end users will not
have US keyboards.

\

Qt version: 2.2.3
RTP version: uname -a QNX pri 6.00 2000/09/13-14:09:35edt x86pc x86
PC: Dual P-III 600 MHz, 128 MB RAM
GFX card: GeForce2 MX

D - With SMP Xphoton -geom 800x600 -once
E - With SMP Xphoton -geom 800x600 -once -noshmem

\

  1. Repainting of toolbar-buttons, text input fileds (QLineEdit), etc.
    don’t work. Moving another window over the widgets will sometimes
    correctly repaint the widgets. This is visually the most serious
    problem.Test by running Qt-designer.

D. Bugs as description.
E. Seems to be OK.

  1. Standard file dialogs are opened much higher than the screen height.
    Test by selecting ‘Open…’ in Qt-designer.

D. Seems to be OK.
E. Seems to be OK.

  1. Pressing the maximize button missplaces the widnow on the screen.

D. No maximize button in this mode…
E. No maximize button in this mode…

  1. Sometimes it is impossible to get input focus on a text input field
    by clicking on it. Try the “File name:” input field in a Save/Open
    dialog.

D. Seems to work OK.
E. Seems to work OK.

  1. There is no cursor displayed in any of the input fields.

D. Seems to work OK.
E. Seems to work OK.

  1. The keyboard mapping is wrong for my keyboard when writing text
    in any of the text input fields.

D. Bugs as description.
E. Bugs as description.

  1. Sometimes Xphoton and the application crash when clicking the
    close button in the upper right corner of a dialog.

D. Seems to work OK.
E. Seems to work OK.

  1. Exiting an application will sometimes also make Xphoton shut down
    whitout any error message.

D. Seems to work OK.
E. Seems to work OK.

  1. When clicking on the menubar and then on the window ‘caption bar’
    the menu will stay on the screen while it is possible to move the
    window behind it. The updating of the window will be garbled by
    the menu on top of it.

D. Works pretty OK with twm. Menu dissapears correctly but background
is left garbled behind it. (No ‘caption bar’ in gtwm)
E. Seems to work OK.






Mats

In article <93vipp$bls$1@inn.qnx.com>,
Mats Byggmastar <mats.byggmastar@mulfi.NOJUNK.fi> wrote:

Here are the additional testruns.
Configuration ‘E’ looks very promising. I could not
see any visual bugs or unexpected strange behavior.

Woohoo!
That leaves me the shmem bug (that I believe I have a fix for)
and the rest are all caused by rootless mode :frowning:
I’ve got Qt compiling now…

Although 6 is not a bug but a missing feature it is
pretty serious for me. My application has a built-in
“C” script text editor. All the end users will not
have US keyboards.

I know how to fix it, it’s just a matter time…


Qt version: 2.2.3
RTP version: uname -a QNX pri 6.00 2000/09/13-14:09:35edt x86pc x86
PC: Dual P-III 600 MHz, 128 MB RAM
GFX card: GeForce2 MX

D - With SMP Xphoton -geom 800x600 -once
E - With SMP Xphoton -geom 800x600 -once -noshmem

\

  1. Repainting of toolbar-buttons, text input fileds (QLineEdit), etc.
    don’t work. Moving another window over the widgets will sometimes
    correctly repaint the widgets. This is visually the most serious
    problem.Test by running Qt-designer.

D. Bugs as description.
E. Seems to be OK.

  1. Standard file dialogs are opened much higher than the screen height.
    Test by selecting ‘Open…’ in Qt-designer.

D. Seems to be OK.
E. Seems to be OK.

  1. Pressing the maximize button missplaces the widnow on the screen.

D. No maximize button in this mode…
E. No maximize button in this mode…

  1. Sometimes it is impossible to get input focus on a text input field
    by clicking on it. Try the “File name:” input field in a Save/Open
    dialog.

D. Seems to work OK.
E. Seems to work OK.

  1. There is no cursor displayed in any of the input fields.

D. Seems to work OK.
E. Seems to work OK.

  1. The keyboard mapping is wrong for my keyboard when writing text
    in any of the text input fields.

D. Bugs as description.
E. Bugs as description.

  1. Sometimes Xphoton and the application crash when clicking the
    close button in the upper right corner of a dialog.

D. Seems to work OK.
E. Seems to work OK.

  1. Exiting an application will sometimes also make Xphoton shut down
    whitout any error message.

D. Seems to work OK.
E. Seems to work OK.

  1. When clicking on the menubar and then on the window ‘caption bar’
    the menu will stay on the screen while it is possible to move the
    window behind it. The updating of the window will be garbled by
    the menu on top of it.

D. Works pretty OK with twm. Menu dissapears correctly but background
is left garbled behind it. (No ‘caption bar’ in gtwm)
E. Seems to work OK.






Mats

\


Garry Turcotte (R&D)
QNX Software Systems, Ltd.