[krita] [Bug 412943] Use System Monitor Profile checkbox attributes wrong profile to screens, breaking color management

2023-05-15 Thread Tiar
https://bugs.kde.org/show_bug.cgi?id=412943

--- Comment #20 from Tiar  ---
Git commit 054517cd8f42e0f4215f7eae2628428bc23b3370 by Agata Cacko.
Committed on 15/05/2023 at 14:09.
Pushed by tymond into branch 'master'.

Fix color profiles being assigned to screens by indexes

Before this commit, Krita assigned color profiles to screens
based on screen indexes, which apparently can change
(see the bug report). This commit introduces "screen string
identifier" which is a concatenation of multiple screen
properties like manufacturer, serial number, resolution etc.
(Note that especially on Windows, any of those
properties might be empty strings).
Related: bug 407498, bug 412608

M  +36   -1libs/ui/kis_config.cc
M  +2-0libs/ui/kis_config.h

https://invent.kde.org/graphics/krita/commit/054517cd8f42e0f4215f7eae2628428bc23b3370

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

[krita] [Bug 412943] Use System Monitor Profile checkbox attributes wrong profile to screens, breaking color management

2023-03-02 Thread Bug Janitor Service
https://bugs.kde.org/show_bug.cgi?id=412943

--- Comment #19 from Bug Janitor Service  ---
A possibly relevant merge request was started @
https://invent.kde.org/graphics/krita/-/merge_requests/1768

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

[krita] [Bug 412943] Use System Monitor Profile checkbox attributes wrong profile to screens, breaking color management

2021-09-21 Thread Tyson Tan
https://bugs.kde.org/show_bug.cgi?id=412943

--- Comment #18 from Tyson Tan  ---
OK, thanks for the info! :)

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

[krita] [Bug 412943] Use System Monitor Profile checkbox attributes wrong profile to screens, breaking color management

2021-09-21 Thread wolthera
https://bugs.kde.org/show_bug.cgi?id=412943

wolthera  changed:

   What|Removed |Added

 Status|CONFIRMED   |RESOLVED
 Resolution|--- |UPSTREAM

--- Comment #17 from wolthera  ---
Unfortunately, I looked at tiar's code, and it already adds all the information
we can retrieve. The main problem is that Qt doesn't get to know what kind of
Monitor you have (this is also visible if you look at the System Info for bug
reports under help), so we can't show more information. :/

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

[krita] [Bug 412943] Use System Monitor Profile checkbox attributes wrong profile to screens, breaking color management

2021-09-09 Thread wolthera
https://bugs.kde.org/show_bug.cgi?id=412943

wolthera  changed:

   What|Removed |Added

 Ever confirmed|0   |1
   Keywords||triaged
 Status|REPORTED|CONFIRMED

--- Comment #16 from wolthera  ---
Someone needs to adjust the text to give better feedback about the monitors.

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

[krita] [Bug 412943] Use System Monitor Profile checkbox attributes wrong profile to screens, breaking color management

2021-04-01 Thread Bug Janitor Service
https://bugs.kde.org/show_bug.cgi?id=412943

Bug Janitor Service  changed:

   What|Removed |Added

 Status|NEEDSINFO   |REPORTED
 Ever confirmed|1   |0
 Resolution|WAITINGFORINFO  |---

--- Comment #15 from Bug Janitor Service  ---
Thanks for your comment!

Automatically switching the status of this bug to REPORTED so that the KDE team
knows that the bug is ready to get confirmed.

In the future you may also do this yourself when providing needed information.

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

[krita] [Bug 412943] Use System Monitor Profile checkbox attributes wrong profile to screens, breaking color management

2021-04-01 Thread Tyson Tan
https://bugs.kde.org/show_bug.cgi?id=412943

--- Comment #14 from Tyson Tan  ---
If there is one thing I can comment, I think Krita's current Color Management
Display identification text is still inadequate. It only shows something like
"DisplayPort-3 C 3840x2160". If I had two 4K display both connected to
displayports, there is no way I can tell them apart.

To help users assign ICC profiles accurately, I recommend you show users the
Display's Vendor and Model on that page.

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

[krita] [Bug 412943] Use System Monitor Profile checkbox attributes wrong profile to screens, breaking color management

2021-04-01 Thread Tyson Tan
https://bugs.kde.org/show_bug.cgi?id=412943

--- Comment #13 from Tyson Tan  ---
Hi Tiar,
My apologies, I have given up using multi-monitor altogether because of this
bug. Now I use a single Cintiq on each working location, so unfortunately I
cannot test or confirm about the situation.

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

[krita] [Bug 412943] Use System Monitor Profile checkbox attributes wrong profile to screens, breaking color management

2021-03-30 Thread Tiar
https://bugs.kde.org/show_bug.cgi?id=412943

Tiar  changed:

   What|Removed |Added

 Status|ASSIGNED|NEEDSINFO
 Resolution|--- |WAITINGFORINFO
   Assignee|tamtamy.tym...@gmail.com|krita-bugs-n...@kde.org

--- Comment #12 from Tiar  ---
I believe I did everything we can do in Krita to solve this issue (automatic
color management is broken, so one needs to do manual; for manual, there is a
user-friendly text now that in most cases should allow setting the color
profiles correctly). @Tyson Tan can you please confirm?

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

[krita] [Bug 412943] Use System Monitor Profile checkbox attributes wrong profile to screens, breaking color management

2021-02-13 Thread soredake
https://bugs.kde.org/show_bug.cgi?id=412943

soredake  changed:

   What|Removed |Added

 CC||ndrzj1...@relay.firefox.com

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

[krita] [Bug 412943] Use System Monitor Profile checkbox attributes wrong profile to screens, breaking color management

2020-10-16 Thread Tymond
https://bugs.kde.org/show_bug.cgi?id=412943

--- Comment #11 from Tymond  ---
Git commit f9553ab19e8120d9e157dbfa07db601631226e67 by Agata Cacko.
Committed on 16/10/2020 at 19:25.
Pushed by tymond into branch 'krita/4.3'.

Show display names in Color Management -> Display

Before this commit, user would have to figure out on their
own which display is which. Because of a bug in the system
assigning color profiles to displays, the automatic way doesn't
always work so the user needs to assign color profiles on their own.
Before this commit the dialog only showed "Screen 1, Screen 2".
This commit adds following information:
- name
- if model is not null, add model; if it is null, add manufacturer info
- resolution
It is also shortened so the maximum length is 25 characters.

M  +41   -3libs/ui/dialogs/kis_dlg_preferences.cc

https://invent.kde.org/graphics/krita/commit/f9553ab19e8120d9e157dbfa07db601631226e67

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

[krita] [Bug 412943] Use System Monitor Profile checkbox attributes wrong profile to screens, breaking color management

2020-08-06 Thread Tymond
https://bugs.kde.org/show_bug.cgi?id=412943

--- Comment #10 from Tymond  ---
Git commit 77f6562d503686816cb728122dfdaa1bb0168aff by Agata Cacko.
Committed on 06/08/2020 at 14:06.
Pushed by tymond into branch 'master'.

Show display names in Color Management -> Display

Before this commit, user would have to figure out on their
own which display is which. Because of a bug in the system
assigning color profiles to displays, the automatic way doesn't
always work so the user needs to assign color profiles on their own.
Before this commit the dialog only showed "Screen 1, Screen 2".
This commit adds following information:
- name
- if model is not null, add model; if it is null, add manufacturer info
- resolution
It is also shortened so the maximum length is 25 characters.

M  +40   -3libs/ui/dialogs/kis_dlg_preferences.cc

https://invent.kde.org/graphics/krita/commit/77f6562d503686816cb728122dfdaa1bb0168aff

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

[krita] [Bug 412943] Use System Monitor Profile checkbox attributes wrong profile to screens, breaking color management

2020-08-03 Thread Tymond
https://bugs.kde.org/show_bug.cgi?id=412943

Tymond  changed:

   What|Removed |Added

 Ever confirmed|0   |1
 Status|REPORTED|ASSIGNED
   Assignee|krita-bugs-n...@kde.org |tamtamy.tym...@gmail.com
 CC||tamtamy.tym...@gmail.com

