ravinsinghd / chrome-screen-capture

Automatically exported from code.google.com/p/chrome-screen-capture
0 stars 0 forks source link

Google's nav bar overlays top of screenshot on G+ #160

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Go on Google+ on a page where the black navigation bar stays visible when you 
scroll down (e.g. your stream). 

Capture a region on the center of the page on Google+.

On the screenshot, the black navigation bar is displayed at the top, even 
though you didn't include it in the region

Attached video: A region containing a few icons and the "All games" text at the 
top left. Result: the navigation bar overlays the "All games" text.

Original issue reported on code.google.com by sebism on 7 Sep 2011 at 7:23

Attachments:

GoogleCodeExporter commented 9 years ago
This issue is not unique to Google+; it occurs on other pages with similar 
header types.
Following is an Issue Report that I typed up before double-checking and finding 
this Report open.

Summary:
Capture Page Region results in error on pages with floating headers

Description:
What steps will reproduce the problem?

1.Open Facebook in a browser tab
2.Select extension's "Capture Page Region" option.
3.Capture region NOT containing the top header ("blueBar" div)

What is the expected output? What do you see instead?

Expected: The content of the selected region at time of selection. Identical to 
output using "Capture Screen Region" given a selected area completely within 
the area of the page visible on-screen.

Actual: After selection and before output is generated, extension scrolls page 
such that top of selection is at the top of the page area. This appears to be 
true for all pages. Since Facebook has a floating bar div that is fixed at the 
top of the page area with content scrolling beneath, this results in the top 
portion of the area selected by the user being covered by the header bar.

Example: With a 1920x1080 screen resolution, I select a 300x180 region 
somewhere in the middle (anywhere not at the top) of the visible area of page. 
The output contains 48px of header and the lower 132px of my selected region.

What version of the product are you using? On what operating system?
Screen Capture (by Google) v5.0.3
Google Chrome 13.0.782.218 m, 13.0.782.220 m
Windows 7 Home Premium, Service Pack 1

Please provide any additional information below.

Issue occurs on other pages with floating top headers (e.g. "top-container" div 
on TechCrunch).
Issue persists even with all other extensions temporarily disabled.
"Capture Screen Region" provides equivalent functionality except when height of 
desired region is greater than vertical resolution. In that case, a workaround 
involving subsequent editing in other software would be necessary.

Side note: initial default region when activated on Facebook is 300x180, 
whereas on other pages I tested it is 250x150. At least at my present 
resolution, this size has no meaningful correlation to the height or width of 
posts. I find this unusual.

Original comment by drew.pet...@gmail.com on 16 Sep 2011 at 8:54