Can you disable image darkening when adjusting colors?

Ask for help and post your question on how to use XnView MP.

Moderators: XnTriq, helmut, xnview

XnXnXnBaby
Posts: 4
Joined: Mon Jun 12, 2023 6:45 pm

Can you disable image darkening when adjusting colors?

Post by XnXnXnBaby »

Hello,

when changing settings for colors, for example setting white point, the image gets darkened a bit, so changes to color settings can't be properly previewed. Can this behavior be disabled?

In case this is OS-specific: I'm running XnViewMP 1.4.5 Linux on Kubuntu 23.04

Image
User avatar
xnview
Author of XnView
Posts: 45054
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Can you disable image darkening when adjusting colors?

Post by xnview »

how do you reproduce?
Pierre.
XnXnXnBaby
Posts: 4
Joined: Mon Jun 12, 2023 6:45 pm

Re: Can you disable image darkening when adjusting colors?

Post by XnXnXnBaby »

I just tried it with different Operating Systems. Windows 10 doesn't show this behavior. The image stays bright when the color-adjustment window is open. But in both Ubuntu (gnome) and Kubuntu (KDE) the image becomes noticably darker, when a menu window is in the foreground.

Steps to reproduce:
1. Install Kubuntu 23.04
2. Install XNViewMP
3. Open an image.
4. Hit "L" button on keyboard to open the "levels" menu. (or go to menu "image -> "adjust" -> "levels")

Here is a short video on imgur: https://imgur.com/a/Xsvxx3W
XnXnXnBaby
Posts: 4
Joined: Mon Jun 12, 2023 6:45 pm

Re: Can you disable image darkening when adjusting colors?

Post by XnXnXnBaby »

Ok, I found a solution / workaround - at least for KDE.

To globally disable this dimming of background when a dialog box is open: In KDE settings -> "Desktop Effects" disable "Dialog Parent" .

Or you could make a "window rule" to just disable desktop effects for XnViewMP: Right click on Xnview title bar -> further actions -> special settings for this program -> add "Block Compositing".

If I understand it correctly, it might be possible for XnViewMP to block compositing.
User avatar
Akovia
Posts: 137
Joined: Sat Apr 02, 2011 2:10 am

Re: Can you disable image darkening when adjusting colors?

Post by Akovia »

XnXnXnBaby wrote: Tue Jun 13, 2023 8:42 pm Ok, I found a solution / workaround - at least for KDE.

To globally disable this dimming of background when a dialog box is open: In KDE settings -> "Desktop Effects" disable "Dialog Parent" .

Or you could make a "window rule" to just disable desktop effects for XnViewMP: Right click on Xnview title bar -> further actions -> special settings for this program -> add "Block Compositing".

If I understand it correctly, it might be possible for XnViewMP to block compositing.
You sir just saved me a ton of time trying to track that down.
Appreciate your pioneering work! :D
Arch Linux
XnView MP
XnXnXnBaby
Posts: 4
Joined: Mon Jun 12, 2023 6:45 pm

Re: Can you disable image darkening when adjusting colors?

Post by XnXnXnBaby »

Glad I could help!