Opened 15 years ago
Closed 15 years ago
#100 closed defect (fixed)
Implement session management
Reported by: | Dmitry A. Kuminov | Owned by: | |
---|---|---|---|
Priority: | blocker | Milestone: | Qt GA |
Component: | General | Version: | 4.5.1 Beta 3 |
Severity: | high | Keywords: | |
Cc: | pmw |
Description
Session management in OS/2 is basically detecting when the PM is about to shutdown and providing a way to cancel it. On the Qt side, it's QSessionManager and a couple of methods in QApplication.
Attachments (1)
Change History (8)
comment:1 by , 15 years ago
Milestone: | Qt Enhanced → Qt GA |
---|
comment:2 by , 15 years ago
Cc: | added |
---|
comment:3 by , 15 years ago
I hope you do so using #ifndef QT_NO_SESSIONMANAGER/#endif rather than // or or #ifdef 0.
comment:4 by , 15 years ago
Priority: | major → blocker |
---|
comment:5 by , 15 years ago
Severity: | → high |
---|
comment:6 by , 15 years ago
Committed the QSessionManager implementation in r428.
Notes:
- The only function it does on OS/2 is inform the application about the system shutdown through QApplication::commitData() (note that QApplication::saveState() is never called on OS/2). This functionality corresponds to Qt for Windows.
- QSessionManager::cancel() cannot cancel the XWorkplace Extended Shutdown procedure at the moment. In order to be able to do so, a patch needs to be applied to XWorkplace (see the attachment). We always call WinCancelShutdown() if QSessionManager::cancel() was called though so it should cancel the standard system shutdown procedure (used when no XWP is installed or when Extended Shutdown is disabled).
comment:7 by , 15 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
by , 15 years ago
Attachment: | shutdown.c.diff added |
---|
XWorkplace patch that makes it possible to programmatically cancel extended shutdown
Note:
See TracTickets
for help on using tickets.
I guess this would include implementation of QApplication::isSessionRestored(). I have to comment out that part in KDiff3 at the moment.