Re: [Libreoffice] [PATCH] set the icons size based on the DPI just like we do on Mac

2011-01-06 Thread Lubos Lunak
On Wednesday 05 of January 2011, Robert Nagy wrote: > Oh well then Linux is broken, again. :) > > In gedit the icons are bigger than the small ones but not as huge > as in LibreOffice. > Here you can see (LO with small icons): > http://blade2k.humppa.hu/2011-01-05-182917_1920x1080_scrot.png > > (ws

Re: [Libreoffice] [PATCH] set the icons size based on the DPI just like we do on Mac

2011-01-06 Thread Michael Meeks
Hi Phil, On Wed, 2011-01-05 at 13:19 -0500, Phil Turmel wrote: > > :-) so - as I say; the DPI is a constant of 75 across the Linux > > desktop, so this is not a switch but a hard coded setting :-) > > I think you are over-reaching here: :-) So - I'm talking the Xft.dpi setting which

Re: [Libreoffice] [PATCH] set the icons size based on the DPI just like we do on Mac

2011-01-05 Thread Christian Lohmaier
Hi Christoph, *; On Wed, Jan 5, 2011 at 10:51 PM, Christoph Noack wrote: > [...] > Thus, we have to take care that our default settings work well for the > majority of users working in very different working conditions. > [...] Yes, and that surely is the setting they use for their other apps, i

Re: [Libreoffice] [PATCH] set the icons size based on the DPI just like we do on Mac

2011-01-05 Thread Christoph Noack
Hi Christian! Am Mittwoch, den 05.01.2011, 19:40 +0100 schrieb Christian Lohmaier: > Hi Christoph, *, > > On Wed, Jan 5, 2011 at 7:18 PM, Christoph Noack > wrote: > > [...] > > Mmh, I'm unsure how much it helps to compare the different applications. > > * gedit is a native Gnome applicatio

Re: [Libreoffice] [PATCH] set the icons size based on the DPI just like we do on Mac

2011-01-05 Thread Christian Lohmaier
Hi Christoph, *, On Wed, Jan 5, 2011 at 7:18 PM, Christoph Noack wrote: > [...] > Mmh, I'm unsure how much it helps to compare the different applications. >      * gedit is a native Gnome application and respects their desktop >        guidelines. --> 24x24 px toolbar icons, text below (always)

Re: [Libreoffice] [PATCH] set the icons size based on the DPI just like we do on Mac

2011-01-05 Thread Phil Turmel
On 01/05/2011 12:14 PM, Michael Meeks wrote: > Hi Robert, > > On Wed, 2011-01-05 at 16:24 +0100, Robert Nagy wrote: >> On (2011-01-05 14:27), Michael Meeks wrote: >>> So - I would prefer to stick with large icons; and not use the DPI >>> setting. I suggest instead, that we only use large icons

Re: [Libreoffice] [PATCH] set the icons size based on the DPI just like we do on Mac

2011-01-05 Thread Christoph Noack
Hi Robert, all! Am Mittwoch, den 05.01.2011, 18:32 +0100 schrieb Robert Nagy: > Oh well then Linux is broken, again. :) > > In gedit the icons are bigger than the small ones but not as huge > as in LibreOffice. > Here you can see (LO with small icons): > http://blade2k.humppa.hu/2011-01-05-182917

Re: [Libreoffice] [PATCH] set the icons size based on the DPI just like we do on Mac

2011-01-05 Thread Robert Nagy
Hi I am *not* using any themes, it's the default GTK one. Anyways that does not matter now. On (2011-01-05 19:15), Christian Lohmaier wrote: > Hi Robert, *, > > On Wed, Jan 5, 2011 at 7:02 PM, Robert Nagy wrote: > > > > We should just ignore all the theming here > > No way - as gtk is always t

Re: [Libreoffice] [PATCH] set the icons size based on the DPI just like we do on Mac

2011-01-05 Thread Christian Lohmaier
Hi Robert, *, On Wed, Jan 5, 2011 at 7:02 PM, Robert Nagy wrote: > > We should just ignore all the theming here No way - as gtk is always themed. Your screenshot demonstrate that your gedit is not using 16x16 for icons. So either you're not using small-toolbar setting at all, or your theme defi

Re: [Libreoffice] [PATCH] set the icons size based on the DPI just like we do on Mac

