Removing border and background from KPageView

Christoph Feck christoph at maxiom.de
Tue Sep 9 11:07:36 UTC 2014


On Tuesday 09 September 2014 12:37:12 Hugo Pereira Da Costa wrote:
> On 09/09/2014 12:16 PM, Christoph Feck wrote:
> > On Tuesday 09 September 2014 10:33:22 Albert Astals Cid wrote:
> > > El Dilluns, 8 de setembre de 2014, a les 23:31:52, Anton
> > > Kreuzkamp
> > > 
> > > va
> > > 
> > > escriure:
> > > > Hi,
> > > > 
> > > > 
> > > > 
> > > > on the VDG forum there has been a discussion about improving
> > > > the
> > > > 
> > > > design of "sidebars"
> > > > 
> > > > (https://forum.kde.org/viewtopic.php?f=285&t=120006). Meant
> > > > are
> > > > 
> > > > the sidebars that allow navigating between application pages,
> > > > 
> > > > namely KPageView.
> > > > 
> > > > 
> > > > 
> > > > The idea is to remove the border and the white background, so
> > > > 
> > > > that the list is drawn onto the window-background directly.
> > > > 
> > > > 
> > > > 
> > > > The implementation of this is rather easy, it's basically
> > > > setting
> > > > 
> > > > two flags in the constructor of KPageListView, resp.
> > > > 
> > > > KPageTreeView.
> > > > 
> > > > 
> > > > 
> > > > The result is this:
> > > > 
> > > > http://wstaw.org/m/2014/09/04/frameless-sidebar-oxygen.png
> > > > 
> > > > 
> > > > 
> > > > When using a tree view, it's like this:
> > > > 
> > > > http://wstaw.org/m/2014/09/04/frameless-sidebar-oxygen-tree.p
> > > > ng
> > > > 
> > > > 
> > > > 
> > > > What's your opinion regarding this?
> > > 
> > > I think that the white background better and it's what lists
> > > have
> > > 
> > > been doing for a long time.
> > > 
> > > 
> > > 
> > > Is there any UX/design rationale of why removing the background
> > > is
> > > 
> > > better than having it?
> > 
> > Additionally, removing the frame is not a good idea, because the
> > frame separates the scrollable(!) contents of the list from the
> > background, in other words, they are not at the same (z-axis)
> > layer.
> 
> Not that I am completely convinced with the proposed change (I have
> been doing some experiment with it in breeze).
> 
> Still, to be the devil's advocate, one can ask what is the
> difference between the said KPageListView panel, and say, dolphin
> 'places' side panel (which is also a scrolable list) ?
> (or the one from our download dialog)

You are right, in my opinion that was a wrong decision, that's why I 
have a patch in Skulpture style to add the correct frame and 
background back to the places panel (which unfortunately does not work 
with Dolphin's custom panel since the rewrite).

Christoph Feck (kdepepo)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20140909/346f948a/attachment.html>


More information about the Kde-frameworks-devel mailing list