Re: OT: icon problem
- From: Jack <ostroffjh users sourceforge net>
- To: balsa-list gnome org
- Subject: Re: OT: icon problem
- Date: Thu, 31 Aug 2017 19:51:45 -0400
Hi Peter,
Just a quick if late follow-up. I finally sat down with this today,
and think I've got it figured out. You got the right area
/usrr/share/icons. In my case .../KDE_Classic/cursors/col-resize
points to split_v and row-resize points to split_h. That does seem
backwards, probably a typo somewere during setting up the theme. That
mis-pointing is tre also of all the Oxygen_color themes I have. The
only ones not to have that problem are breeze_cursors and Breeze_Snow
where the resize files are real, not symlinks, and the split_h points
to col-resize, which is correct. Now I've just got to figure out how
to file this as a bug with Gentoo, and wonder if it is their packaging
or actually from upstream.
At least I've tracked it down. Thanks for the help.
Jack
On 2017.05.25 20:15, Peter Bloomfield wrote:
Hi Jack:
On 05/25/2017 06:14:13 PM Thu, Jack wrote:
This is not a Balsa issue, but probably some underlying gtk icon
issue. The icons for adjusting the relative position of panes
GtkPaned ?) have the vertical and horizontal icons swapped. For
example, I use the default layout with preview pane. If I try to
adjust the relative height of the message list and preview pane, the
icon for grabbing the separator is two vertical bars with arrows to
the right and left. If I try to adjust the relative size of the
mailbox list (left) and the message list and preview pane (right)
the icon is two horizontal bars and arrows pointing up and down. I
see the same problem in the gentoo file browser (application by that
name, having nothing to do with the Gentoo distro.) I've hunted
through every gtk3 them and icon I can find, and cannot find those
icons. Does anyone know where they come from? Are they build into
gtk3? It's not really imporant, but it's starting to drive me crazy
that I can't find where they are coming from.
Thanks for any suggestions.
The relevant code in gtkpaned.c may be:
if (gtk_widget_is_sensitive (widget))
cursor = gdk_cursor_new_from_name (gtk_widget_get_display
(widget),
priv->orientation ==
GTK_ORIENTATION_HORIZONTAL
? "col-resize" :
"row-resize");
else
cursor = NULL;
gdk_window_set_cursor (priv->handle, cursor);
The doc[1] shows all the available cursors, and "col-resize" and
"row-resize" are what you'd expect. It states that:
[gdk_cursor_new_from_name] Creates a new cursor by looking up name in
the current cursor theme.
so the fault may lie in the "current cursor theme", whatever that is!
On my Fedora box, /usr/share/icons/Adwaita/cursors/col-resize is a
symlink to /usr/share/icons/Adwaita/cursors/sb_h_double_arrow, which
"file" declares to be an "X11 cursor", and which is indeed a
double-ended horizontal arrow. You could try looking for some file
with col[-_]resize in its name--that's the best I can suggest!
Peter
[1]
https://developer.gnome.org/gdk3/stable/gdk3-Cursors.html#gdk-cursor-new-from-name
[
Date Prev][Date Next] [
Thread Prev][Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]