WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED INVALID
120005
Qt application could be minimized only once in Mac.
https://bugs.webkit.org/show_bug.cgi?id=120005
Summary
Qt application could be minimized only once in Mac.
Nitin Rajan
Reported
2013-08-19 03:22:39 PDT
Overview: --------- The logic to minimize the application using 'window()->setWindowState(Qt::WindowMinimized)' is only working for the first time in Mac. Successive call to the same after maximizing the window does not have any action. Steps to Reproduce: -------------------- A Qt application was created with a 'minimizeScreen' button which has the action to minimize the window using a call to "window()->setWindowState(Qt::WindowMinimized)" . [code] #include "mainwindow.h" #include "ui_mainwindow.h" MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), ui(new Ui::MainWindow) { ui->setupUi(this); connect(ui->minButton, SIGNAL(clicked()), this, SLOT(minimizeWindow())); } void MainWindow :: minimizeWindow() { window()->setWindowState(Qt::WindowMinimized); } [\code] Actual Results: ---------------- The window minimizes for the first time. Successive call to minimize does not have any action. Expected Results: --------------------- The window must be minimized every time when the user presses the 'minimizeScreen' button. Build Date & Platform: ----------------------- Tried with QT 5.0.2 and QT 5.0.1 . OS : MAC OSX 10.8.3
Attachments
Add attachment
proposed patch, testcase, etc.
Alexey Proskuryakov
Comment 1
2022-07-29 10:45:31 PDT
The Qt port has been removed from WebKit, resolving.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug