[Spectacle] [Bug 419148] Screenshots saved to the clipboard are cleared after 5 seconds/when the notification disappears

2023-05-02 Thread Noah Davis
https://bugs.kde.org/show_bug.cgi?id=419148

Noah Davis  changed:

   What|Removed |Added

 Status|CONFIRMED   |RESOLVED
 Resolution|--- |INTENTIONAL
 CC||noaha...@gmail.com

--- Comment #11 from Noah Davis  ---
I was able to reproduce this with version 23.04, but I don't think it's work
spending much effort on fixing. If there is no clipboard managing service,
anything you copy from an app just isn't preserved when the app is closed, even
text. I strongly recommend keeping the clipboard service enabled or not using
the `-b` option if you have it disabled.

-- 
You are receiving this mail because:
You are watching all bug changes.

[Spectacle] [Bug 419148] Screenshots saved to the clipboard are cleared after 5 seconds/when the notification disappears

2021-08-18 Thread Méven Car
https://bugs.kde.org/show_bug.cgi?id=419148

Méven Car  changed:

   What|Removed |Added

 Status|REPORTED|CONFIRMED
 Ever confirmed|0   |1
 CC||meve...@gmail.com

--- Comment #9 from Méven Car  ---
(In reply to Anders Aagaard from comment #8)
> I'm seeing some... curious behavior on this as well.
> 
> with clipboard enabled and hidden, spectacle -r -b -c used to capture
> screenshots.
> 
> 1. After taking the screenshot, while spectacle notification running. I can
> paste the screenshot into any application.
> 2. When the notification disappears I can no longer paste it. However.. it
> still exists in the clipboard list.

If the source application doesn't exist anymore, how would you expect it to
send data.

> 3. If I click on the entry in the clipboard list, I can paste it into any
> application again.
> 
> This is definitely not working the way my brain expects it to work 😂

The clipboard list is klipper, our clipboard manager that keeps clipboard
values cached for this kind of use case.

It is a quite tricky issue to solve.
We could make it so that the application stays open until an application has
received the data, that isn't klipper.
Or the notification should copy the data itself to make it available, and
remove it afterwards.
Or the notification could fetch the data from klipper somehow, if klipper
cached the value.

Please not, under wayland the -b command line is not supported, code needs some
adaptation, you will have strange behavior for now.

-- 
You are receiving this mail because:
You are watching all bug changes.

[Spectacle] [Bug 419148] Screenshots saved to the clipboard are cleared after 5 seconds/when the notification disappears

2021-08-20 Thread Anders Aagaard
https://bugs.kde.org/show_bug.cgi?id=419148

--- Comment #10 from Anders Aagaard  ---
(In reply to Méven Car from comment #9)
> (In reply to Anders Aagaard from comment #8)
> > I'm seeing some... curious behavior on this as well.
> > 
> > with clipboard enabled and hidden, spectacle -r -b -c used to capture
> > screenshots.
> > 
> > 1. After taking the screenshot, while spectacle notification running. I can
> > paste the screenshot into any application.
> > 2. When the notification disappears I can no longer paste it. However.. it
> > still exists in the clipboard list.
> 
> If the source application doesn't exist anymore, how would you expect it to
> send data.

As a developer I understand that, but as a end user the mental model I think of
with copy and paste is "lifting" content out of one application and putting it
in another.

> It is a quite tricky issue to solve.

It might be hard to solve well... but couldn't spectacle be modified to keep
the process alive for .. 30 seconds? - or until the content is pasted/clipboard
changed or something like that? That wouldn't solve the underlying issue, but I
think it would hide it from 90% of the users. 

My gut feeling is that 5 seconds is something quite a lot of users would run
into, if you are switching back and forth between windows etc. 30 seconds../1
minute? Probably fairly rarely.

-- 
You are receiving this mail because:
You are watching all bug changes.

[Spectacle] [Bug 419148] Screenshots saved to the clipboard are cleared after 5 seconds/when the notification disappears

2021-08-02 Thread Anders Aagaard
https://bugs.kde.org/show_bug.cgi?id=419148

Anders Aagaard  changed:

   What|Removed |Added

 CC||aagaa...@gmail.com

--- Comment #8 from Anders Aagaard  ---
I'm seeing some... curious behavior on this as well.

with clipboard enabled and hidden, spectacle -r -b -c used to capture
screenshots.

1. After taking the screenshot, while spectacle notification running. I can
paste the screenshot into any application.
2. When the notification disappears I can no longer paste it. However.. it
still exists in the clipboard list.
3. If I click on the entry in the clipboard list, I can paste it into any
application again.

This is definitely not working the way my brain expects it to work 😂

-- 
You are receiving this mail because:
You are watching all bug changes.

[Spectacle] [Bug 419148] Screenshots saved to the clipboard are cleared after 5 seconds/when the notification disappears

2020-11-10 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=419148

odzi...@gmail.com changed:

   What|Removed |Added

 CC||odzi...@gmail.com

--- Comment #5 from odzi...@gmail.com ---
I am experiencing a similar issue using the spectacle shortcuts (capture active
window, capture rectangular region, etc.). I ran a timer to ensure that the
clipboard was not being cleared before the notification disappears and can
confirm that it is as soon as the notification clears. If I take a screenshot
with the spectacle gui open, which does not create a notification upon taking
the screenshot, the screenshot will stay in the clipboard until it is replaced
by something else.

System information:

Operating System: Manjaro Linux
KDE Plasma Version: 5.20.2
KDE Frameworks Version: 5.75.0
Qt Version: 5.15.1
Kernel Version: 5.8.18-1-MANJARO
OS Type: 64-bit
Processors: 8 × Intel® Core™ i7-6700K CPU @ 4.00GHz
Memory: 15.6 GiB of RAM
Graphics Processor: GeForce GTX 1080 Ti/PCIe/SSE2

-- 
You are receiving this mail because:
You are watching all bug changes.

[Spectacle] [Bug 419148] Screenshots saved to the clipboard are cleared after 5 seconds/when the notification disappears

2020-11-10 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=419148

--- Comment #6 from odzi...@gmail.com ---
I actually just came across something interesting after trying to replicate
Nate's example. If the Clipboard System Service is set to Disabled in the
System Tray Settings, this issue occurs for both spectacle -rbc and using the
spectacle screenshots. If the Clipboard System Service is enabled (always
hidden, always shown, show when relevant) then the issue does not occur and the
screenshot will stay in the clipboard after the notification clears.

-- 
You are receiving this mail because:
You are watching all bug changes.

[Spectacle] [Bug 419148] Screenshots saved to the clipboard are cleared after 5 seconds/when the notification disappears

2020-11-15 Thread Michal Kec
https://bugs.kde.org/show_bug.cgi?id=419148

Michal Kec (MiK)  changed:

   What|Removed |Added

 CC||k...@kecnet.cz

--- Comment #7 from Michal Kec (MiK)  ---
I can confirm reported behavior with KDE Neon 5.20, thus I can provide further
details. I believe you only need to meet two conditions to reproduce the bug:

1. In systray settings set the item Clipboard (Klipper) as "disabled". (See
reporters note in comment #4)
2. Terminate the spectacle process after taking the screenshot. It can be
either spontaneous (by running on background with -b parameter), or intentional
by closing the app window.

Typically in Linux/X Window system the content of the clipboard exist as long
as the parent process (Spectacle in this case) lives. By running Spectacle on
background you have only few seconds - then the process vanishes and the
clipboard content as well.
The Clipboard systray widget somehow steals (copies and caches) the Spectacle's
clipboard content and preserve it within. However if you don't want to have
clipboard history and disable this widget, well... you have no clipboard
history.

Hopefully there's a workaround for users scared by clipboard history. 
1. Set the Clipboard systray widget as "hidden". (Disappears from systray and
move to "Hidden icons" menu.)
2. Configure Klipper and set "Save clipboard contents on exit" as false and
"Clipboard history size" as "1".

-- 
You are receiving this mail because:
You are watching all bug changes.

[Spectacle] [Bug 419148] Screenshots saved to the clipboard are cleared after 5 seconds/when the notification disappears

2020-04-06 Thread Bug Janitor Service
https://bugs.kde.org/show_bug.cgi?id=419148

--- Comment #3 from Bug Janitor Service  ---
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!

-- 
You are receiving this mail because:
You are watching all bug changes.

[Spectacle] [Bug 419148] Screenshots saved to the clipboard are cleared after 5 seconds/when the notification disappears

2020-04-07 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=419148

lolli...@doorcraft.de changed:

   What|Removed |Added

 Status|NEEDSINFO   |REPORTED
 Resolution|WAITINGFORINFO  |---

--- Comment #4 from lolli...@doorcraft.de ---
(In reply to Nate Graham from comment #2)
> Cannot reproduce; the notification times out, but the screenshot remains in
> the clipboard. See the attached screen recording. Does the same thing not
> work for you?

I had disabled this clipboard display thingy.

Im sorry but im a little bit stuck with windows as of now (my linux
installation doesnt work and a clean install wont help & i have to do things
for work)

-- 
You are receiving this mail because:
You are watching all bug changes.

[Spectacle] [Bug 419148] Screenshots saved to the clipboard are cleared after 5 seconds/when the notification disappears

2020-03-23 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=419148

Nate Graham  changed:

   What|Removed |Added

 CC||n...@kde.org

--- Comment #1 from Nate Graham  ---
Created attachment 126972
  --> https://bugs.kde.org/attachment.cgi?id=126972&action=edit
Works for me

Works for me.

-- 
You are receiving this mail because:
You are watching all bug changes.

[Spectacle] [Bug 419148] Screenshots saved to the clipboard are cleared after 5 seconds/when the notification disappears

2020-03-23 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=419148

Nate Graham  changed:

   What|Removed |Added

 Status|REPORTED|NEEDSINFO
 Resolution|--- |WAITINGFORINFO

--- Comment #2 from Nate Graham  ---
Cannot reproduce; the notification times out, but the screenshot remains in the
clipboard. See the attached screen recording. Does the same thing not work for
you?

-- 
You are receiving this mail because:
You are watching all bug changes.