A few theming-related GTK+ issues

View: New views
5 Messages — Rating Filter:   Alert me  

A few theming-related GTK+ issues

by Thorsten Wilms :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi!

During my ongoing work on an SVG based theme to be realized with the
gtk-css-engine, I became aware of a number of shortcomings in GTK+.

I searched/filed reports and made mockups. Please see:
http://thorwil.wordpress.com/2009/07/29/gtk-issues/


--
Thorsten Wilms

thorwil's design for free software:
http://thorwil.wordpress.com/

_______________________________________________
gnome-themes-list mailing list
gnome-themes-list@...
http://mail.gnome.org/mailman/listinfo/gnome-themes-list

Re: A few theming-related GTK+ issues

by Robert Staudinger :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,

On Wed, Jul 29, 2009 at 10:49 AM, Thorsten Wilms<t_w_@...> wrote:
> Hi!
>
> During my ongoing work on an SVG based theme to be realized with the
> gtk-css-engine, I became aware of a number of shortcomings in GTK+.
>
> I searched/filed reports and made mockups. Please see:
> http://thorwil.wordpress.com/2009/07/29/gtk-issues/

Regarding "There shouldn’t be focus indication on only the current tab
of a Notebook":

When exactly should the focus indication be displayed?
  + When the keyboard focus is on the notebook tab label?
  + When the keyboard focus is inside the notebook page?
  + Always, even when the keyboard focus is e.g. in a GtkEntry outside
the notebook?

- Rob
_______________________________________________
gnome-themes-list mailing list
gnome-themes-list@...
http://mail.gnome.org/mailman/listinfo/gnome-themes-list

Re: A few theming-related GTK+ issues

by Thorsten Wilms :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Wed, 2009-07-29 at 12:18 +0200, Robert Staudinger wrote:

> > http://thorwil.wordpress.com/2009/07/29/gtk-issues/
>
> Regarding "There shouldn’t be focus indication on only the current tab
> of a Notebook":
>
> When exactly should the focus indication be displayed?
>   + When the keyboard focus is on the notebook tab label?
>   + When the keyboard focus is inside the notebook page?
>   + Always, even when the keyboard focus is e.g. in a GtkEntry outside
> the notebook?

In the case where the visual indication is on the label now. The case
where cursor left/right keys will cycle through the tabs. I'm not sure
what is happening behind the scenes, but from an outside view the
notebook itself has the focus and the label is lying.

If one of the widgets on the page has focus, or anything outside the
notebook, the notebook/page/label can't have focus and should not
visually pretend otherwise.


--
Thorsten Wilms

thorwil's design for free software:
http://thorwil.wordpress.com/

_______________________________________________
gnome-themes-list mailing list
gnome-themes-list@...
http://mail.gnome.org/mailman/listinfo/gnome-themes-list

Re: A few theming-related GTK+ issues

by Calum Benson :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


On 29 Jul 2009, at 11:18, Robert Staudinger wrote:

> Hello,
>
> On Wed, Jul 29, 2009 at 10:49 AM, Thorsten Wilms<t_w_@...>  
> wrote:
>> Hi!
>>
>> During my ongoing work on an SVG based theme to be realized with the
>> gtk-css-engine, I became aware of a number of shortcomings in GTK+.
>>
>> I searched/filed reports and made mockups. Please see:
>> http://thorwil.wordpress.com/2009/07/29/gtk-issues/
>
> Regarding "There shouldn’t be focus indication on only the current tab
> of a Notebook":
>
> When exactly should the focus indication be displayed?
>  + When the keyboard focus is on the notebook tab label?
>  + When the keyboard focus is inside the notebook page?
>  + Always, even when the keyboard focus is e.g. in a GtkEntry outside
> the notebook?


Looks like this is already covered in the bug report, but as a  
reminder, the purpose of the keyboard focus indicator is to show  
exactly where any keyboard input is going to go at that moment in  
time.  (And also remember that focus and selection are two different  
things-- the selected tab, or any other selected object, need not be  
the same as the one that currently has focus.)

So in general:

* Only one item on the desktop should have keyboard focus at any one  
time, and
* Focus should only be given to items that can accept keyboard input.

So a tab in a notebook should show keyboard focus only when it's  
possible to interact with the tab (e.g. switch tabs, rearrange tabs,  
pop-up a tab's context menu if it has one), and not when any other  
control on the tab has focus.

Cheeri,
Calum.

--
CALUM BENSON, Usability Engineer       Sun Microsystems Ireland
mailto:calum.benson@...            OpenSolaris Desktop Team
http://blogs.sun.com/calum             +353 1 819 9771

Any opinions are personal and not necessarily those of Sun Microsystems

_______________________________________________
gnome-themes-list mailing list
gnome-themes-list@...
http://mail.gnome.org/mailman/listinfo/gnome-themes-list

Re: A few theming-related GTK+ issues

by Thorsten Wilms :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Wed, 2009-07-29 at 12:04 +0100, Calum Benson wrote:

> So in general:
>
> * Only one item on the desktop should have keyboard focus at any one  
> time, and
> * Focus should only be given to items that can accept keyboard input.

Hence not the label.


> So a tab in a notebook should show keyboard focus only when it's  
> possible to interact with the tab (e.g. switch tabs, rearrange tabs,  
> pop-up a tab's context menu if it has one), and not when any other  
> control on the tab has focus.

In the cases where you currently get to see the rectangle around the tab
label, keyboard interaction is with the notebook, not a single tab, as
next-tab and previous-tab are notebook actions, not tab actions.


--
Thorsten Wilms

thorwil's design for free software:
http://thorwil.wordpress.com/

_______________________________________________
gnome-themes-list mailing list
gnome-themes-list@...
http://mail.gnome.org/mailman/listinfo/gnome-themes-list