Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gtk-engines-qtcurve-1.8.16: improper rendering of combobox in gtkfilechooser with some configurations #2

Open
Coacher opened this issue Aug 5, 2013 · 9 comments
Labels

Comments

@Coacher
Copy link

Coacher commented Aug 5, 2013

Hello.

There is an issue with gtkfilechooser when I enable "Draw arrow within edit field"
option in Combos section in qtcurve configurator.
Here's the link with the picture illustrating this bug:

http://13p.imghost.us/U1/bad.png

When I disable this option things are getting back to normal:

http://13p.imghost.us/Gv/good.png

However, it is not the desirable look as I would prefer to have arrow embedded in edit field. Could you please fix it?

I am using gtk-engines-qtcurve-1.8.16, qtcurve-qt4-1.8.14 on Gentoo amd64 machine, my Qt is 4.8.5 (also reproducible on 4.8.4) and GTK+ is 2.24.17. If you need any other info I am ready to provide it.

@yuyichao
Copy link
Member

yuyichao commented Oct 6, 2013

@Coacher Can you probably upload the screen shot again? The link seems broken. And maybe also in which program did you see this?

@Coacher
Copy link
Author

Coacher commented Oct 18, 2013

The link has probably expired. Do you know any image hosting with nearly unlimited hosting time? Or maybe there is a way to attach it here?

The program is gtkfilechooser.

@tehnick
Copy link
Contributor

tehnick commented Oct 18, 2013

http://susepaste.org/
And 1 year should be enough for your purpose on my opinion.

@yuyichao
Copy link
Member

And it seems that if you embed the image with ![text](url), github will keep a copy of it. (at list the image url will be different).

@yuyichao
Copy link
Member

Oh, I think I understand what you mean now (again...). Are you talking about the combobox for file type?...

@yuyichao
Copy link
Member

And btw, is it a standalone program? I see some weird rendering with the filechooser in firefox and thunderbird but the same dialog in other programs looks fine (which either means it is cause by some mozilla specific workaround or settings that are turned on/off only for mozilla with my setting). Can you please check if you can reproduce your problem with the demo script here and could you also paste your qtcurve setting?

@yuyichao
Copy link
Member

A copy of the script (slightly modified) is here.

#!/usr/bin/env python2

import pygtk
pygtk.require('2.0')

import gtk

dialog = gtk.FileChooserDialog("Open..", None,
                               gtk.FILE_CHOOSER_ACTION_OPEN,
                               (gtk.STOCK_CANCEL, gtk.RESPONSE_CANCEL,
                                gtk.STOCK_OPEN, gtk.RESPONSE_OK))
dialog.set_default_response(gtk.RESPONSE_OK)

_filter = gtk.FileFilter()
_filter.set_name("All files")
_filter.add_pattern("*")
dialog.add_filter(_filter)

_filter = gtk.FileFilter()
_filter.set_name("Images")
_filter.add_mime_type("image/png")
_filter.add_mime_type("image/jpeg")
_filter.add_mime_type("image/gif")
_filter.add_pattern("*.png")
_filter.add_pattern("*.jpg")
_filter.add_pattern("*.gif")
_filter.add_pattern("*.tif")
_filter.add_pattern("*.xpm")
dialog.add_filter(_filter)

response = dialog.run()
print(response)

@Coacher
Copy link
Author

Coacher commented Oct 20, 2013

Here's a link to susepaste with screenshot: http://susepaste.org/67361823
screenshot

Yes, I meant the file type combobox. I am not sure whether gtkfilechooser can be used as a standalone program, I did that screenshot from "Open" dialog in gvim. If you don't have gvim, then tell me what common GTK programs you have installed and I'll try to reproduce this issue in them.

@Coacher
Copy link
Author

Coacher commented Oct 20, 2013

Yes, this bug is reproducible using your script above.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants