You are not logged in.
Pages: 1
Hi
I was hoping someone may know the css id/class, or if it is a gtkrc issue? The open Dialog window has columns, name, size, and modified. When the size column is not hidden I get a different fg/bg color for the columns. Column color differ depending on navigation. in this shot I need to changes the modified column.
Last edited by wet-dog (2017-02-10 22:49:38)
Offline
The image link is broken.
Which open dialog are you referring to? From which application?
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
Hello
here is the url to img http://badbot.unaux.com/techs/170210_1.png
I just created the subdomain may not be propagated, but the link is working here. Cleaning browser temps now to check.
It is the open dialog on any app that uses open feature under file on menubars, gimp, editors,
Offline
Some apps use the GTK2 FileChooser dialog, some use the GTK3 FileChooser dialog. That looks like the GTK3 one. But definitely an interesting problem. I'm not even sure that you can do that with that widget, and yet, there it is.
What GTK3 theme are you using? Does the problem happen if you use another GTK theme?
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
It is a gtk3 hack from gnomes adwaita. But the default adwaita theme does the same thing. The only other Gtk3 theme I know for sure I have installed is Clearlooks Phenix. Every other row highlighted with black text. Kind of following the gtk2 side of things. But now I should be able to track it down in Clearlooks Phenix gtk.css. I do believe the widget I was looking for is "FileChooser ". As always a different perspective helps get back on course. Maybe close down the editor for a little while will help to.
Offline
It is a gtk3 hack from gnomes adwaita. But the default adwaita theme does the same thing.
Hmmm, it doesn't on my system. What distro are you using and version of GTK3 is being used?
The only other Gtk3 theme I know for sure I have installed is Clearlooks Phenix. Every other row highlighted with black text. Kind of following the gtk2 side of things. But now I should be able to track it down in Clearlooks Phenix gtk.css. I do believe the widget I was looking for is "FileChooser ". As always a different perspective helps get back on course. Maybe close down the editor for a little while will help to.
The FileChooser has a number of elements embedded in it and it looks like you are having an issue with the List Store. Start up gtk3-demo and have a look at the Pickers (double-click Pickers and view the File dialog) and the TreeView > (double-click) ListSort widgets. Do you get the same issue with them?
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
Yep
Had to start over. Debian uses gnome-themes-standard (3.22.2-1), which brings in Adwaita. It is gtk+ 2 and imports gtk3 gtk-container-dark.css. So I change to gtk-container.css. So I purged gnome-themes-standard and deps. Re-installed, and started over. Should have never messed with the /usr/shared/themes/Adwaita/ files. I got a copy of gtk-container.css from git.gnome and started over. The open dialog column colors are working a crossed all apps now.
Offline
Its the GTK2 dialog since it has icons on buttons...
Offline
Its the GTK2 dialog since it has icons on buttons...
I never did find the class or ID, I think you are correct about gtk2 but dialog did not work. GtkTreeView::odd-row-color, and even, worked but not for the columns. It was like gtk2 for when the size column was hidden, and gtk3 when not. Starting over fixed, but did not help with learning. Some of the authors (maintainer) comments where taunting.
# Disable active the column highlight
# We need to match specific cells or we break stuff
# Looking at you deadbeef
I have to upload the new css file to xfce-look now that it is working.
Offline
yes, because odd and even colors theme the cell/line backgrounds
also a simple text override should be enough for your font issue eg:
style"test"{
text[NORMAL]="#ff00ff"
text[PRELIGHT]="#ff00ff"
text[SELECTED]="#ff00ff"
text[ACTIVE]="#ff00ff"
text[INSENSITIVE]="#ff00ff"}
widget_class"*<GtkFileChooser>*<GtkTreeView>"style"test"
Last edited by sixsixfive (2017-02-12 23:46:39)
Offline
Its the GTK2 dialog since it has icons on buttons...
Actually, the Xfce developers have created internal functions to create GTK3 buttons with images. I went with GTK3 as a guess based on the other elements in the screenshot. For example, the file chooser in mousepad built using GTK3 libraries looks like this:
@wet-dog, from which app is the screenshot from your first post? You can check to see which gtk it's built against by running something like:
ldd /usr/bin/APP | grep gtk
...where APP is the executable of the application.
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
@ToZ
It was mousepad, But leafpad, gimp, and inkscape all returned same.
me@B85H3-M9:~$ ldd /usr/bin/mousepad | grep gtk
libgtksourceview-2.0.so.0 => /lib/x86_64-linux-gnu/libgtksourceview-2.0.so.0 (0x00007fdd8f929000)
libgtk-x11-2.0.so.0 => /lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0 (0x00007fdd8f2e0000)
@sixsixfive
I found this in new gtkrc
# Treeview buttons
widget_class "*<GtkTreeView>*<GtkButton>*" style "treeview_header"
Under style "treeview_header" { } There is @column colors prelight, normal. checking the old gtkrc for differences.
Offline
>widget_class "*<GtkTreeView>*<GtkButton>*"
that styles the headers at the top of the treeviews(modified, name, size)
>There is @column colors prelight, normal. checking the old gtkrc for differences.
if there is a @-sign then its a symbolic color that is most likely defined at the top of your gtkrc eg:
gtk_color_scheme = "test1:#ff00ff\ntest2:#ffff00\ntest3t:#00ffff"
>Actually, the Xfce developers have created internal functions to create GTK3 buttons with images.
oh i didn't know that, however the gtk2 one has still a treeview for the places/favorites the gtk3 one uses the placessidebar
Offline
Pages: 1
[ Generated in 0.010 seconds, 7 queries executed - Memory usage: 598.42 KiB (Peak: 615.27 KiB) ]