Closed Funtimes909 closed 1 year ago
How are you trying to take screenshot? For example are you using flameshot screen -n 1
or are you using flameshot gui
?
I use a custom script I found in /bin to save the screenshots to sub directories based on the current date here is that script
year=$(date +"%Y") month=$(date +"%m") day=$(date +"%d")
filepath=(~/Pictures/Screenshots/funtimes909-$year-$month/$day)
mkdir -p $filepath
if [ "$1" == "full" ] then flameshot full -c -p $filepath elif [ "$1" == "gui" ] then flameshot gui -c -p $filepath elif [ "$1" == "screen" ] then flameshot screen -c -p $filepath fi
I use KDES global custom shortcuts setup to run this script to take screenshots
@Funtimes909 I personally don't like this script as there are many things that can be improved, but that is besides the point and it in principal works. But you still didn't specify which one of them you are running (i.e "gui", "full", or "screen")
It only happens when I am running screen
Any update? I still have this issue Forgot to mention, since then I've switched to arch linux and I still have the same issue, pc specs are all the same except for a new GPU (AMD 6600)
Sorry, I've missed your reply.
To me it seems the issue stems from the flatpak permissions. I suggest you try installing flatseal (can be installed also from Flathub), and see if you have permissions issues for Flameshot Flatpak.
As an alternative approach, you can test if AppImage (can be downloaded from our release page) and see if the issue persists.
I also worth pointing out that you are running flameshot
and not via flatpak run org.flameshot.Flameshot
. Therefore if you yourself have not set to somehow bind flameshot
to run the flatpak, there is a chance that you are using Debian's Flameshot and not the Flatpak.
Also for quick testing you can do this instead of writing to file every time and check it:
flameshot screen --raw | imv -
#or
flameshot screen --raw | display
Hi, sorry for really late reply, been a bit busy at the moment moving house 😅
Sadly none of that worked, I've used the AppImage, and I've used the flatpak version (with flatseal modified permissions) and nothings changed and yes I did try running flameshot flatpak using the proper command mentioned in your reply, still no luck :(
I am going to try building from source, I'll let you know if that works
The following is quick and dirty instructions on how to build from source
git clone --depth 1 https://github.com/flameshot-org/flameshot.git
cd flameshot
#!/bin/env bash
# remove possible existing build folder
rm -rf build
clang-format -i $(git ls-files "*.cpp" "*.h")
mkdir build
cd build
cmake ../ #<--------------------------------------- here add other build flags if needed
make -j$(nproc --ignore 1)
# kill existing processes
pkill --full flameshot
sleep 1
# run the one you just compiled
./src/flameshot
Built from source, still has the exact same issue
still waiting for an update
Having the same issue on recent Linux Mint (Cinnamon). This issue also happens with a similar tool called Shutter (screen going black on attempt to take a screenshot). So, I suspect it could be an X11 related issue or so. Just for the record, I am using two hidpi screens with fractional scaling enabled, if that is relevant.
@Funtimes909 Do you have fractional scaling on your monitor? Also does it happen on both of your monitors or only one of them?
Remind me how I can check if fractional scaling is enabled?
Since you are using KDE:
thank you, no that is not enabled, its set at the default 100%
Since you are using KDE:
KDE does not yet have this feature available yet. Their scaling is shared across multiple displays. In gnome/cinnamon you can set individual scale per screen, maybe that is what causes the issue.
still have this issue
Hello?
@Funtimes909 Please avoid adding non-constructive comments (such as all those that I hid in this thread). The longer a thread gets, the less likely someone would find the stamina to go through it. Also, please note that all folks who work in this project are volunteers. No one owes anyone premium support. We are doing our best to juggle our personal lives, work lives, and FLOSS projects. If you want extra hand on the deck, please consider putting bounty on the issues to attract freelance devs to help out. It is clearly explained here.
About your issue, I cannot reproduce this in X11 nor in Wayland in Manjaro, Arch, or Ubuntu. I have tried it on KDE Plasma, Gnome, Sway, Hyprland, ...
I went through the trouble of installing Debian 11 (12 is not stable release and I rather not even bother with something that is not stable by it's devs). It is ridiculously buggy as Grub fails to properly install if Gnome is not installed (installing only KDE makes the boot to consume one core CPU indefinitely). This took me over 2 hours. On a bit of a rant, Debian has the slowest install process I have ever experienced. I'm shocked how 1990's it feels like.
Anyways, this is the result:
Therefore this could not be reproduced in any of the clean-installed VMs I have:
All these bring me to the conclusion that the issue is most probably due to your setup (graphics driver, software misconfiguration, and etc).
Please re-open this if you managed to get the same effect in a clean-install VM (preferably Qemu's qcow2
format)
Were you trying to reproduce this with a multi-screen setup? For me the issue only appears if I am using multiple monitors. I am seeing this consistently across different distros, latest Nvidia official driver, hardware is not malfunctioning as I am seeing this bug on multiple systems (with AMD based GPU btw).
@skarndev I have tried it on multi-screen (3 monitors) setup on two laptops and two desktops, three Manjaro (KDE Plasma wayland and x11, AwesmeWM, and Hyprland). and one Windows 10. All these computers are either intel, AMD, or Nvidia (mesa driver).
How many monitors do you have, which Flameahot version, what was your installation method?
I am having the same problem on a Pop_OS! installation using KDE plasma 5.24.7 and flameshot v12.1.0 (latest from ubuntu jammy) with two monitors with the same resolution, but I think I pin-pointed the issue on my part. For reference, this is my current monitor setup (yes, the right one is in the very corner):
A flameshot full
screenshot turns out like this:
But when I do flameshot screen
on either of those monitors, the image is just black. Thing is, I think I found the cause.
When I rearrange the position of my monitors like so:
A flameshot screen
screenshot ends up like this (both monitors):
So I think flameshot is somehow not properly adjusting the region when taking screenshots of monitors positioned in weird locations. Though I cannot test this theory, because passing --region 1920x1080+0+1080
as documented in flameshot screen --help
does not work for some reason, giving me this line twice:
QSettings::value: Empty key passed
More info:
I can confirm the above mentioned behaviour. My setup consists of a 21:9 monitor stacked on top of a 16:9 monitor. The primary monitor is the 21:9 monitor.
flameshot screen
on the primary display returns a screenshot of the entire monitor as expected while on the 16:9 display it is completely black. Layout:
If i move the 21:9 display to the right of the 16:9 display flameshot screen
on the 16:9 display comes out as normal while the 21:9 display has a majority of the screen cutoff: (layout in the screenshot)
I am running Arch Linux with KDE Plasma 5.27.10 and flameshot v12.1.0. I suggest this issue be reopened as it has been replicated by multiple people. @mmahmoudian
Edit: just tried flameshot-git from the aur and the problem does not seem to exist...
Hi, Is there any update on this issue? I also see black parts in my screenshot on Mac.
Hi, same here, I am using Debian 12 with 2 external monitors (via a thunderbolt docking station). But even if I unplug from the docking station the issue stays the same.
Installations tried:
apt install flameshot
)When running flameshot gui
as root I get:
resolved similar issues with a restart of my compositor (alt+shift+F12)
Flameshot Version
Flameshot v12.1.0 (Debian 12.1.0-2)
Installation Type
Flatpak from Flathub
Operating System type and version
Debian 12
Description
When trying to capture a screenshot on my main screen (1440P 144 refresh rate) the entire screenshot will appear black, capturing them on my second screen (1440P 75 refresh rate) works perfectly fine
Steps to reproduce
May not be reproducible
Screenshots or screen recordings
Screenshot from the second screen
attempted screenshot from main screen
System Information
OS: Debian 12 CPU: i7-12700k GPU: Intel UHD 770 RAM: 32GB (2X16) dual channel corsair vengeance 3600MHz kit Display Server: Xorg (Also occurs on wayland) Mesa Driver Version: 23.0.0-1 X Server Version: 1:7.7+23 Desktop Environment: KDE Plasma 5.27
Main monitor (one with black screen issue) https://www.harveynorman.co.nz/computers/monitors/konic-32-qhd-2k-curved-gaming-monitor.html Don't know where I got second monitor from