bugÉtoilé - Bugs: bug #8560, Buttons and other widgets do not...

 
 
Show feedback again

You are not allowed to post comments on this tracker with your current authentification level.

bug #8560: Buttons and other widgets do not have a focus ring

Submitted by:  Nicolas Roard <rio>
Submitted on:  Tue 27 Feb 2007 01:33:48 AM UTC  
 
Category: CamaelonSeverity: 3 - Normal
Priority: 1 - LaterStatus: Postponed
Privacy: PublicAssigned to: Nicolas Roard <rio>
Open/Closed: OpenOperating System: None

Tue 27 Feb 2007 01:33:48 AM UTC, original submission:

There's quite different ways for solving that. The problem is that currently widgets do not have a border -- eg with the NeXT theme on gnustep, the button's border are really the full view area. Which mean you can't draw anything outside that area; while it works well for the NeXT theme (because eg the focus ring is /inside/ the content rect), it's a big problem with themes -- no way of having a focus ring "outside" the button (as aqua does), or having a shadow, etc. To be clearer, you can do that -- but you'll "eat" in the existing content rect, which basically means that your buttons will look smaller (and so, you'd ideally need to fix your widgets). Nesedah indeed exhibit the problem, and it only "kinda" work because the border is thin...

The simplest and imho better way to fix that problem is to define for each widgets an actual border space between the real view's frame and the "content view" (that's exactly what Apple did for Aqua). The downside is that it will mean that we need to redo/cleanup our nib files to deal with this new "border", and also that non-étoilé apps won't look good either if they didn't do the same cleanup.

One solution is, wait till gnustep properly handles theming / integrate camaelon, and then, propose that this solution of using border be integrated in gnustep -- eg, that the NeXT theme also use borders... That way, gnustep apps will also need to redo their UI ;-) (and thus display nicely on étoilé). While it sounds a bit a rude idea, it's imho the only simple solution to have really versatile themes -- and that would benefit gnustep apps too (probably even more than étoilé, as we have Nesedah as our default theme, while gnustep users probably would want lots more themes ...). Beside, it's better to do that now / asap-- not that many apps to modify and the longer we wait, the more effort ! (with gorm anyway, it's fairly easy).

To sum up, we'll try to fix that upstream ;-)

Nicolas Roard <rio>
Project AdministratorIn charge of this item.

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by rio (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 27 Feb 2007 01:43:22 AM UTCrioStatusConfirmed=>Postponed
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup