This Bugzilla instance is deprecated, and most Eclipse projects now use GitHub or Eclipse GitLab. Please see the deprecation plan for details.
Bug 277245 - improved screen capture tool nits
Summary: improved screen capture tool nits
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Mylyn (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 trivial (vote)
Target Milestone: 3.2   Edit
Assignee: Hiroyuki CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 210020 221952 234599 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-05-20 20:08 EDT by Shawn Minto CLA
Modified: 2009-08-19 21:06 EDT (History)
4 users (show)

See Also:


Attachments
capture.patch (60.88 KB, patch)
2009-05-23 08:17 EDT, Hiroyuki CLA
no flags Details | Diff
SelectToolAction.java (26.70 KB, text/plain)
2009-05-23 08:37 EDT, Hiroyuki CLA
no flags Details
patch (8.85 KB, patch)
2009-05-23 16:26 EDT, Steffen Pingel CLA
no flags Details | Diff
capture.patch (10.37 KB, patch)
2009-05-23 20:04 EDT, Hiroyuki CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Shawn Minto CLA 2009-05-20 20:08:11 EDT
The new screen capture tool looks great.  After playing with it for a bit, I have a couple of nits.

* hard to discover the "Capture Rectange"
* once selected rectangle is captured, it is scaled to fit which can distort the aspect ratio
* default color of red seems a bit odd
* default text size of 8 seems small
* it would be cool if the toolbar on the left was enabled and if a tool was selected, it automatically turned you to annotate mode
* the line weight and type selectors are mostly undiscoverable

In general, great work!
Comment 1 Hiroyuki CLA 2009-05-21 09:33:04 EDT
Thank you for the report. 

(In reply to comment #0)
> * hard to discover the "Capture Rectange"

How about the method of the display of the context menu and capture selected rectangle operation?

> * once selected rectangle is captured, it is scaled to fit which can distort the
> aspect ratio

Foot/zoom has not been reset at capture again. 
This operation is the same as Mylyn 3.0. 
Should always reset to Fit ?

> * default color of red seems a bit odd

A present color is RGB(255, 85, 85), and the same color as Mylyn 3.0. 
Please change SelectToolAction.java line 192 if you change an initial color. 

THIS>	intgerCustom = rgb2int(255, 85, 85);

> * default text size of 8 seems small

How about making it to the size of 300%?
If it is 8, it becomes 24. 

Please change SelectToolAction.java line 172 if you change an initial size. 

			FontData fontData = parent.getShell().getFont().getFontData()[0];
INSERT> fontData.setHeight(fontData.getHeight() * 3);
			stringCustom = fontData.toString();

> * it would be cool if the toolbar on the left was enabled and if a tool was
> selected, it automatically turned you to annotate mode

It is a good idea.  I will improve it. 

> * the line weight and type selectors are mostly undiscoverable

Please change ScreenshotCreationPage.java line 590 and 593 to display two tools. 

THIS>	lineTypeToolbar.setVisible(false);
THIS>	lineBoldToolbar.setVisible(false);

Comment 2 Steffen Pingel CLA 2009-05-21 14:48:51 EDT
> (In reply to comment #0)
> > * hard to discover the "Capture Rectange"
> 
> How about the method of the display of the context menu and capture selected
> rectangle operation?

I think it's an advanced operation so it's not a big deal if it is more difficult to find. I wonder if we could display some sort of Apply button in the toolbar in Crop mode that would trigger capturing of the current selection.

> > * once selected rectangle is captured, it is scaled to fit which can distort
> the
> > aspect ratio
> 
> Foot/zoom has not been reset at capture again.
> This operation is the same as Mylyn 3.0.
> Should always reset to Fit ?

Zoom to Fit should always respect the aspect ratio and not zoom in to more than 100%.

> > * default text size of 8 seems small
> 
> How about making it to the size of 300%?
> If it is 8, it becomes 24.

What if we use a larger system font by default, e.g. JFaceResources.TITLE_FONT?

> > * it would be cool if the toolbar on the left was enabled and if a tool was
> > selected, it automatically turned you to annotate mode
> 
> It is a good idea.  I will improve it.

Hiroyuki, it would be great if you could attach a patch to this bug (as long as it's smaller than 250 lines so we don't need an IP review).

> > * the line weight and type selectors are mostly undiscoverable
> 
> Please change ScreenshotCreationPage.java line 590 and 593 to display two tools.
> 
> THIS>	lineTypeToolbar.setVisible(false);
> THIS>	lineBoldToolbar.setVisible(false);

It's intentionally hidden by default. Shawn, see bug 266123 for more background.
Comment 3 Hiroyuki CLA 2009-05-23 08:17:38 EDT
Created attachment 136883 [details]
capture.patch

> > * once selected rectangle is captured, it is scaled to fit which can 
> distort the aspect ratio

FIXED

> > * default text size of 8 seems small

FIXED, used JFaceResources.HEADER_FONT

> > * it would be cool if the toolbar on the left was enabled and if a 
> > tool was selected, it automatically turned you to annotate mode
> It is a good idea.  I will improve it.

FIXED
Comment 4 Hiroyuki CLA 2009-05-23 08:37:36 EDT
Created attachment 136884 [details]
SelectToolAction.java

When the patch is made, the difference of all lines is made. 
The modified source is up-loaded.
Comment 5 Steffen Pingel CLA 2009-05-23 16:26:49 EDT
Created attachment 136895 [details]
patch
Comment 6 Hiroyuki CLA 2009-05-23 20:04:01 EDT
Created attachment 136897 [details]
capture.patch

The minor bug is fixed.
Comment 7 Steffen Pingel CLA 2009-05-24 16:54:43 EDT
Great stuff! I have applied the patch.
Comment 8 Steffen Pingel CLA 2009-08-19 15:52:01 EDT
*** Bug 210020 has been marked as a duplicate of this bug. ***
Comment 9 Steffen Pingel CLA 2009-08-19 21:03:11 EDT
*** Bug 234599 has been marked as a duplicate of this bug. ***
Comment 10 Steffen Pingel CLA 2009-08-19 21:06:45 EDT
*** Bug 221952 has been marked as a duplicate of this bug. ***