Summary: | dragging a menubar in Qt designer moves the entire designer window | ||
---|---|---|---|
Product: | [Plasma] Oxygen | Reporter: | Stephen Kelly <steveire> |
Component: | style | Assignee: | Hugo Pereira Da Costa <hugo.pereira.da.costa> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | hugo.pereira.da.costa |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Stephen Kelly
2011-08-04 10:25:04 UTC
Hello Stephen, Correct me if I'm wrong: the "normal behavior" (that is when window drag mode is disabled) is ... nothing happens. Right ? So that there is no actual conflict, and just an annoyance. I agree this is inconsistent since at best the expected behavior would be to drag the "subwindow" into its MDI frame. I'll see if I can find a workaround. (PS: no this is not "intended". Just an infortunate consequence from the code logic). (PPS: thanks for posting) Ok, no worries if it can't be worked around in an easy way. It was just a surprise. Git commit 892059c761780f1ade97f0e703051e853d1ef52b by Hugo Pereira Da Costa. Committed on 09/08/2011 at 10:56. Pushed by hpereiradacosta into branch 'KDE/4.7'. Added ::findParent method to check if a widget has a parent of a given type. Do not drag from a menubar embedded into an Mdi Subwindow. CCBUG: 279363 M +15 -0 kstyles/oxygen/oxygenwindowmanager.h M +5 -2 kstyles/oxygen/oxygenwindowmanager.cpp http://commits.kde.org/kde-workspace/892059c761780f1ade97f0e703051e853d1ef52b Git commit 793164db34473b1ab3623045a4468d6e1f8ef757 by Hugo Pereira Da Costa. Committed on 09/08/2011 at 10:56. Pushed by hpereiradacosta into branch 'master'. Added ::findParent method to check if a widget has a parent of a given type. Do not drag from a menubar embedded into an Mdi Subwindow. CCBUG: 279363 M +15 -0 kstyles/oxygen/oxygenwindowmanager.h M +5 -2 kstyles/oxygen/oxygenwindowmanager.cpp http://commits.kde.org/kde-workspace/793164db34473b1ab3623045a4468d6e1f8ef757 comments #3 and #4 fixes it. No drag from Menubars in MdiSubwindow, which is the expected behavior and consistent with other empty areas in there. Thanks for reporting ! |