Issue 29761 - Context menu in document missing
Summary: Context menu in document missing
Status: CLOSED FIXED
Alias: None
Product: Draw
Classification: Application
Component: code (show other issues)
Version: 680
Hardware: All All
: P2 Trivial (vote)
Target Milestone: OOo 2.0
Assignee: wolframgarten
QA Contact: issues@graphics
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-01 15:11 UTC by wolframgarten
Modified: 2004-06-03 12:36 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description wolframgarten 2004-06-01 15:11:46 UTC
Make a right click into the document or on an object: nothing comes up.
Comment 1 groucho266 2004-06-02 08:06:57 UTC
Accepted
Comment 2 groucho266 2004-06-02 12:13:10 UTC
The context menus are not displayed in drviews4.cxx because the IsAction()
function of the draw view returns true.  This is because  either BegDragObj() or
BegMarkObj() is called in FuSelection::MouseButtonDown() and the before
EndDragObj() or EndMarkObj() is called in FuSelection::MouseButtonUp() the
context menu is (not) shown.
Comment 3 groucho266 2004-06-02 13:13:31 UTC
The bug is fixed by not calling BegMarkObj() or BegDragObj() from
FuSelection::MouseButtonDown for clicks of the right mouse button:: IsAction()
or both SdrMarkView and SdrDragView return FALSE and the context menu is shown.
Comment 4 groucho266 2004-06-02 16:53:40 UTC
Reopening issue so that it can be sent to QA.
Comment 5 groucho266 2004-06-02 16:54:22 UTC
Please test.
Comment 6 groucho266 2004-06-02 16:54:51 UTC
Setting back to Fixed.
Comment 7 wolframgarten 2004-06-02 17:51:47 UTC
Verified in CWS.
Comment 8 wolframgarten 2004-06-03 12:36:31 UTC
Tested in master. Closed.