PDA

View Full Version : Windows 7 tablet Edition -- unreliable window controls



davethomaspilot
13th February 2014, 00:36
I've been having a problem running my application on Windows 7 tablet edition.

The problem occurs with top level widgets. Sometimes, I can't click on the top window controls to close, move, or resize the window. I can always click on buttons and other widgets contained by the top level widget, but sometimes none of the clicks on the standard window controls are recognized.

The same widgets are ok sometimes,other times are not.

I don't see these issues running on my laptop with Windows 7 Professional.

Tablet is Acer Iconia.

Has anyone else had this issue or has a clue on how to fix or work-around? My current work-around is just having a close button inside the widget. The user closes the window using that button,and brings it back up again.

Thanks,

Dave Thomas

davethomaspilot
14th February 2014, 14:08
Another piece of data-

I connected a mouse to the tablet. When the QDialog is first displayed, sometimes the close button works,sometimes it's non-responsive.

If I click on the x once with the mouse, it then becomes responsive using either the tablet or the mouse.

Same with all the top window controls. Sometimes I can't put the focus on the title bar and move the dialog. Clicking once with the mouse doesn't actually select it. But,a second click, or a touch with the stylus then works.

It's like the mouse click fixes it.

I'm hoping that will help someone understand what I've done wrong, or come up with a workaround.

It's a dialog, not a widget. Same symptoms occur regardless of weather parent is 0 or the MainWindow that created and shows it.

On Windows 7 laptop, I don't see these issues.

Thanks,

Dave Thomas