v0.12 Win32: Cosmetics: Filter control display anomaly

*** Please report new bugs here! ***

Moderators: XnTriq, helmut, xnview, Dreamer

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

Re: v0.12 Win32: Cosmetics: Filter control display anomaly

Post by xnview »

You have changed only for classic theme? No font change? or DPI?
Pierre.
User avatar
JohnFredC
XnThusiast
Posts: 2010
Joined: Wed Mar 17, 2004 8:33 pm
Location: Sarasota Florida

Re: v0.12 Win32: Cosmetics: Filter control display anomaly

Post by JohnFredC »

Hi Pierre...

Not sure of your question, but the problem shows with all of the MP styles. I can send screenshots but don't have time today.

Are you layering two controls for the Filter thing? Or is that a special control available in QT? Regardless, it appears to be a composite of two controls.

Perhaps a "standard", editable combo box that collects the entries PLUS a couple of buttons to manage the list, apply/cancel the filter...

Here is a quick and dirty (and ugly) illustration:

Image

+ (Add current value to list of filters)
- (Remove current value from list of filters)
X Disable filter
Last edited by JohnFredC on Wed Sep 30, 2009 1:43 pm, edited 1 time in total.
John
User avatar
xnview
Author of XnView
Posts: 44926
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: v0.12 Win32: Cosmetics: Filter control display anomaly

Post by xnview »

JohnFredC wrote: Not sure of your question, but the problem shows with all of the MP styles. I can send screenshots but don't have time today.
No i means that windows are not in Xp theme but classic theme...
Pierre.
User avatar
JohnFredC
XnThusiast
Posts: 2010
Joined: Wed Mar 17, 2004 8:33 pm
Location: Sarasota Florida

Re: v0.12 Win32: Cosmetics: Filter control display anomaly

Post by JohnFredC »

Ah, yes. I use classic theme.
John
User avatar
xnview
Author of XnView
Posts: 44926
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: v0.12 Win32: Cosmetics: Filter control display anomaly

Post by xnview »

JohnFredC wrote:Ah, yes. I use classic theme.
If you try the Xp Theme?
Pierre.
User avatar
XnTriq
Moderator & Librarian
Posts: 6388
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: v0.12 Win32: Cosmetics: Filter control display anomaly

Post by XnTriq »

xnview wrote:You have changed only for classic theme? No font change? or DPI?
Default theme, default fonts, default resolution, and no effects.

If you compare the two screen caps, ...
  • Image Image
... you'll see that the problem has to do with the Qt style sheet.

Pierre, do you know which selectors are responsible for the search field and the stop button? I can't find it on Trolltech's site :x
User avatar
JohnFredC
XnThusiast
Posts: 2010
Joined: Wed Mar 17, 2004 8:33 pm
Location: Sarasota Florida

Re: v0.12 Win32: Cosmetics: Filter control display anomaly

Post by JohnFredC »

Hi Pierre...

I switched to the Windows XP theme, but there was no improvement.

(...so I switched back 8) )
John
User avatar
xnview
Author of XnView
Posts: 44926
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: v0.12 Win32: Cosmetics: Filter control display anomaly

Post by xnview »

XnTriq wrote: If you compare the two screen caps, ...
  • Image Image
... you'll see that the problem has to do with the Qt style sheet.
Oh, if you use the default theme, there is no problem???
Pierre, do you know which selectors are responsible for the search field and the stop button? I can't find it on Trolltech's site :x
It's a custom control
Pierre.
User avatar
XnTriq
Moderator & Librarian
Posts: 6388
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: v0.12 Win32: Cosmetics: Filter control display anomaly

Post by XnTriq »

xnview wrote:It's a custom control
I see.
xnview wrote:Oh, if you use the default theme, there is no problem???
Correct.

It doesn't matter which style (Windows/Motif/CDE/Plastique/Cleanlooks) I use.
As soon as I activate the View » Style » Theme option, this UI problem with the search box shows up.
To fix it, I have to remove all text in the DlgEdit window.
Even if just a simple space character (Alt+032) is left behind, our problem persists.

@JohnFredC: Can you confirm this behavior with Windows XP?
User avatar
JohnFredC
XnThusiast
Posts: 2010
Joined: Wed Mar 17, 2004 8:33 pm
Location: Sarasota Florida

Re: v0.12 Win32: Cosmetics: Filter control display anomaly

Post by JohnFredC »

Yes! Confirmed as you describe. Good detecting!

To reproduce:

Create a theme, apply it.
Observe display problem.
Clear theme, apply.
Close MP.
Restart MP.
Display issue no longer visible.
John
User avatar
JohnFredC
XnThusiast
Posts: 2010
Joined: Wed Mar 17, 2004 8:33 pm
Location: Sarasota Florida

Re: v0.12 Win32: Cosmetics: Filter control display anomaly

Post by JohnFredC »

Hi Pierre

This issue is almost fixed in 0.21. It's only one pixel "off" at the bottom border:

Image
John