glance icon indicating copy to clipboard operation
glance copied to clipboard

Browser Built-in screenshot is not working

Open ralphocdol opened this issue 4 months ago • 4 comments

Description

Not a huge bug since we can just use the one the OS provided. But a browser feature loss nonetheless as it feels better option as it can screenshot a certain element.

Shortcut is CTRL + SHIFT + S

ralphocdol avatar Aug 28 '25 05:08 ralphocdol

Is this only happening when there's a search widget on the page? I can't think of anything else that would interfere with those keys.

svilenmarkov avatar Aug 28 '25 21:08 svilenmarkov

Is this only happening when there's a search widget on the page? I can't think of anything else that would interfere with those keys.

Oh, I forgot to mention that, that seems to be the case. It focuses first on the search widget before it can even use the screenshot.

ralphocdol avatar Aug 29 '25 02:08 ralphocdol

This can be solved by changing the line 195 to keyup

https://github.com/glanceapp/glance/blob/b3b86b34838cf105c594709341c3be343b14cb93/internal/glance/static/js/page.js#L195-L197

As far as I'm aware the "Ctrl + Shift + S" shortcut for taking a screenshot in the browser is only for Firefox.

0x00cl avatar Sep 14 '25 11:09 0x00cl

As far as I'm aware the "Ctrl + Shift + S" shortcut for taking a screenshot in the browser is only for Firefox.

I'm not sure about Chrome or other Chromium-based browser in general, but it is there on Brave.

ralphocdol avatar Sep 14 '25 19:09 ralphocdol