Project

General

Profile

Bug #1888

WDialog::setTransient does not work

Added by Anonymous over 9 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
04/30/2013
Due date:
% Done:

0%

Estimated time:

Description

When I use WDialog::setTransient as shown below it is not possible to close WDialog by clicking outside the dialog. Also when mouse is moved outside the dialog and autoHideDelay is set to positive value dialog does not close automatically.

Wt::WDialog *dialog = new Wt::WDialog();
dialog->setModal(true);
dialog->setClosable(true);
dialog->rejectWhenEscapePressed();
dialog->setTransient(true, 1000); // Does not work :-(
// Added some content here
dialog->show();

BTW, it would be helpful to mention in documentation autoHideDelay unit, I expect it is in milliseconds...

#1

Updated by Koen Deforche over 9 years ago

  • Status changed from New to Resolved
  • Assignee set to Koen Deforche
  • Target version set to 3.3.1

Hey,

I've fixed this in my git copy, and I'll push this to public git with a batch of other changes.

Regards,

koen

#2

Updated by Koen Deforche over 9 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF