Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 333960 - [Text] Context menu does not open on read-only multiline text widgets
Summary: [Text] Context menu does not open on read-only multiline text widgets
Status: RESOLVED FIXED
Alias: None
Product: RAP
Classification: RT
Component: RWT (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 1.4 M5   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-11 06:43 EST by Rüdiger Herrmann CLA
Modified: 2011-01-17 08:44 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rüdiger Herrmann CLA 2011-01-11 06:43:02 EST
The 'native' context menu (cut/copy/paste) does not show up any more when right-clicking on a multiline read-only text widget
To reproduce:
* open the controls demo
* go to the 'Text' tab
* select MULTI
* deselect Editable
* right-click into the text widget
-> nothing happens

Applies at least to IE 8, Firefox, Chrome
Comment 1 Ralf Sternberg CLA 2011-01-11 08:23:18 EST
It works for me in FF and Chromium. Can you try to reproduce it with the online demo (uses the latest nightly)?

  http://rap.eclipsesource.com/rapdemo/rap?startup=controls
Comment 2 Ralf Sternberg CLA 2011-01-11 10:35:16 EST
Ok, I can reproduce it when I uncheck the "Editable" checkbox (Editable and READ_ONLY seem to interfere in the Text tab). RAP 1.3 shows the same behavior.
Comment 3 Ivan Furnadjiev CLA 2011-01-17 08:44:50 EST
Fixed in CVS HEAD. Removed the check for read-only in Menu.js#getAllowContextMenu.