--- Comment #9 from Tymond  ---
@Tyson Tan - will this MR fix the issue?
https://invent.kde.org/graphics/krita/-/merge_requests/457 - I believe it will
at least improve the situation, but do I understand correctly that it will fix
everything that Krita has to fix? (Since you already established it's not
Krita's fault that the color management is broken).

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

[krita] [Bug 412943] Use System Monitor Profile checkbox attributes wrong profile to screens, breaking color management

2019-10-16 Thread Tyson Tan
https://bugs.kde.org/show_bug.cgi?id=412943

--- Comment #8 from Tyson Tan  ---
(In reply to Boudewijn Rempt from comment #7)
> We cannot get that in a cross-platform way. There is some code that could
> theoretically interface with the system's color management system, but so
> far, I only implemented that for Linux, and only if the desktop runs colord.

My bad, it doesn't have this option under Windows 10. Maybe I went insane since
I haven't been sleeping well lately...But yes, it behaves like that under
KDE/Gnome.

I also tried to test this with Laptop-Intel Graphics-Type-C(detected as
DP)-Cintiq Pro 13, but it ran into the infamous Intel Color Range Bug:
https://wiki.archlinux.org/index.php/Intel_graphics#Weathered_colors_(color_range_problems)
This is another Linux death trap for color management, but somehow the
workaround didn't work now so I gave up the test.

I do notice that in colord, Wacom devices have "Unknown" before their model
name. I wonder if it is related?

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

[krita] [Bug 412943] Use System Monitor Profile checkbox attributes wrong profile to screens, breaking color management

2019-10-16 Thread Boudewijn Rempt
https://bugs.kde.org/show_bug.cgi?id=412943

--- Comment #7 from Boudewijn Rempt  ---
We cannot get that in a cross-platform way. There is some code that could
theoretically interface with the system's color management system, but so far,
I only implemented that for Linux, and only if the desktop runs colord.

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

[krita] [Bug 412943] Use System Monitor Profile checkbox attributes wrong profile to screens, breaking color management

2019-10-16 Thread Tyson Tan
https://bugs.kde.org/show_bug.cgi?id=412943

--- Comment #6 from Tyson Tan  ---
(In reply to Boudewijn Rempt from comment #5)
> Could it just be a bug in colord? That's where we get the information from.

Yes, the more I test, the more it seems to be a problem on the system's side:

1) Whenever Krita got it wrong, other applications would go wrong as well;

2) Now more careful tests revealed that each machine behaves differently. But
that particular behavior remains the same across different OSes -- KDE, Gnome,
Manjaro, Fedora, LiveUSB, Windows 10...all fails the same way, all fixed with
the same workaround. It seemed to ignore which connectors I used and the order
of of them, not even how the displays are arranged in the system. My initial
conclusion was completely invalid.

3) Things in common: AMD GPU, Cintiq Pro, DisplayPort. Later I will do a test
on my Laptop with Intel GPU, a Type-C cable to a normal display.

All said, if we can get Displays' EDID from the OSes, list them in Krita's
Color Management settings with their names visible, people can easily assign
profile manually.

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

[krita] [Bug 412943] Use System Monitor Profile checkbox attributes wrong profile to screens, breaking color management

2019-10-16 Thread Boudewijn Rempt
https://bugs.kde.org/show_bug.cgi?id=412943

Boudewijn Rempt  changed:

   What|Removed |Added

 CC||b...@valdyas.org

--- Comment #5 from Boudewijn Rempt  ---
Could it just be a bug in colord? That's where we get the information from.

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

[krita] [Bug 412943] Use System Monitor Profile checkbox attributes wrong profile to screens, breaking color management

2019-10-14 Thread Tyson Tan
https://bugs.kde.org/show_bug.cgi?id=412943

--- Comment #4 from Tyson Tan  ---
(In reply to Tyson Tan from comment #3)
> I did some further test today, and found that on one machine no matter how I
> arrange the multi-displays, Krita will always attribute wrong profiles to
> each monitor. Manually setting the profile does not work (at first) on
> Display #1 but works on Display #2. Check/Unchecking the Use system monitor
> profile checkbox will make the manually assigned profile work for Display #1
> as well, and it will remain working on restart.

So on this particular machine (it has KDE Plasma), I had to set the lower
monitor as "Primary" for Krita to auto-configure the profiles properly. I also
noticed that unless I configure it like that, every other graphics apps
(gwenview, Firefox) would also color manage incorrectly the same way as Krita
did.

I'm so confused right now...

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

[krita] [Bug 412943] Use System Monitor Profile checkbox attributes wrong profile to screens, breaking color management

2019-10-14 Thread Tyson Tan
https://bugs.kde.org/show_bug.cgi?id=412943

--- Comment #3 from Tyson Tan  ---
I did some further test today, and found that on one machine no matter how I
arrange the multi-displays, Krita will always attribute wrong profiles to each
monitor. Manually setting the profile does not work (at first) on Display #1
but works on Display #2. Check/Unchecking the Use system monitor profile
checkbox will make the manually assigned profile work for Display #1 as well,
and it will remain working on restart.

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

[krita] [Bug 412943] Use System Monitor Profile checkbox attributes wrong profile to screens, breaking color management

2019-10-14 Thread Tyson Tan
https://bugs.kde.org/show_bug.cgi?id=412943

--- Comment #2 from Tyson Tan  ---
(In reply to wolthera from comment #1)
> Hey Tyson, can you give your operating system information? It's rather vital
> here as everything behaves differently in each operating system :)

Hi Wolthera,
I think this is not OS specific, but I tested them on the following:

Manjaro KDE 18.1.0
Manjaro Gnome 18.1.0
Fedora Gnome 31 beta
Windwos 10 1903
2 different machines in 2 locations

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

[krita] [Bug 412943] Use System Monitor Profile checkbox attributes wrong profile to screens, breaking color management

2019-10-14 Thread wolthera
https://bugs.kde.org/show_bug.cgi?id=412943

wolthera  changed:

   What|Removed |Added

 CC||griffinval...@gmail.com

--- Comment #1 from wolthera  ---
Hey Tyson, can you give your operating system information? It's rather vital
here as everything behaves differently in each operating system :)

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