Qt FullScreen problem

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Qt FullScreen problem

1,561 Views
laza
Contributor III

Using Qt version 5.2.1, Ubuntu 14.04 (3.14.52) on Nitrogen MAX

C++

int main(int argc, char **argv)
{
    QGuiApplication app(argc, argv);
    QGst::init(&argc, &argv);
    QQmlApplicationEngine view;

    QGst::Quick::VideoSurface *surface = new QGst::Quick::VideoSurface;
    view.rootContext()->setContextProperty(QLatin1String("videoSurface1"), surface);
    view.load(QUrl(QLatin1String("qrc:///main.qml")));
    return app.exec();
}

QML:

import QtQuick 2.2

import QtQuick.Controls 1.1

import QtQuick.Layouts 1.1

import QtQuick.Window 2.0

ApplicationWindow {

    id: appwin1

    visible: true

    flags: Qt.FramelessWindowHint

    width: 1280

    height: 800

...

If I set maximum width and height of display screen or if I use visibility: "FullScreen" 

there are several visible problems which do not appear it the size is any smaller than full-screen:

  • problem with mouse movement - it's like areas where mouse pointer moves do not get repainted correctly
  • check-boxes wont accept change
  • drop down boxes wont close upon opening

I know that it is not performance issue as I have tested the same resolution on more displays and the same size works fine if it is not equal to full screen.

Did anyone else had this problem?

Tags (1)
0 Kudos
1 Reply

716 Views
jimmychan
NXP TechSupport
NXP TechSupport

Seems it is a QT questions. you may ask this in QT forum or Stack Overflow .

0 Kudos