Difference between revisions of "Projects/Oxygen/StyleWinDec"

Jump to: navigation, search
(Incoming New Bugs: menu icon blurring bug)
 
(91 intermediate revisions by 18 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
  
== Incoming New Bugs ==
+
== Visitors ==
* add your entry here and we (the developers) will move it down and prioritize
+
We no longer accept bugs here.
  
* The colors of QToolBox is wrong, one can not read anything. This is used in KMail (Settings->Composer->Standart Templates). The captions are unreadable, as they have the same color as the rest of the widget (gray).
+
Please use bugs.kde.org under Oxygen
  
* Dockers;  the title is positioned too far to the left and it runs into the rounded-border
+
We strongly suggest that you come to #oxygen on irc first to discuss the bug.
 
+
* 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 </b>
+
: what about altering the size hints so the whole widget moves down? Trouble is 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 - believe me - I've spent several hours on this.
+
 
+
* The ok and cancel buttons on dialogs (so called 'control buttons') don't have the same width. <b>Not a style problem </b>
+
  
 +
== Rejected Bugs ==
 +
* 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>
 
* Centered group titles pose several problems. Left align group titles instead. See Discussion for more details.
 
* 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)<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>
 +
* "flat" buttons drawn same as regular buttons <b>we may not want flat buttons - considering</b>
  
* Window decoration scales the menu icons down resulting in the icons blurring. Interestingly in the kwindecoration kcmshell the preview shows the 16x16/mimetypes/unknown.png icon at its correct 16x16 size, but as soon as the use the deco for real, it starts blurring them. (This is also true for KDE4's Plastik deco). [[User:Djmdave|Djmdave]] 22:26, 28 October 2007 (CET)
+
== Things we'd like to do ==
 
+
== Known Bugs ==
+
* tabs
+
** east and west aren't done at all <span style="color: orange">priority</span>
+
** small glitches in filling inactive tabs <span style="color: orange">priority</span>
+
* Dockers
+
** frame when docked can be overwritten <span style="color: green">releasable</span>
+
** frame when floating should have rounded corners <span style="color: red">showstopper</span>
+
* KHTML integration
+
** khtml makes illegal assumptions about buttons. Awaits patch review by Maxim <span style="color: red">showstopper</span>
+
* KLineEdit
+
** stylesheets ruin the look. Aseigo says to wait for qt fix <span style="color: red">showstopper</span>
+
* Holes in general
+
** need bigger margins so shadow/glow are not lost?
+
** fix non-rounded corners when filling (at least) lineedits <span style="color: orange">priority</span>
+
** with autoFillBackground, corners are overpainted (how to fix this??) <span style="color: orange">priority</span>
+
* QToolBox not drawn <span style="color: red">showstopper</span>
+
* need to audit color role use (see QA #3) <span style="color: red">showstopper</span>
+
* Reverse layout is broken
+
** listview,tablevies paint the frame in LTR place Qt issue 137304 <span style="color: green">releasable</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>
 
** 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)
 
* windeco
 
** corners should really be alpha transparent <span style="color: red">showstopper</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
 
*headers in tables
 
*headers in tables
 
**not really done - but the plain color 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>
* checkboxes in Q3ListView (Kontact-ToDo) are broken <span style="color: green">releasable</span>
+
* Rounded corners of floatables (windows,menus dockers) should be done with alpha
* Groupboxes
+
* Windeco should use alpha for corners (need kwin improvements?)
** does not report a minimum size that allows it to show the text on the box. I.e. a groupbox with no contents, the groupbox-title is clipped. <span style="color: green">releasable</span>
+
* groupboxes
** metrics for checkable groupboxes broken (see discussion for screenshot) <span style="color: orange">priority</span>
+
** make flat more homogeneous in look with normal (very short regular?)
* Buttons on KNewStuff download dialog do not appear
+
* 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]
* no gray space between scrollbar and the text area it controls.
+
 
* 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

Latest revision as of 10: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

Contents

[edit] 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.

[edit] 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

[edit] 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

[edit] 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

This page was last modified on 18 May 2011, at 10:03. This page has been accessed 23,400 times. Content is available under Creative Commons License SA 3.0 as well as the GNU Free Documentation License 1.2.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V.Legal