Bug 469022 - Selected area bleaches text
Summary: Selected area bleaches text
Status: RESOLVED FIXED
Alias: None
Product: Spectacle
Classification: Applications
Component: General (show other bugs)
Version: 23.04.0
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Noah Davis
URL:
Keywords:
: 469153 470052 470133 (view as bug list)
Depends on:
Blocks:
 
Reported: 2023-04-26 18:48 UTC by pablo
Modified: 2024-04-16 15:24 UTC (History)
11 users (show)

See Also:
Latest Commit:
Version Fixed In: 24.02


Attachments
Before running spectacle (2.51 MB, image/png)
2023-04-26 18:55 UTC, pablo
Details
After selecting /Rectangular Region/ (3.05 MB, image/png)
2023-04-26 18:57 UTC, pablo
Details
Region is further washed out (2.83 MB, image/png)
2023-04-26 18:58 UTC, pablo
Details
After selecting /Rectangular Region/ option (3.30 MB, image/png)
2023-04-26 21:00 UTC, pablo
Details
Region is visible with all desktop effects disabled (2.88 MB, image/png)
2023-04-26 21:01 UTC, pablo
Details
Vanilla Linux user test (3.34 MB, application/x-tar)
2023-04-26 21:45 UTC, pablo
Details
rectangle selection for me (90.29 KB, image/png)
2023-04-26 22:04 UTC, Noah Davis
Details
rectangle selection for me with light background (90.03 KB, image/png)
2023-04-26 22:06 UTC, Noah Davis
Details
Apply effects to inactive windows (45.76 KB, image/png)
2023-04-26 23:41 UTC, Noah Davis
Details
Mucho better! (3.47 MB, image/png)
2023-04-27 02:19 UTC, pablo
Details
spectacle nipoti seems to work (83.75 KB, image/jpeg)
2023-05-23 12:10 UTC, pier andre
Details
spectacle nipoti faded (85.74 KB, image/jpeg)
2023-05-23 12:11 UTC, pier andre
Details
nvidia drivers installed (258.50 KB, image/png)
2023-05-26 06:13 UTC, jonzn4SUSE
Details
no drivers installed (365.73 KB, image/png)
2023-05-26 06:15 UTC, jonzn4SUSE
Details
Final Fantasy 14 screenshot taken with the in-game screenshot tool (496.97 KB, image/jpeg)
2023-12-24 01:05 UTC, A. R. Kristiansen
Details
Final Fantasy 14 screenshot taken with Spectacle which is darker (502.94 KB, image/jpeg)
2023-12-24 01:05 UTC, A. R. Kristiansen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description pablo 2023-04-26 18:48:14 UTC
SUMMARY
Hi,

After selecting /Rectangular Region/, Spectacle overlays a light background over the entire screen.  With a web page with a white background and black(ish) text, the text is washed out.  Any text within the rectangular region is washed out further.

I'm attaching a tar-ball with annotated images:

$ tar -cvf example.1.tar example.1               
example.1/
example.1/01_original.jpg
example.1/02_spectacle_running_b4_capture.jpg
example.1/03_specactle_running_defining_area.jpg

Changing /Use light background/ makes the problem worst.  :(

STEPS TO REPRODUCE
1. Select /Breeze Dark/ theme - just in case this is the problem.
2. Go to the test website that has a white background with dark text - https://www.npr.org
3. Start `spectacle` and select `Rectangular Region` - notice the dark text is bleached.
4. Select part of the text, notice the text in the region is washed out.

OBSERVED RESULT

** This is somewhat redundant as I mentioned above what's happening.  But here it is ... :) **

After selecting `Rectangular Region`, spectacle creates an overlay which bleaches the test website's dark text when the background is white.  

When continuing to select the region, the text in the region is washed out.

EXPECTED RESULT

The text should be visible when the background is white and the text is black.

SOFTWARE/OS VERSIONS

Linux:  6.2.12-1-default
KDE Plasma Version:   5.27.4
KDE Frameworks Version:  5.105.0
Qt Version: 5.15.9

ADDITIONAL INFORMATION

Thank you!  :)
Comment 1 pablo 2023-04-26 18:55:56 UTC
Created attachment 158456 [details]
Before running spectacle
Comment 2 pablo 2023-04-26 18:57:11 UTC
Created attachment 158457 [details]
After selecting /Rectangular Region/

