Bug 71219 - Listview widgets do not look native with GTK style
Summary: Listview widgets do not look native with GTK style
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
Version: 4.1.2.3 release
Hardware: Other All
: medium minor
Assignee: Not Assigned
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 32500
  Show dependency treegraph
 
Reported: 2013-11-04 12:57 UTC by Jean-François Fortin Tam
Modified: 2014-07-03 06:59 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments
how it looks like in LibreOffice (and OpenOffice) (26.01 KB, image/png)
2013-11-04 13:04 UTC, Jean-François Fortin Tam
Details
how it looks like in a native GTK ListView (21.61 KB, image/png)
2013-11-04 13:04 UTC, Jean-François Fortin Tam
Details

Description Jean-François Fortin Tam 2013-11-04 12:57:37 UTC
Will attach some screenshots comparing a normal gtk app showing a listview of a document's headers, and the same document being show in libreoffice's navigator.

What you can notice there among other things is that listview cells/items in Libreoffice only have a "solid blue" rectangle tight around the text. In a gtk listview, the "blue" zone is the entire row.
Comment 1 Jean-François Fortin Tam 2013-11-04 13:04:30 UTC
Created attachment 88612 [details]
how it looks like in LibreOffice (and OpenOffice)
Comment 2 Jean-François Fortin Tam 2013-11-04 13:04:58 UTC
Created attachment 88613 [details]
how it looks like in a native GTK ListView
Comment 3 Rob Snelders 2013-11-04 18:32:54 UTC
I don't really know if those are already changed to the new format. If it isn't then we should wait for that otherwise it should be fixed. Maybe caolan knows this?
Comment 4 Maxim Monastirsky 2013-11-04 20:29:05 UTC
(In reply to comment #3)
> I don't really know if those are already changed to the new format. If it
> isn't then we should wait for that otherwise it should be fixed.
As far as I understand, the new ui format only stores the layout, while the actual widget drawing is done like before. For me it looks like an additional task for Bug 32500.
Comment 5 Caolán McNamara 2013-11-05 10:19:30 UTC
Yeah, .ui doesn't change anything here. Just how these are stored, not how they are rendered. The widget in question is probably a SvTreeViewBox. Under MacOSX we use a different expander image, so persumably these is a missing piece for gtk to use the native image there and not the fallback one. Finding that piece of code would improve this a lot I imagine.
Comment 6 Rob Snelders 2013-11-05 16:34:18 UTC
setting it to new.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.