Projects/Oxygen/StyleWinDec: Difference between revisions

From KDE TechBase
No edit summary
 
(132 intermediate revisions by 21 users not shown)
Line 1: Line 1:
The current Oxygen style and window decoration for KDE4 can be found in SVN under http://websvn.kde.org/trunk/KDE/kdebase/runtime/kstyles/oxygen and http://websvn.kde.org/trunk/KDE/kdebase/workspace/kwin/clients/oxygen
The current Oxygen style and window decoration for KDE4 can be found in kde-workspace git repository (https://projects.kde.org/projects/kde/kdebase/kde-workspace). The relevant subdirectories are:
* libs/oxygen/
* kstyles/oxygen
* kwin/clients/oxygen


== Known Bugs ==
== Visitors ==
* tabs
We no longer accept bugs here.
** east and west aren't done at all <span style="color: orange">priority</span>
 
** no drawing of inactive tabs - only their text <span style="color: orange">priority</span>
Please use bugs.kde.org under Oxygen
* dockers
 
** frame when docked can be overwritten <span style="color: green">releasable</span>
We strongly suggest that you come to #oxygen on irc first to discuss the bug.
** frame when floating should have rounded corners <span style="color: green">releasable</span>
 
* holes
== Rejected Bugs ==
** top color doesn't go around curves <span style="color: green">releasable</span>
* In (double) spinboxes the font is positioned one pixel too high. Lowering it one makes it baseline-aligned with labels in front. <b>Unfortunately not possible. We want them to be the same size as editable comboboxes and lineedits and buttons so those line up. The 1px wrong placement of text is a qt weirdness that gives visual bugs when we try to work around it </b>
** [assigned: mwoehlke] color choice needs to be reviewed <span style="color: green">releasable</span>
* Centered group titles pose several problems. Left align group titles instead. See Discussion for more details.
** with autoFillBackground, corners are overpainted (how to fix this??) <span style="color: orange">priority</span>
* KMenu::addTitle() adds a widget action to display a title in a popup menu. This is not specific to Oxygen, but the widget it creates could use some polishing. (to see this, right click any icon in the system tray)<b>not a style bug report to kmenu maintainer - and don't ever add things to "accepted bugs" below again - this went unnoticed because of that </b>
* toolbuttons
* "flat" buttons drawn same as regular buttons <b>we may not want flat buttons - considering</b>
** glow color are not removed <span style="color: red">showstopper</span>
 
* need to audit color role use (see QA #3) <span style="color: red">showstopper</span>
== Things we'd like to do ==
* reverse layout is broken
** listview,tablevies etc paint the frame in LTR place <span style="color: red">showstopper</span>
* progress bars still not like the artist wants <span style="color: orange">priority</span>
* progress bars still not like the artist wants <span style="color: orange">priority</span>
* menus not done <span style="color: green">releasable</span>
* horizontal scrollbar looking a bit weird <span style="color: orange">priority</span>
* windeco - corners should really be alpha transparent <span style="color: green">releasable</span>
* should repaint on globalChange signal (how?) <span style="color: green">releasable</span>
* should repaint on globalChange signal (how?) <span style="color: green">releasable</span>
** this seems to only be a problem for the colors kcm, may not even be a style bug
** this seems to only be a problem for the colors kcm, may not even be a style bug
*dolphin: if you choose the "columns view", the whole widget is highlighted additionally to the active column of that widget. It should only highlight the active column, not the whole column widget <span style="color: orange">priority</span>
*headers in tables
*headers in tables etc are not really done - but the stripped plastik look is acceptable for now <span style="color: green">releasable</span>
**not really done - but the plain color look is acceptable for now <span style="color: green">releasable</span>
* Rounded corners of floatables (windows,menus dockers) should be done with alpha
* Windeco should use alpha for corners (need kwin improvements?)
* groupboxes
** make flat more homogeneous in look with normal (very short regular?)
* docked dockers might need a nicer frame


== QA ==
== QA ==
This is helpful checklist to use when looking for bugs in a style:
* reverse layout
* reverse layout
* high-contrast color schemes (i.e. all fg/bg black or white)
* high-contrast color schemes (i.e. all fg/bg black or white)
* reverse-light/dark color schemes (e.g. light-on-dark buttons with dark-on-light views, etc.)
* reverse-light/dark color schemes (e.g. light-on-dark buttons with dark-on-light views, etc.)
* tabs, in all directions
* [http://pastebin.ca/803298 QA color scheme]
* sliders, scrollbars, progress - in all orientations and good cross section of values
* sliders, scrollbars, progress - in all orientations and good cross section of values
* content padding works for all controls, does not break sizeToContents functionality
* content padding works for all controls, does not break sizeToContents functionality
* controls align nicely and controls that should be the same size, are
* controls align nicely and controls that should be the same size, are
* no obvious glitches in uidemo


[[Category:Artwork]][[Category:Oxygen]]
[[Category:Artwork]][[Category:Oxygen]]

Latest revision as of 09:03, 18 May 2011

The current Oxygen style and window decoration for KDE4 can be found in kde-workspace git repository (https://projects.kde.org/projects/kde/kdebase/kde-workspace). The relevant subdirectories are:

  • libs/oxygen/
  • kstyles/oxygen
  • kwin/clients/oxygen

Visitors

We no longer accept bugs here.

Please use bugs.kde.org under Oxygen

We strongly suggest that you come to #oxygen on irc first to discuss the bug.

Rejected Bugs

  • In (double) spinboxes the font is positioned one pixel too high. Lowering it one makes it baseline-aligned with labels in front. Unfortunately not possible. We want them to be the same size as editable comboboxes and lineedits and buttons so those line up. The 1px wrong placement of text is a qt weirdness that gives visual bugs when we try to work around it
  • Centered group titles pose several problems. Left align group titles instead. See Discussion for more details.
  • KMenu::addTitle() adds a widget action to display a title in a popup menu. This is not specific to Oxygen, but the widget it creates could use some polishing. (to see this, right click any icon in the system tray)not a style bug report to kmenu maintainer - and don't ever add things to "accepted bugs" below again - this went unnoticed because of that
  • "flat" buttons drawn same as regular buttons we may not want flat buttons - considering

Things we'd like to do

  • progress bars still not like the artist wants priority
  • should repaint on globalChange signal (how?) releasable
    • this seems to only be a problem for the colors kcm, may not even be a style bug
  • headers in tables
    • not really done - but the plain color look is acceptable for now releasable
  • Rounded corners of floatables (windows,menus dockers) should be done with alpha
  • Windeco should use alpha for corners (need kwin improvements?)
  • groupboxes
    • make flat more homogeneous in look with normal (very short regular?)
  • docked dockers might need a nicer frame

QA

This is helpful checklist to use when looking for bugs in a style:

  • reverse layout
  • high-contrast color schemes (i.e. all fg/bg black or white)
  • reverse-light/dark color schemes (e.g. light-on-dark buttons with dark-on-light views, etc.)
  • QA color scheme
  • sliders, scrollbars, progress - in all orientations and good cross section of values
  • content padding works for all controls, does not break sizeToContents functionality
  • controls align nicely and controls that should be the same size, are
  • no obvious glitches in uidemo