Compared to the '01_original.png', the text is washed out.
Comment 3 pablo 2023-04-26 18:58:22 UTC
Created attachment 158458 [details]
Region is further washed out

When selecting the region, the text is no longer visible.
Comment 4 Noah Davis 2023-04-26 20:34:58 UTC
Do you have any KWin effects enabled that might also affect the color of inactive windows?
Comment 5 Noah Davis 2023-04-26 20:36:20 UTC
(In reply to Noah Davis from comment #4)
> Do you have any KWin effects enabled that might also affect the color of
> inactive windows?

KWin effects/Desktop Effects (same thing, the latter is the name used in system settings)
Comment 6 pablo 2023-04-26 21:00:36 UTC
Created attachment 158463 [details]
After selecting /Rectangular Region/ option

Hi Noah,

Good call.  I hadn't thought of that being an issue.  I disabled all effects and for good measure, re-logged in.  The bleaching is still there but now it's .. different.
Comment 7 pablo 2023-04-26 21:01:35 UTC
Created attachment 158464 [details]
Region is visible with all desktop effects disabled
Comment 8 pablo 2023-04-26 21:05:08 UTC
I'm going to try to rule out my own environment by creating a vanilla Linux user.  I'll incrementally add to it:

1) Vanilla
2) Disable all effects
3) Switch to dark theme

I should have thought of that before submitting the bug.  Sorry about that ... be right back.
Comment 9 pablo 2023-04-26 21:45:33 UTC
Created attachment 158465 [details]
Vanilla Linux user test

Hi,

Attached are the results of using a new, vanilla Linux user.

The /with-effects/ sub-directory is the true, vanilla Linux user.

The /with-no-effects/ sub-directory contains the test results with all the effects disabled.

I am having to use my phone's camera to take the pictures.  I try to keep it the same distance.

::: Contents :::
$ tar -vcf vanilla_Linux_user.tar vanilla_Linux_user             
vanilla_Linux_user/
vanilla_Linux_user/with-effects/
vanilla_Linux_user/with-effects/01_b4.png
vanilla_Linux_user/with-effects/02_b4_selection.png
vanilla_Linux_user/with-effects/03_selection.png
vanilla_Linux_user/with-no-effects/
vanilla_Linux_user/with-no-effects/03_selection.png
vanilla_Linux_user/with-no-effects/02_b4_selection.png
vanilla_Linux_user/with-no-effects/01_b4.png
Comment 10 Noah Davis 2023-04-26 22:04:32 UTC
Created attachment 158466 [details]
rectangle selection for me

Does this image also look washed out to you? Making sure it's not a screen issue.
Comment 11 Noah Davis 2023-04-26 22:06:50 UTC
Created attachment 158467 [details]
rectangle selection for me with light background
Comment 12 pablo 2023-04-26 22:26:24 UTC
Thank you for your test results.  

The biggest difference I see is that in your example, I can see the spectacle controls.  In my case, they're white-ish which makes them extremely difficult to discern.

Is it possibly a GPU issue?  This rig is an Optimus Nvidia laptop.  I have it set in /Offset/ mode.  The primary GPU is the iGPU, Intel.

What OS are you using?  Perhaps I can stand up a VM to run a quick test.  

I'm open to any ideas to test things out.
Comment 13 pablo 2023-04-26 22:30:45 UTC
Would you mind running a test that includes the /KDE System Settings/ in /Icon View/?  Specifically, do the icons blanch after selecting the /Capture Mode/ > /Rectangular Region/?

Thx a bundle!
Comment 14 Noah Davis 2023-04-26 23:40:55 UTC
(In reply to pablo from comment #12)
> Thank you for your test results.  
> 
> The biggest difference I see is that in your example, I can see the
> spectacle controls.  In my case, they're white-ish which makes them
> extremely difficult to discern.
> 
> Is it possibly a GPU issue?  This rig is an Optimus Nvidia laptop.  I have
> it set in /Offset/ mode.  The primary GPU is the iGPU, Intel.
> 
> What OS are you using?  Perhaps I can stand up a VM to run a quick test.  
> 
> I'm open to any ideas to test things out.

Operating System: openSUSE Tumbleweed 20230422
KDE Plasma Version: 5.27.4
KDE Frameworks Version: 5.106.0
Qt Version: 5.15.9
Kernel Version: 6.2.12-1-default (64-bit)
Graphics Platform: X11
Processors: 16 × AMD Ryzen 7 4800H with Radeon Graphics
Memory: 30.8 GiB of RAM
Graphics Processor: AMD Radeon Graphics
Manufacturer: Eluktronics
Product Name: THINN-15

(In reply to pablo from comment #13)
> Would you mind running a test that includes the /KDE System Settings/ in
> /Icon View/?  Specifically, do the icons blanch after selecting the /Capture
> Mode/ > /Rectangular Region/?
> 
> Thx a bundle!

They do not.
Comment 15 Noah Davis 2023-04-26 23:41:46 UTC
Created attachment 158470 [details]
Apply effects to inactive windows

Do you have "Apply effects to inactive windows" enabled in your color scheme?
Comment 16 pablo 2023-04-27 02:19:26 UTC
Created attachment 158472 [details]
Mucho better!

Hi Noah,

Thank you so much for your help!  I've figured it out.  It's my Nvidia Optimus setting.  When I force `spectacle` to run on my Nvidia card, it's all good - see the attached blurry picture.

Here's a shell script that I cobbled together to run applications on my dGPU:

::: run_on_nvidia :::
#!/bin/bash

#
# Run GPU intensive applications via our Nvidia card
#
export __NV_PRIME_RENDER_OFFLOAD=1
export __VK_LAYER_NV_optimus="NVIDIA_only"
export __NV_PRIME_RENDER_OFFLOAD_PROVIDER="NVIDIA-G0"
export __GLX_VENDOR_LIBRARY_NAME="nvidia"

exec "$@"

# Never reached
exit 0
Comment 17 pablo 2023-04-27 02:20:36 UTC
If you're okay with it, I'd like to close this defect as RESOLVED.
Comment 18 Noah Davis 2023-04-27 03:12:44 UTC
> It's my Nvidia Optimus setting.  When I force `spectacle` to run on my Nvidia card, it's all good - see the attached blurry picture.

So you have to use Nvidia for Spectacle to work right? Ouch.
Comment 19 Noah Davis 2023-04-27 03:16:13 UTC
Marked as RESOLVED at the request of the bug reporter. I marked it UPSTREAM because the bug seems to be a graphics driver issue.
Comment 20 pablo 2023-04-27 11:47:24 UTC
(In reply to Noah Davis from comment #18)
> > It's my Nvidia Optimus setting.  When I force `spectacle` to run on my Nvidia card, it's all good - see the attached blurry picture.
> 
> So you have to use Nvidia for Spectacle to work right? 

That's right.   For unknown reasons, the Intel iGPU is unhappy.   Which is very funky.  I too am on openSUSE TW.  I may dig into this issue as time permits.

> Ouch.

Not sure why there's an ouch.   It's Linux.  There are always edge cases that we work-around.    :)
Comment 21 Noah Davis 2023-04-27 13:13:28 UTC
I used to use an Nvidia optimus laptop and trying to do things with the Nvidia card, especially after kernel updates, was always such a pain.
Comment 22 pablo 2023-04-27 13:16:48 UTC
(In reply to Noah Davis from comment #21)
> I used to use an Nvidia optimus laptop and trying to do things with the
> Nvidia card, especially after kernel updates, was always such a pain.

FWIW, which isn't much as in it's only one data point, this is the first time I've had an issue.

It took a bit of research to get the right environment variables to offload.  Once sorted though, it's been steady.  Except for this bugger of an issue.  :)

Again, thank you so much for helping me out.  I truly appreciate it!
Comment 23 Noah Davis 2023-05-02 21:50:44 UTC
*** Bug 469153 has been marked as a duplicate of this bug. ***
Comment 24 Noah Davis 2023-05-20 16:48:57 UTC
*** Bug 470052 has been marked as a duplicate of this bug. ***
Comment 25 Noah Davis 2023-05-20 16:51:40 UTC
I'm going to reopen this just so it's easier for people to find since it's an ongoing issue that keeps getting duplicate bug reports. I still think this is some kind of driver issue and likely not an issue that can be fixed in Spectacle.
Comment 26 pablo 2023-05-20 17:36:37 UTC
While I see in Bug 470052 the problem is reported against version 24.04.1 of spectacle, I no longer have the issue.
Comment 27 pablo 2023-05-21 11:12:18 UTC
Hi Noah,

It looks like my test yesterday was wrong.  The problem still exists unless I use my Nvidia card.
Comment 28 pier andre 2023-05-22 17:46:50 UTC
I don't know if it is useful to say that it is not related to a driver issue, in the same laptop I tried with another user and the problem did not happen.
from this forum:
https://forums.opensuse.org/t/spectacle-fade-screen-how-to-get-rid/166360/14
a user confirm the problem and says that disabling the compositor resolve the problem, I will try too and will report here
Comment 29 pablo 2023-05-22 18:03:13 UTC
(In reply to pier andre from comment #28)
> I don't know if it is useful to say that it is not related to a driver
> issue, in the same laptop I tried with another user and the problem did not
> happen.

Hi Pier,

To confirm, you are saying that you created a new vanilla, Linux User spectacle works but it does not work with your existing user?  Both using say X11 or Wayland?  

What graphic card(s) do you have?  Below is my set up:

$ inxi -G 
Graphics:
  Device-1: Intel CometLake-H GT2 [UHD Graphics] driver: i915 v: kernel
  Device-2: NVIDIA TU106M [GeForce RTX 2060 Max-Q] driver: nvidia
    v: 525.116.04
  Device-3: Realtek Integrated_Webcam_HD driver: uvcvideo type: USB
  Display: x11 server: X.Org v: 21.1.8 with: Xwayland v: 23.1.1 driver: X:
    loaded: modesetting,nvidia dri: iris gpu: i915 resolution: 1: 2560x1440~60Hz
    2: N/A
  API: OpenGL v: 4.6 Mesa 23.0.3 renderer: Mesa Intel UHD Graphics (CML GT2)
Comment 30 Nate Graham 2023-05-22 20:36:38 UTC
*** Bug 470133 has been marked as a duplicate of this bug. ***
Comment 31 jonzn4SUSE 2023-05-23 08:37:37 UTC
 Graphics:
  Device-1: Intel HD Graphics P630 driver: i915 v: kernel
  Device-2: NVIDIA GP104GLM [Quadro P4000 Mobile] driver: N/A
  Device-3: Lite-On HP HD Camera driver: uvcvideo type: USB
  Display: x11 server: X.Org v: 21.1.8 with: Xwayland v: 23.1.1 driver: X:
    loaded: modesetting unloaded: fbdev,vesa dri: iris gpu: i915
    resolution: 1920x1080~60Hz
  API: OpenGL v: 4.6 Mesa 23.0.3 renderer: Mesa Intel HD Graphics P630 (KBL

Operating System: openSUSE Tumbleweed 20230522
KDE Plasma Version: 5.27.5
KDE Frameworks Version: 5.106.0
Qt Version: 5.15.9
Kernel Version: 6.3.2-1-default (64-bit)
Graphics Platform: X11
Processors: 8 × Intel® Xeon® CPU E3-1535M v6 @ 3.10GHz
Memory: 62.2 GiB of RAM
Graphics Processor: Mesa Intel® HD Graphics P630
Manufacturer: HP
Product Name: HP ZBook 17 G4
Comment 32 jonzn4SUSE 2023-05-23 09:20:22 UTC
Graphics:
  Device-1: Intel CoffeeLake-H GT2 [UHD Graphics 630] driver: i915 v: kernel
  Device-2: Chicony HP HD Camera driver: uvcvideo type: USB
  Display: x11 server: X.Org v: 21.1.8 with: Xwayland v: 23.1.1 driver: X:
    loaded: modesetting dri: iris gpu: i915 resolution: 1: 2560x1440~60Hz
    2: 1920x1080~60Hz
  API: OpenGL v: 4.6 Mesa 23.0.3 renderer: Mesa Intel UHD Graphics 630 (CFL
    GT2)


Operating System: openSUSE Tumbleweed 20230521
KDE Plasma Version: 5.27.5
KDE Frameworks Version: 5.106.0
Qt Version: 5.15.9
Kernel Version: 6.3.1-2-default (64-bit)
Graphics Platform: X11
Processors: 12 × Intel® Core™ i7-9850H CPU @ 2.60GHz
Memory: 125.1 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics 630
Manufacturer: HP
Product Name: HP ZBook 17 G6
Comment 33 pablo 2023-05-23 11:04:42 UTC
(In reply to jonzn4SUSE from comment #31)
>  Graphics:
>   Device-1: Intel HD Graphics P630 driver: i915 v: kernel
>   Device-2: NVIDIA GP104GLM [Quadro P4000 Mobile] driver: N/A

Have you tried forcing spectacle to run on the Nvidia card?  Please see comment #16
Comment 34 pier andre 2023-05-23 12:10:37 UTC
Created attachment 159196 [details]
spectacle nipoti seems to work
Comment 35 pier andre 2023-05-23 12:11:27 UTC
Created attachment 159197 [details]
spectacle nipoti faded
Comment 36 pier andre 2023-05-23 12:13:05 UTC
I used an old user rarely used and a vanilla new user and I DO NOT confirm that spectacle works, at first attempt it seems that was working but I tried only with desktop as background
https://bugs.kde.org/attachment.cgi?id=159196
, to answer to you I tried with a white window of kwrite and it shows me that it doesnt works, the fading is still there
https://bugs.kde.org/attachment.cgi?id=159197

user where spectacle doesn't works:
pla@pla4-TW:~> loginctl show-session `loginctl|grep pla|awk '{print $1}'` -p Type
Type=x11
pla@pla4-TW:~> inxi -G
Graphics:  Device-1: Intel WhiskeyLake-U GT2 [UHD Graphics 620] driver: i915 v: kernel
           Device-2: Chicony Chicony USB2.0 Camera type: USB driver: uvcvideo
           Display: x11 server: X.Org 1.20.3 driver: loaded: modesetting unloaded: fbdev,vesa resolution: 1920x1080~60Hz
           OpenGL: renderer: Mesa DRI Intel UHD Graphics 620 (WHL GT2) v: 4.6 Mesa 21.2.4
pla@pla4-TW:~> 

user wher spectacle seemed to work but don't works:
nipoti@pla4-TW:~> inxi -G
Graphics:  Device-1: Intel WhiskeyLake-U GT2 [UHD Graphics 620] driver: i915 v: kernel
           Device-2: Chicony Chicony USB2.0 Camera type: USB driver: uvcvideo
           Display: x11 server: X.Org 1.20.3 driver: loaded: modesetting unloaded: fbdev,vesa
           resolution: 1920x1080~60Hz
           OpenGL: renderer: Mesa DRI Intel UHD Graphics 620 (WHL GT2) v: 4.6 Mesa 21.2.4
nipoti@pla4-TW:~>
Comment 37 Stephan 2023-05-23 16:32:46 UTC
I have the same problem in x11, but in wayland it works correctly.
Comment 38 jonzn4SUSE 2023-05-24 08:53:56 UTC
(In reply to Stephan from comment #37)
> I have the same problem in x11, but in wayland it works correctly.

Same for me.

Graphics:
  Device-1: Intel HD Graphics P630 driver: i915 v: kernel
  Device-2: NVIDIA GP104GLM [Quadro P4000 Mobile] driver: N/A
  Device-3: Lite-On HP HD Camera driver: uvcvideo type: USB
  Display: x11 server: X.Org v: 21.1.8 with: Xwayland v: 23.1.1 driver: X:
    loaded: modesetting unloaded: fbdev,vesa dri: iris gpu: i915
    resolution: 1920x1080~60Hz
  API: OpenGL v: 4.6 Mesa 23.0.3 renderer: Mesa Intel HD Graphics P630 (KBL
    GT2)


Operating System: openSUSE Tumbleweed 20230522
KDE Plasma Version: 5.27.5
KDE Frameworks Version: 5.106.0
Qt Version: 5.15.9
Kernel Version: 6.3.2-1-default (64-bit)
Graphics Platform: X11
Processors: 8 × Intel® Xeon® CPU E3-1535M v6 @ 3.10GHz
Memory: 62.2 GiB of RAM
Graphics Processor: Mesa Intel® HD Graphics P630
Manufacturer: HP
Product Name: HP ZBook 17 G4
Comment 39 jonzn4SUSE 2023-05-24 09:09:47 UTC
(In reply to pablo from comment #33)
> (In reply to jonzn4SUSE from comment #31)
> >  Graphics:
> >   Device-1: Intel HD Graphics P630 driver: i915 v: kernel
> >   Device-2: NVIDIA GP104GLM [Quadro P4000 Mobile] driver: N/A
> 
> Have you tried forcing spectacle to run on the Nvidia card?  Please see
> comment #16

Still have the issue.  Did I need to log out or reboot after running?
Comment 40 pablo 2023-05-24 11:17:06 UTC
(In reply to jonzn4SUSE from comment #39)
> (In reply to pablo from comment #33)
> > (In reply to jonzn4SUSE from comment #31)
> > >  Graphics:
> > >   Device-1: Intel HD Graphics P630 driver: i915 v: kernel
> > >   Device-2: NVIDIA GP104GLM [Quadro P4000 Mobile] driver: N/A
> > 
> > Have you tried forcing spectacle to run on the Nvidia card?  Please see
> > comment #16
> 
> Still have the issue.  Did I need to log out or reboot after running?

Hi,

With my dual GPU laptop using openSUSE Tumbleweed, I use /prime-select/ to offload the graphics to my Nvidia card - see https://en.opensuse.org/SDB:NVIDIA_SUSE_Prime
Comment 41 jonzn4SUSE 2023-05-24 20:38:18 UTC
Here is my other laptop with the issue.

Graphics:
  Device-1: Intel CoffeeLake-H GT2 [UHD Graphics 630] driver: i915 v: kernel
  Device-2: Chicony HP HD Camera driver: uvcvideo type: USB
  Display: x11 server: X.Org v: 21.1.8 with: Xwayland v: 23.1.1 driver: X:
    loaded: modesetting dri: iris gpu: i915 resolution: 1: 2560x1440~60Hz
    2: 1920x1080~60Hz
  API: OpenGL v: 4.6 Mesa 23.0.3 renderer: Mesa Intel UHD Graphics 630 (CFL
    GT2)

Operating System: openSUSE Tumbleweed 20230521
KDE Plasma Version: 5.27.5
KDE Frameworks Version: 5.106.0
Qt Version: 5.15.9
Kernel Version: 6.3.1-2-default (64-bit)
Graphics Platform: X11
Processors: 12 × Intel® Core™ i7-9850H CPU @ 2.60GHz
Memory: 125.1 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics 630
Manufacturer: HP
Product Name: HP ZBook 17 G6


I have also tried a 2nd user and still have the issue on this machine, but it works for all users in Wayland.
Comment 42 pablo 2023-05-24 20:42:52 UTC
(In reply to jonzn4SUSE from comment #41)
> Here is my other laptop with the issue.
> 
> [ snipped ]
>
> I have also tried a 2nd user and still have the issue on this machine, but
> it works for all users in Wayland.

The above is a very interesting (at least to me) data point.  It would not suggest a graphics driver issue.  

However, this technology stack is not my area of expertise.
Comment 43 jonzn4SUSE 2023-05-26 06:13:20 UTC
Created attachment 159258 [details]
nvidia drivers installed

Just installed updated version Spectacle version 23.04.1 and still have the issue with or without nvidia drivers installed.
Comment 44 jonzn4SUSE 2023-05-26 06:15:08 UTC
Created attachment 159259 [details]
no drivers installed

No drivers installed and still have issue.
Comment 45 pablo 2023-05-26 11:29:19 UTC
(In reply to jonzn4SUSE from comment #43)
> Created attachment 159258 [details]
> nvidia drivers installed
> 
> Just installed updated version Spectacle version 23.04.1 and still have the
> issue with or without nvidia drivers installed.

My initial thinking was not that there was an issue with the Nvidia driver but in my case, my Intel driver.  I thought this because my work-around is to force spectacle to use my Nvidia card, not my (current) default Intel.
Comment 46 jonzn4SUSE 2023-05-29 23:41:51 UTC
Driver was mention in this bug.  https://bugs.kde.org/show_bug.cgi?id=469153
Comment 47 jonzn4SUSE 2023-07-16 15:13:37 UTC
I just noticed that if Spectacle is set to use last-used capture mode when opened 
(Rectangular Region for me), the screen is not bleached.
Comment 48 madworm_de.kde 2023-08-08 18:44:14 UTC
I can confirm the behaviour described by "jonzn4SUSE" on my system

>  Kernel: 6.4.8-1-default arch: x86_64 bits: 64
>  Desktop: KDE Plasma v: 5.27.7 Distro: openSUSE Tumbleweed 20230807
>  CPU: Intel Core i7-7700T
> 
>  Device-1: Intel HD Graphics 630 driver: i915 v: kernel
>  Display: x11 server: X.Org v: 21.1.8 with: Xwayland v: 23.1.2 driver: X: 
>  loaded: modesetting unloaded: fbdev,vesa dri: iris gpu: i915 
>  resolution: 1: 1920x1080~60Hz 2: 1920x1080~60Hz
>  API: OpenGL v: 4.6 Mesa 23.1.5 renderer: Mesa Intel HD Graphics 630 (KBL GT2)
Comment 49 popov895 2023-10-07 22:02:11 UTC
Switching the Qt Quick scenegraph backend to the QSGRendererInterface::Software fixes the issue for me:
> QQuickWindow::setSceneGraphBackend(QSGRendererInterface::Software)
Comment 50 popov895 2023-10-09 10:56:31 UTC
It's also possible to specify the backend to be used via the command line:
> $ QT_QUICK_BACKEND=software spectacle

You can add this to the Spectacle's desktop file.
Comment 51 A. R. Kristiansen 2023-12-24 01:04:26 UTC
I'm actually having a somewhat opposite issue with Spectacle, but I'm wondering if it's somehow related to this, so I'm commenting here instead of creating a new ticket.
In my perception, screenshots taken with Spectacle increases the contrast of what is actually displayed on screen.

It's not just in the screenshot itself, activating rectangle select mode slightly lowers the contrast ratio on all screens, until a screenshot is taken and the Spectacle process has terminated.

To demonstrate, I'm going to add two images taken in Final Fantasy 14.
The first one is taken using the in-game screenshot tool, the second is with Spectacle (capture single monitor mode), notice how the screenshot taken with Spectacle is noticeably darker in some areas, especially the darker areas.
Comment 52 A. R. Kristiansen 2023-12-24 01:05:25 UTC
Created attachment 164413 [details]
Final Fantasy 14 screenshot taken with the in-game screenshot tool
Comment 53 A. R. Kristiansen 2023-12-24 01:05:51 UTC
Created attachment 164414 [details]
Final Fantasy 14 screenshot taken with Spectacle which is darker
Comment 54 A. R. Kristiansen 2023-12-24 01:38:20 UTC
Just reproduced this on Neon unstable.
I'm on an AMD Radeon RX 6700 XT, Wayland session. The issue persists with QT_QUICK_BACKEND=software, for what it's worth.
Comment 55 A. R. Kristiansen 2023-12-24 10:19:30 UTC
Just tried in the X11 session, and I can't reproduce there.
Comment 56 pablo 2023-12-24 12:57:28 UTC
(In reply to A. R. Kristiansen from comment #55)
> Just tried in the X11 session, and I can't reproduce there.

Hi,

Thanks for your experiments.  I'd suggest opening a separate bug under Wayland as what you're experiencing is different than this defect.  Which, for me, I haven't experienced in a long time.
Comment 57 A. R. Kristiansen 2023-12-24 12:58:36 UTC
Ok, will do. Thank you for the advice =)
Comment 58 Andreas 2024-04-12 14:43:36 UTC
Operating System: openSUSE Leap 15.6
KDE Plasma Version: 5.27.11
KDE Frameworks Version: 5.115.0
Qt Version: 5.15.12
Kernel Version: 6.4.0-150600.12-default (64-bit)
Graphics Platform: X11
Processors: 12 × Intel® Xeon® E-2186M CPU @ 2.90GHz
Graphics Processor: Mesa Intel® UHD Graphics P630 / Nvidia Quadro P3200
Product Name: Precision 7530
Spectacle: 23.08.5

I have the same issue, Spectacle GUI becomes transparent when selecting rectangular screenshot mode.
The bug is present on Intel iGPU, if you disable composer, the problem disappears. Everything is also in order on Nvidia dGPU.
Spectacle 24.02.1 on Plasma 6.0.3 and X11 does not have this issue.
Comment 59 pablo 2024-04-12 17:59:05 UTC
Just FYI .. my issue is no longer a problem with:

o KDE Plasma 6.0.3
o Frameworks:  6.0.0
o Qt Version:  6.7.0
o Graphics Platform:  X11

My iGPU is Intel.

I'm not sure whether to close this bug based on the comments of others.
Comment 60 Nate Graham 2024-04-12 18:01:09 UTC
Thanks a lot for following up! Other people affected, can you also confirm that it's fixed now in Plasma 6 with Spectacle 24.02?
Comment 61 Andrea Iob 2024-04-16 08:17:43 UTC
(In reply to Nate Graham from comment #60)
> Thanks a lot for following up! Other people affected, can you also confirm
> that it's fixed now in Plasma 6 with Spectacle 24.02?

I can confirm that the problem is fixed with Spectacle 24.02 (on X11).
Comment 62 Nate Graham 2024-04-16 08:24:44 UTC
Wonderful news!
Comment 63 Andreas 2024-04-16 12:53:38 UTC
But what should users of LTS distributions like Kubuntu or openSUSE Leap do? There is no version of Spectacle in the flatpak. 
Where is this fix so that it can be backported?
Comment 64 Nate Graham 2024-04-16 15:24:54 UTC
Ideally, LTS distro packagers would be available to answer that question, figure out what fixed it, and backport it.

Realistically, this is probably not going to happen because even if resources were available for this, it's quite possible the fix was related to the Qt6 port, which definitely can't be backported alone.

So for people using LTS distros, the actual answer is likely closer to "wait for a while, or switch distros."