Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Partial Screenshot utility has grimblast utility components shown in it #1929

Open
YuanziX opened this issue Oct 15, 2024 · 5 comments
Labels
bug Something isn't working

Comments

@YuanziX
Copy link
Contributor

YuanziX commented Oct 15, 2024

Bug Report

Description

When I take a partial screenshot using the keybind (Meta + P) or (Meta + Ctrl + P), the ui of the screenshot utility shows in the resultant screenshot.

Steps to Reproduce

  1. Initiate partial screenshot using keybind (Meta + P or Meta + Ctrl + P)
  2. Make selection

Expected Behavior

Clear screenshot with only the selected area being shown in it.

Actual Behavior

Screenshot utility (and cursor, sometimes) shows in the captured image.

Screenshots

Screenshot of bug / actual behavior (the black line and then translucent white color at bottom)
image
image
image

Full display screenshot for reference
image

Environment

  • Linux Distro: ArchLinux
  • Linux Version, output of uname -a: Linux kit 6.11.3-arch1-1 Symlinks #1 SMP PREEMPT_DYNAMIC Thu, 10 Oct 2024 20:11:06 +0000 x86_64 GNU/Linux
  • Hyprland Version, output of hyprctl version: Hyprland 0.44.0 built from branch main at commit 01c2ff34ddcb5995409c33c2b549e93b98b56d6b (layout: simplify the conditions to autogroup (8120)).
    Date: Tue Oct 15 00:01:17 2024
    Tag: v0.44.0-44-g01c2ff34, commits: 5343
    built against aquamarine 0.4.3
    flags set:
    debug
  • Installation Environment: On The Main Hardware
@YuanziX YuanziX added the bug Something isn't working label Oct 15, 2024
@YuanziX YuanziX changed the title [Bug]: Short description of the issue [Bug]: Partial Screenshot utility has grimblast utility components shown in it Oct 15, 2024
@YuanziX
Copy link
Contributor Author

YuanziX commented Nov 12, 2024

welp, this is not there after reflashing my system. can't reproduce either so closing.

@YuanziX YuanziX closed this as completed Nov 12, 2024
@YuanziX
Copy link
Contributor Author

YuanziX commented Nov 22, 2024

Got the issue again, and found a fix for it this time. Removing animations from selection fixes this issue. so the layerrule layerrule = noanim, selection works.

Before:
image
After:
image

@YuanziX YuanziX reopened this Nov 22, 2024
@kRHYME7
Copy link
Collaborator

kRHYME7 commented Nov 23, 2024

This is a grimblast issue. But we can add the fixes on our script, though it might be redundant.

@YuanziX
Copy link
Contributor Author

YuanziX commented Nov 23, 2024

This is a grimblast issue. But we can add the fixes on our script, though it might be redundant.

does hyprshot wrap around grimblast? because i had this issue in that also.

@kRHYME7
Copy link
Collaborator

kRHYME7 commented Nov 23, 2024

the layer "selection" is from slurp . which is used for almost anything to get geometry., used by grimblast and hyprshot. (The transparent layer you see when doing a screenshot )

I don't have this issues.

But if disabling the animation for the layer "selection" fixes this issue , feel free to open a PR I will merge it. We don't really need any animation for this tool.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants