Bug 575992 - Java Breakpoint Dialog does not support select and cut
Summary: Java Breakpoint Dialog does not support select and cut
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.16   Edit
Hardware: PC Windows 10
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 577995
  Show dependency tree
 
Reported: 2021-09-15 03:06 EDT by Ed Willink CLA
Modified: 2021-12-30 05:27 EST (History)
3 users (show)

See Also:


Attachments
screenshot (12.70 KB, image/png)
2021-09-15 03:06 EDT, Ed Willink CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ed Willink CLA 2021-09-15 03:06:22 EDT
Created attachment 287131 [details]
screenshot

Version: 2021-06 (4.20)
Build id: I20210611-1600

The attached dialog does not support select and cut to facilitate use in diverse situations, not least of which is bug reporting without opaque screenshots.

Please support a conventional select and copy.

(This is a specific example of a generic problem that select and copy is too
often not available within Eclipse but SWT seem reluctant to accept that there
is a generic problem. Each instance is pushed back as bad UI programming rather
than inadequate UI tooling.)
Comment 1 Sarika Sinha CLA 2021-09-21 06:17:10 EDT
@Ed,
You mean to say other dialogs allow to select and cut the text?
Comment 2 Ed Willink CLA 2021-09-21 07:44:30 EDT
I'm fairly sure some do. IIRC when I raised this as a general issue quite a fgew years o now, SWT batted it back as fully supported by SWT; just needs every Dialog programmer to get the magic configuration right.

Bottom line. Whenever text is displayed, it may be useful to select and cut/copy to re-use that text without the hazards of retyping. e.g.

a) in order to contribute searchable text to a bug report without obfuscating the text by embedding as a png

b) in order to search Bugzilla/forum/... for any other occurrences of the phenomenon

c) in order to search source code to facilitate debugging the dialog.

d) in order to search a namespace for a name matching a typo

...
Comment 3 Sarika Sinha CLA 2021-09-21 14:33:43 EDT
@Sravan,
Do you know about any setting to make the details selectable?
Comment 4 Kalyan Prasad Tatavarthi CLA 2021-09-22 04:35:20 EDT
(In reply to Sarika Sinha from comment #3)
> @Sravan,
> Do you know about any setting to make the details selectable?

Currently the Message is displayed as a swt Label in org.eclipse.jface.dialogs.IconAndMessageDialog

This needs to be converted to a swt Text which is read-only, so that it can be copied.

So moving this bug to Platform UI.
Comment 5 Kalyan Prasad Tatavarthi CLA 2021-09-22 04:38:37 EDT
(In reply to Kalyan Prasad Tatavarthi from comment #4)
> (In reply to Sarika Sinha from comment #3)
> > @Sravan,
> > Do you know about any setting to make the details selectable?
> 
> Currently the Message is displayed as a swt Label in
> org.eclipse.jface.dialogs.IconAndMessageDialog
> 
> This needs to be converted to a swt Text which is read-only, so that it can
> be copied.
> 
> So moving this bug to Platform UI.


Currently the Message is displayed as a swt Label widget in org.eclipse.jface.dialogs.IconAndMessageDialog

This needs to be changed to an swt Text(read-only) widget, so that it can be copied.

So moving this bug to Platform UI.
Comment 6 Ed Willink CLA 2021-09-22 11:50:34 EDT
(In reply to Ed Willink from comment #2)
> I'm fairly sure some do. 

e.g. When The Breakpoints View has an error I can select the following:

E:\Tools\Eclipse\4.10\plugins\org.eclipse.emf.ecore_2.16.0.v20181124-0637.jar is not on its project's build path

> IIRC when I raised this as a general issue quite a
> fgew years o now, SWT batted it back as fully supported by SWT

Bug 241188 13 years ago.