[kwin] [Bug 454974] DBus method ColorPicker.pick fails to retrieve color (returns black)

2022-09-21 Thread MountainX
https://bugs.kde.org/show_bug.cgi?id=454974

MountainX  changed:

   What|Removed |Added

 Status|REOPENED|RESOLVED
 Resolution|--- |FIXED

--- Comment #24 from MountainX  ---
(In reply to MountainX from comment #23)
> (In reply to Antonio Rojas from comment #22)
> > *** Bug 457311 has been marked as a duplicate of this bug. ***
> 
> That bug says the result is "returns black". This bug appears to be
> different and not a duplicate. Furthermore, this bug is not resolved as of
> plasmashell 5.25.4 while that bug was marked as fixed in 5.24.7.

I apologize. I added this comment to the wrong bug. Will add it to 456418 where
it belongs.

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

[kwin] [Bug 454974] DBus method ColorPicker.pick fails to retrieve color (returns black)

2022-09-21 Thread MountainX
https://bugs.kde.org/show_bug.cgi?id=454974

MountainX  changed:

   What|Removed |Added

 Resolution|FIXED   |---
 CC||davestechs...@gmail.com
 Status|RESOLVED|REOPENED

--- Comment #23 from MountainX  ---
(In reply to Antonio Rojas from comment #22)
> *** Bug 457311 has been marked as a duplicate of this bug. ***

That bug says the result is "returns black". This bug appears to be different
and not a duplicate. Furthermore, this bug is not resolved as of plasmashell
5.25.4 while that bug was marked as fixed in 5.24.7.

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

[kwin] [Bug 454974] DBus method ColorPicker.pick fails to retrieve color (returns black)

2022-07-30 Thread Antonio Rojas
https://bugs.kde.org/show_bug.cgi?id=454974

Antonio Rojas  changed:

   What|Removed |Added

 CC||doncb...@gmail.com

--- Comment #22 from Antonio Rojas  ---
*** Bug 457311 has been marked as a duplicate of this bug. ***

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

[kwin] [Bug 454974] DBus method ColorPicker.pick fails to retrieve color (returns black)

2022-07-22 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=454974

Nate Graham  changed:

   What|Removed |Added

  Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas
   |ma/kwin/commit/420636a2a130 |ma/kwin/commit/aa5fc4234905
   |0423212bda751097d267bd214d7 |2d040f45aca40749edce80ff8f1
   |d   |f

--- Comment #21 from Nate Graham  ---
Git commit aa5fc42349052d040f45aca40749edce80ff8f1f by Nate Graham, on behalf
of ivan tkachenko.
Committed on 22/07/2022 at 22:41.
Pushed by ngraham into branch 'Plasma/5.24'.

effects/colorpicker: Fix picking colors

Due to the wrong buffer format, the function failed with
GL_INVALID_OPERATION error, which was silently ignored by the effect.
It resulted in the constant phantom color being returned over and over
again.

Co-Authored-By: David Edmundson 
FIXED-IN: 5.24.7, 5.25.4, 5.26
(cherry picked from commit df6331b60aa03e65f146e93d0229cdc6dc956bbd)

M  +2-2src/effects/colorpicker/colorpicker.cpp

https://invent.kde.org/plasma/kwin/commit/aa5fc42349052d040f45aca40749edce80ff8f1f

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

[kwin] [Bug 454974] DBus method ColorPicker.pick fails to retrieve color (returns black)

2022-07-22 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=454974

Nate Graham  changed:

   What|Removed |Added

  Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas
   |ma/kwin/commit/df6331b60aa0 |ma/kwin/commit/420636a2a130
   |3e65f146e93d0229cdc6dc956bb |0423212bda751097d267bd214d7
   |d   |d

--- Comment #20 from Nate Graham  ---
Git commit 420636a2a1300423212bda751097d267bd214d7d by Nate Graham, on behalf
of ivan tkachenko.
Committed on 22/07/2022 at 22:39.
Pushed by ngraham into branch 'Plasma/5.25'.

effects/colorpicker: Fix picking colors

Due to the wrong buffer format, the function failed with
GL_INVALID_OPERATION error, which was silently ignored by the effect.
It resulted in the constant phantom color being returned over and over
again.

Co-Authored-By: David Edmundson 
FIXED-IN: 5.24.7, 5.25.4, 5.26


(cherry picked from commit df6331b60aa03e65f146e93d0229cdc6dc956bbd)

M  +2-2src/effects/colorpicker/colorpicker.cpp

https://invent.kde.org/plasma/kwin/commit/420636a2a1300423212bda751097d267bd214d7d

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

[kwin] [Bug 454974] DBus method ColorPicker.pick fails to retrieve color (returns black)

2022-07-22 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=454974

Nate Graham  changed:

   What|Removed |Added

 Resolution|--- |FIXED
   Version Fixed In||5.24.7
 Status|ASSIGNED|RESOLVED
  Latest Commit||https://invent.kde.org/plas
   ||ma/kwin/commit/df6331b60aa0
   ||3e65f146e93d0229cdc6dc956bb
   ||d

--- Comment #19 from Nate Graham  ---
Git commit df6331b60aa03e65f146e93d0229cdc6dc956bbd by Nate Graham, on behalf
of ivan tkachenko.
Committed on 22/07/2022 at 19:51.
Pushed by ngraham into branch 'master'.

effects/colorpicker: Fix picking colors

Due to the wrong buffer format, the function failed with
GL_INVALID_OPERATION error, which was silently ignored by the effect.
It resulted in the constant phantom color being returned over and over
again.

Co-Authored-By: David Edmundson 
FIXED-IN: 5.24.7, 5.25.4, 5.26

M  +2-2src/effects/colorpicker/colorpicker.cpp

https://invent.kde.org/plasma/kwin/commit/df6331b60aa03e65f146e93d0229cdc6dc956bbd

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

[kwin] [Bug 454974] DBus method ColorPicker.pick fails to retrieve color (returns black)

2022-07-22 Thread Bug Janitor Service
https://bugs.kde.org/show_bug.cgi?id=454974

Bug Janitor Service  changed:

   What|Removed |Added

 Status|CONFIRMED   |ASSIGNED

--- Comment #18 from Bug Janitor Service  ---
A possibly relevant merge request was started @
https://invent.kde.org/plasma/kwin/-/merge_requests/2702

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

[kwin] [Bug 454974] DBus method ColorPicker.pick fails to retrieve color (returns black)

2022-07-22 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=454974

Nate Graham  changed:

   What|Removed |Added

   Assignee|kwin-bugs-n...@kde.org  |m...@ratijas.tk

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

[kwin] [Bug 454974] DBus method ColorPicker.pick fails to retrieve color (returns black)

2022-07-20 Thread ratijas
https://bugs.kde.org/show_bug.cgi?id=454974

--- Comment #17 from ratijas  ---
Forgot to add my system information.  Sorry for the spam.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE: git master
Qt Version: 5.15.5
Kernel Version: 5.18.12-arch1-1 (64-bit)
Graphics Platform: X11
Processors: 8 × Intel® Core™ i7-6700HQ CPU @ 2.60GHz
Memory: 15.6 GiB of RAM
Graphics Processor: NVIDIA GeForce GTX 970M/PCIe/SSE2
Manufacturer: ASUSTeK COMPUTER INC.
Product Name: G752VT
System Version: 1.0

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

[kwin] [Bug 454974] DBus method ColorPicker.pick fails to retrieve color (returns black)

2022-07-20 Thread ratijas
https://bugs.kde.org/show_bug.cgi?id=454974

--- Comment #16 from ratijas  ---
Meanwhile, Qt/KDE color dialog still works. It can be invoked by right clicking
on the applet -> «Open Color Dialog». Picking screen color from a dialog works
alright, and clicking OK button adds chosen color to the applet. However,
subsequent D-Bus invocations still return the same #ff7f color in console.
And in the applet, trying to pick a color does nothing: when the history is
empty no color is added as a result of picking at all.

printf "#%x\n" $(qdbus --literal org.kde.KWin /ColorPicker
org.kde.kwin.ColorPicker.pick | awk '{print $3+0}')

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

[kwin] [Bug 454974] DBus method ColorPicker.pick fails to retrieve color (returns black)

2022-07-20 Thread ratijas
https://bugs.kde.org/show_bug.cgi?id=454974

ratijas  changed:

   What|Removed |Added

 Ever confirmed|0   |1
 Status|REPORTED|CONFIRMED

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

[kwin] [Bug 454974] DBus method ColorPicker.pick fails to retrieve color (returns black)

2022-07-20 Thread ratijas
https://bugs.kde.org/show_bug.cgi?id=454974

--- Comment #15 from ratijas  ---
Created attachment 150776
  --> https://bugs.kde.org/attachment.cgi?id=150776=edit
another kwin support info

> Can anybody who is able to reproduce this issue post the output `qdbus 
> org.kde.KWin /KWin supportInformation`?

For me the D-Bus method always returns the last color I successfully selected
some time in past: #ff7f.

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

[kwin] [Bug 454974] DBus method ColorPicker.pick fails to retrieve color (returns black)

2022-07-20 Thread ratijas
https://bugs.kde.org/show_bug.cgi?id=454974

ratijas  changed:

   What|Removed |Added

 CC||m...@ratijas.tk

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

[kwin] [Bug 454974] DBus method ColorPicker.pick fails to retrieve color (returns black)

2022-07-15 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=454974

Nate Graham  changed:

   What|Removed |Added

   Keywords||regression
 CC||n...@kde.org
   Priority|NOR |VHI

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

[kwin] [Bug 454974] DBus method ColorPicker.pick fails to retrieve color (returns black)

2022-07-15 Thread Antonio Rojas
https://bugs.kde.org/show_bug.cgi?id=454974

Antonio Rojas  changed:

   What|Removed |Added

 CC||mmarrerole...@gmail.com

--- Comment #14 from Antonio Rojas  ---
*** Bug 456418 has been marked as a duplicate of this bug. ***

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

[kwin] [Bug 454974] DBus method ColorPicker.pick fails to retrieve color (returns black)

2022-06-29 Thread Antonio Rojas
https://bugs.kde.org/show_bug.cgi?id=454974

Antonio Rojas  changed:

   What|Removed |Added

 CC||gerald.driss...@gmail.com

--- Comment #13 from Antonio Rojas  ---
*** Bug 456114 has been marked as a duplicate of this bug. ***

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

[kwin] [Bug 454974] DBus method ColorPicker.pick fails to retrieve color (returns black)

2022-06-28 Thread pablo
https://bugs.kde.org/show_bug.cgi?id=454974

pablo  changed:

   What|Removed |Added

 CC||pa...@blueoakdb.com

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

[kwin] [Bug 454974] DBus method ColorPicker.pick fails to retrieve color (returns black)

2022-06-24 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=454974

--- Comment #12 from notfood@gmail.com ---
Created attachment 150134
  --> https://bugs.kde.org/attachment.cgi?id=150134=edit
Support Information

(In reply to Vlad Zahorodnii from comment #11)
> Can anybody who is able to reproduce this issue post the output `qdbus
> org.kde.KWin /KWin supportInformation`?

Attached

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

[kwin] [Bug 454974] DBus method ColorPicker.pick fails to retrieve color (returns black)

2022-06-24 Thread postix
https://bugs.kde.org/show_bug.cgi?id=454974

postix  changed:

   What|Removed |Added

 CC||pos...@posteo.eu

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

[kwin] [Bug 454974] DBus method ColorPicker.pick fails to retrieve color (returns black)

2022-06-24 Thread Vlad Zahorodnii
https://bugs.kde.org/show_bug.cgi?id=454974

Vlad Zahorodnii  changed:

   What|Removed |Added

   Severity|critical|normal

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

[kwin] [Bug 454974] DBus method ColorPicker.pick fails to retrieve color (returns black)

2022-06-24 Thread Vlad Zahorodnii
https://bugs.kde.org/show_bug.cgi?id=454974

--- Comment #11 from Vlad Zahorodnii  ---
Can anybody who is able to reproduce this issue post the output `qdbus
org.kde.KWin /KWin supportInformation`?

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

[kwin] [Bug 454974] DBus method ColorPicker.pick fails to retrieve color (returns black)

2022-06-23 Thread Vlad Zahorodnii
https://bugs.kde.org/show_bug.cgi?id=454974

--- Comment #10 from Vlad Zahorodnii  ---
The qdbus command*

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

[kwin] [Bug 454974] DBus method ColorPicker.pick fails to retrieve color (returns black)

2022-06-23 Thread Vlad Zahorodnii
https://bugs.kde.org/show_bug.cgi?id=454974

--- Comment #9 from Vlad Zahorodnii  ---
(In reply to Ismael Asensio from comment #5)
>  (In reply to Antonio Rojas from comment #3)
> > The only relevant change in 5.25 is
> > https://invent.kde.org/plasma/kdeplasma-addons/-/commit/
> > e03b5939c17454cded7df90b6bc2d50e2005e2b6
> > 
> > I can't reproduce this in any of my systems, but there are 3 reports from 3
> > different distros now.
> 
> Yeah, that commit removed the specific deprecated code for X and ported it
> to the common dbus-based method.
> 
> User reports that `qdbus --literal org.kde.KWin /ColorPicker
> org.kde.kwin.ColorPicker.pick` does not launch the color-picking part (where
> the user should point to a pixel with the crosshair cursor), but it seems to
> timeout and return `[Argument: (u) 4278190080]`, translated to  `#ff00`,
> that is black.

The qdbus works for me both on Wayland and X11.

> Moving this to kwin, as it will be easier to track down the root cause
> there. Information about monitor, graphics driver, etc, might be relevant
> here to know why this happens on some cases, as we cannot reproduce it.

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

[kwin] [Bug 454974] DBus method ColorPicker.pick fails to retrieve color (returns black)

2022-06-22 Thread Ismael Asensio
https://bugs.kde.org/show_bug.cgi?id=454974

Ismael Asensio  changed:

   What|Removed |Added

Summary|DBus method |DBus method
   |ColorPicker.pick does not   |ColorPicker.pick fails to
   |attempt to pick color   |retrieve color (returns
   ||black)

--- Comment #8 from Ismael Asensio  ---
(In reply to notfood.dev from comment #7)
> (In reply to Ismael Asensio from comment #6)
> > Created attachment 150066 [details]
> > ColorPicker.pick not picking a color
> > 
> > Also attaching the relevant video from the Ark bug tracker here
> 
> It doesn't timeout. The video doesn't capture the cursor change but it
> switches to picker, the message `[Argument: (u) 4278190080]` appears after
> clicking.
> 

Thanks for the clarification. Yeah, the video tricked me. 
This is useful information as we know then that the failing bit is the color
retrieving from the screen.

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