[plasmashell] [Bug 452271] The "Ignore images" option is ignored when copying an image from Spectacle

2022-04-05 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=452271

Nate Graham  changed:

   What|Removed |Added

Summary|The "Ignore images" option  |The "Ignore images" option
   |is ignored  |is ignored when copying an
   ||image from Spectacle
 Resolution|--- |INTENTIONAL
 Status|REPORTED|RESOLVED

--- Comment #10 from Nate Graham  ---
OK, so this behaves as intended, within the current technical and design
constraints.

Let's get a new bug report to request porting to
https://freedesktop.org/wiki/ClipboardManager/, if that's something that we
feel might make sense.

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

[plasmashell] [Bug 452271] The "Ignore images" option is ignored

2022-04-05 Thread David Edmundson
https://bugs.kde.org/show_bug.cgi?id=452271

--- Comment #9 from David Edmundson  ---
Maybe.

Qt has some code handling save_targets from the client side on exit if a
clipboardmanager exists. We do get in that path if xclipboard is running. So we
would just need the klipper side. I'm unsure how feasible implementation is
without duplicating half of qxclipboard.

We also need to think about how a wayland equivalent would work. We don't want
x11 only features at this point.

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

[plasmashell] [Bug 452271] The "Ignore images" option is ignored

2022-04-05 Thread popov895
https://bugs.kde.org/show_bug.cgi?id=452271

--- Comment #8 from popov895  ---
Ah, now I figured it out. Yes, this only happens if I use "Copy to Clipboard"
in the Spectacle, there is no such problem with Kolourpaint.

Surprisingly, but in Ubuntu, using the default GNOME screenshot app, I can take
a screenshot, copy it to the clipboard, close the app, open the drawing app,
and paste the image from the clipboard. And it works!

Maybe we should implement Freedesktop's ClipboardManager specification
(https://freedesktop.org/wiki/ClipboardManager/) for this? Sorry if this is a
stupid assumption, I'm not qualified in this field.

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

[plasmashell] [Bug 452271] The "Ignore images" option is ignored

2022-04-05 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=452271

[email protected] changed:

   What|Removed |Added

 CC||[email protected]

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

[plasmashell] [Bug 452271] The "Ignore images" option is ignored

2022-04-04 Thread David Edmundson
https://bugs.kde.org/show_bug.cgi?id=452271

--- Comment #7 from David Edmundson  ---
>I don't really get the point of this "ignore images" setting in the first 
>place and have long supported removing it.

Most of the time klipper is pointless. It's only useful if the app closes. For
text, copying is relatively fast so it's worth it.
For images, that's not the case. We're using up a lot of memory and a lot of
overhead for something the user probably doesn't want.

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

[plasmashell] [Bug 452271] The "Ignore images" option is ignored

2022-04-04 Thread David Edmundson
https://bugs.kde.org/show_bug.cgi?id=452271

--- Comment #6 from David Edmundson  ---
>In my understanding, enabling the "Ignore images" option means that the 
>Clipboard applet will only remember non-image data, while the clipboard itself 
>can still contain any type of data (including images) without restriction.

That's absolutely spot on.

However, because spectacle had a mode to take a picture copy to the clipboard
and exit it was decided somewhere that klipper should special case it and
deliberately ignore the setting. 

The UI is misleading and confusing, but it is working as intended.

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

[plasmashell] [Bug 452271] The "Ignore images" option is ignored

2022-04-04 Thread popov895
https://bugs.kde.org/show_bug.cgi?id=452271

--- Comment #5 from popov895  ---
"Ignore images" is an option of the Clipboard applet and I don't understand
what Spectacle has to do with it. Does it have to take into account the
settings of the Clipboard applet? In my understanding, enabling the "Ignore
images" option means that the Clipboard applet will only remember non-image
data, while the clipboard itself can still contain any type of data (including
images) without restriction.

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

[plasmashell] [Bug 452271] The "Ignore images" option is ignored

2022-04-04 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=452271

Nate Graham  changed:

   What|Removed |Added

 Status|CONFIRMED   |REPORTED
 Ever confirmed|1   |0

--- Comment #4 from Nate Graham  ---
IIRC spectacle always ignores the "ignore images" setting, since otherwise its
copy to clipboard" setting would be quite broken, and we got bug reports about
that.

I don't really get the point of this "ignore images" setting in the first place
and have long supported removing it.

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

[plasmashell] [Bug 452271] The "Ignore images" option is ignored

2022-04-04 Thread popov895
https://bugs.kde.org/show_bug.cgi?id=452271

--- Comment #3 from popov895  ---
(In reply to David Edmundson from comment #2)
> Where are you copying from?

Take a screenshot with Spectacle and click "Copy to Clipboard" or open the
image with Kolourpaint and copy it to clipboard.

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

[plasmashell] [Bug 452271] The "Ignore images" option is ignored

2022-04-04 Thread David Edmundson
https://bugs.kde.org/show_bug.cgi?id=452271

David Edmundson  changed:

   What|Removed |Added

 CC||[email protected]
 Resolution|--- |WAITINGFORINFO
 Status|REPORTED|NEEDSINFO

--- Comment #2 from David Edmundson  ---
Where are you copying from?

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

[plasmashell] [Bug 452271] The "Ignore images" option is ignored

2022-04-04 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=452271

Nate Graham  changed:

   What|Removed |Added

 Status|NEEDSINFO   |CONFIRMED
 CC||[email protected],
   ||[email protected]
 Ever confirmed|0   |1
 Resolution|WAITINGFORINFO  |---

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

[plasmashell] [Bug 452271] The "Ignore images" option is ignored

2022-04-04 Thread popov895
https://bugs.kde.org/show_bug.cgi?id=452271

popov895  changed:

   What|Removed |Added

 CC||[email protected]

--- Comment #1 from popov895  ---
Created attachment 147964
  --> https://bugs.kde.org/attachment.cgi?id=147964&action=edit
Entry with the copied image, but without preview

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