Project

General

Profile

Actions

Bug #1888

closed

WDialog::setTransient does not work

Added by Anonymous almost 11 years ago. Updated over 10 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...

Actions #1

Updated by Koen Deforche almost 11 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

Actions #2

Updated by Koen Deforche over 10 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF