Closed
Bug 194140
Opened 23 years ago
Closed 23 years ago
[QT] Menu hold back events
Categories
(Core Graveyard :: Ports: Qt, defect)
Core Graveyard
Ports: Qt
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: opi, Assigned: opi)
References
Details
Attachments
(2 files, 1 obsolete file)
|
711 bytes,
patch
|
Details | Diff | Splinter Review | |
|
431 bytes,
patch
|
Details | Diff | Splinter Review |
QTMenu is Modal, but shouldn't.
| Assignee | ||
Comment 1•23 years ago
|
||
| Assignee | ||
Comment 2•23 years ago
|
||
Comment 3•23 years ago
|
||
Comment on attachment 114995 [details] [diff] [review]
widget/src/qt/nsQWidget.cpp
Marking this review- because you should not just comment out a line in the
source code without explaining why it is still there.
Either add a comment why it's there, or remove the line and the case: label
altogether.
That said - why should popup windows not have the popup window type?
Attachment #114995 -
Flags: review-
| Assignee | ||
Comment 4•23 years ago
|
||
Excuse ... the line can be removed, cause The QT PopUp flag makes the widget
modal but that's not what we want. Will make a new patch at home.
Status: NEW → ASSIGNED
| Assignee | ||
Comment 5•23 years ago
|
||
Attachment #114995 -
Attachment is obsolete: true
Comment 6•23 years ago
|
||
case eWindowType_popup:
- w |= Qt::WType_Popup;
break;
Hm, why do you need to keep the empty case label? Is there a default: label that
you don't want to happen?
| Assignee | ||
Comment 7•23 years ago
|
||
We have no default ... so I case it to prevent a build warning. We can also
remove this and the 2 lines down and add for this a default:
If it's better, I'll do this.
ok, the pair works nicely. r=me. from build warnings it isn't uncommon for the
qt port not to have default cases, i could go either way.
Comment 9•23 years ago
|
||
On QT_REBIRTH_20030222_BRANCH:
Checking in nsWindow.cpp;
/cvsroot/mozilla/widget/src/qt/Attic/nsWindow.cpp,v <-- nsWindow.cpp
new revision: 1.15.10.1; previous revision: 1.15
done
Checking in nsQWidget.cpp;
/cvsroot/mozilla/widget/src/qt/Attic/nsQWidget.cpp,v <-- nsQWidget.cpp
new revision: 1.7.10.1; previous revision: 1.7
done
I checked the patches in for opi@gmx.at, fixed.
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Comment 10•23 years ago
|
||
well, menus work now and look fine, so I guess I can verify this fix. (latest
cvs branch build, Qt 3.1.1, debian unstable)
Status: RESOLVED → VERIFIED
Updated•17 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•