! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Screenshot borders
Status:
RESOLVED: FIXED
Product:
Xfce4-screenshooter
Component:
General

Comments

Description Alireza 2012-09-11 21:01:19 CEST
Created attachment 4623 
An example screenshot

Hi
If I took an screenshot with xfce4-screenshooter, and select "Select a region" option, there will be a border in the picture. look at the attachment file.
Comment 1 Edoardo Maria Elidoro 2014-08-14 18:17:05 CEST
I don't have this problem with xfce4-screenshooter 1.8.1, what version are you using?
Comment 2 Roland Kübert editbugs 2017-02-09 23:49:43 CET
Hi,

after having stumbled over the bug report on the mailing list, maybe I can provide some help towards a resolution. ;)

I am running Debian testing on amd64:
$ cat /etc/issue
Debian GNU/Linux 9 \n \l
$ uname -a
Linux swarley 4.9.0-1-amd64 #1 SMP Debian 4.9.2-2 (2017-01-12) x86_64 GNU/Linux

xcfce4 (meta package) version is 4.12.3, xfce4-screenshoter is 1.8.2-2

I took a couple of screenshots, using various applications in the background (Thunderbird, Firefox, Document Viewer, galculator, LibreOffice Calc) and out of the 15 screenshots I took only 1 showed the screenshot borders. It is in front of Document Viewer and shows bottom, left and right borders.

I have another one from some time ago in Firefox, which shows borders as well (left and bottom).

I can upload both, if necessary.

Graphics card info (obtained via lspci):

01:00.0 VGA compatible controller: NVIDIA Corporation G94 [GeForce 9600 GT] (rev a1) (prog-if 00 [VGA controller])
	Subsystem: Gigabyte Technology Co., Ltd GV-NX96T512HP
	Flags: bus master, fast devsel, latency 0, IRQ 57
	Memory at fa000000 (32-bit, non-prefetchable) [size=16M]
	Memory at c0000000 (64-bit, prefetchable) [size=256M]
	Memory at f8000000 (64-bit, non-prefetchable) [size=32M]
	I/O ports at e000 [size=128]
	Expansion ROM at 000c0000 [disabled] [size=128K]
	Capabilities: <access denied>
	Kernel driver in use: nouveau
	Kernel modules: nouveau

I can test with at least one other machine I have to see if I can reproduce the problem there.

Tell me if you need any more information.
Comment 3 Andre Miranda editbugs 2017-02-10 04:22:02 CET
Ha! I've found an easy way to reproduce this:
Draw a large rectangle, move the cursor inwards pretty fast while you release the mouse button or press/release right and left mouse button.
This bug is more likely to happen (and more visible) while display compositing is disabled.
It seems to me the solution is to add an small fixed delay (1 second) for the "Select a region" mode, just like the other modes. However, I won't craft a patch until the GTK3 is complete.
Comment 4 Andre Miranda editbugs 2017-04-14 04:40:19 CEST
A 1sec delay was added to my GTK3[1] port, I hope this amend this problem.

1 - https://github.com/andreldm/xfce4-screenshooter
Comment 5 Alen Chakarov 2017-04-20 07:04:30 CEST
I tested it now and it does not :( At least it's a testament to the quality of the port, good job.

I'm using Arch Linux and other than exo and libxfce4-ui everything else is stock Xfce 4.12 (maybe I misunderstood and I need something else as well, but I don't think I did). GPU drivers are xf86-video-intel with DRI3, compositing disabled.

https://gfycat.com/AllAssuredAmericangoldfinch

I can pretty much get the bug to 100% reproduction rate if I keep moving the selection long enough, as you can see. Sometimes it happens right away, sometimes not.
Comment 6 Andre Miranda editbugs 2017-04-22 19:39:51 CEST
Sorry, but I can't reproduce, after 10 minutes trying. I'm also using Arch, xf86-video-intel, DRI3 enabled and compositing disabled.
The bug report is about the resulting screenshot be "tainted" by the selection rectangle, this was fixed to me using both compositing and non-compositing modes. What are your results?
Comment 7 Alen Chakarov 2017-04-23 06:48:04 CEST
I tried again today and I can't reproduce it anymore either, after multiple attempts. Maybe there's some unusual conditions that have to be met, but I have no idea really.
Comment 8 Andre Miranda editbugs 2017-06-08 18:43:25 CEST
I'm closing this bug, feel free to reopen if a reproducible pattern is found.
Comment 9 Andre Miranda editbugs 2017-06-08 18:44:06 CEST
(forgot to change the status ^^)

Bug #9288

Reported by:
Alireza
Reported on: 2012-09-11
Last modified on: 2017-06-08

People

Assignee:
Jérôme Guelfucci
CC List:
4 users

Version

Version:
unspecified

Attachments

An example screenshot (20.49 KB, image/png)
2012-09-11 21:01 CEST , Alireza
no flags

Additional information