2011-01-05 Thread Robert Nagy
Hi We should just ignore all the theming here since a lot of people are not running gnome or whatever window manager and just use stock gtk. On (2011-01-05 18:59), Christian Lohmaier wrote: > Hi Robert, *, > > On Wed, Jan 5, 2011 at 6:36 PM, Robert Nagy wrote: > > It seems to me that gedit uses

Re: [Libreoffice] [PATCH] set the icons size based on the DPI just like we do on Mac

2011-01-05 Thread Christian Lohmaier
Hi Robert, *, On Wed, Jan 5, 2011 at 6:36 PM, Robert Nagy wrote: > It seems to me that gedit uses GTK_ICON_SIZE_MENU which is 16x16. On GNOME it follows the theme, wich in turn follows the gconf-setting /desktop/gnome/interface/toolbar_icons_size so whatever your theme defines in the gtk-icon-s

Re: [Libreoffice] [PATCH] set the icons size based on the DPI just like we do on Mac

2011-01-05 Thread Robert Nagy
It seems to me that gedit uses GTK_ICON_SIZE_MENU which is 16x16. ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice

Re: [Libreoffice] [PATCH] set the icons size based on the DPI just like we do on Mac

2011-01-05 Thread Robert Nagy
Oh well then Linux is broken, again. :) In gedit the icons are bigger than the small ones but not as huge as in LibreOffice. Here you can see (LO with small icons): http://blade2k.humppa.hu/2011-01-05-182917_1920x1080_scrot.png (ws robert 22435)$ xdpyinfo | egrep "(dimensions|dots per inch)" d

Re: [Libreoffice] [PATCH] set the icons size based on the DPI just like we do on Mac

2011-01-05 Thread Michael Meeks
Hi Robert, On Wed, 2011-01-05 at 16:24 +0100, Robert Nagy wrote: > On (2011-01-05 14:27), Michael Meeks wrote: > > So - I would prefer to stick with large icons; and not use the DPI > > setting. I suggest instead, that we only use large icons if the true Y > > resolution > 768 - how does that

Re: [Libreoffice] [PATCH] set the icons size based on the DPI just like we do on Mac

2011-01-05 Thread Robert Nagy
On (2011-01-05 14:27), Michael Meeks wrote: > So - I would prefer to stick with large icons; and not use the DPI > setting. I suggest instead, that we only use large icons if the true Y > resolution > 768 - how does that sound ? Oh wait, I misunderstood. That is wrong. I am on a 1920x1080 di

Re: [Libreoffice] [PATCH] set the icons size based on the DPI just like we do on Mac

2011-01-05 Thread Kálmán „KAMI” Szalai
Hi Meeks, Robert, 2011-01-05 15:27 keltezéssel, Michael Meeks írta: > Hi Robert, > On large numbers of machines, nDispDPI is just broken - it is fetched > (AFAIR) from Xft - and is ~hard-coded to 75 everywhere to save lots of > grief from X servers getting it horribly wrong. > > So - t

Re: [Libreoffice] [PATCH] set the icons size based on the DPI just like we do on Mac

2011-01-05 Thread Robert Nagy
On (2011-01-05 14:27), Michael Meeks wrote: > So - I would prefer to stick with large icons; and not use the DPI > setting. I suggest instead, that we only use large icons if the true Y > resolution > 768 - how does that sound ? > > ATB, > > Michael. That would work fine

Re: [Libreoffice] [PATCH] set the icons size based on the DPI just like we do on Mac

2011-01-05 Thread Michael Meeks
Hi Robert, On Mon, 2011-01-03 at 02:16 +0100, Christian Lohmaier wrote: > > - aStyleSet.SetToolbarIconSize( STYLE_TOOLBAR_ICONSIZE_LARGE ); > > +aStyleSet.SetToolbarIconSize( nDispDPIY > 160 ? > > STYLE_TOOLBAR_ICONSIZE_LARGE > : STYLE_TOOLBAR_ICONSIZE_SMALL ); On larg

Re: [Libreoffice] [PATCH] set the icons size based on the DPI just like we do on Mac

2011-01-02 Thread Christian Lohmaier
Hi *, On Sun, Jan 2, 2011 at 9:51 PM, Robert Nagy wrote: > --- >  vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx |    2 +- >  1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx > b/vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx > index f7a1cf2..fe7791d

[Libreoffice] [PATCH] set the icons size based on the DPI just like we do on Mac

2011-01-02 Thread Robert Nagy
--- vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx b/vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx index f7a1cf2..fe7791d 100644 --- a/vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx +++ b/vcl/unx/gtk