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 is

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 robert

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 large

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 too, I

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 - the

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

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)

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 Christian Lohmaier
Hi Robert, *, On Wed, Jan 5, 2011 at 6:36 PM, Robert Nagy rob...@openbsd.org 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

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 rob...@openbsd.org wrote: It seems to me

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 rob...@openbsd.org 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,

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 rob...@openbsd.org wrote: We should just ignore all the theming here No way - as gtk

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):

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 if the

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 christ...@dogmatux.com wrote: [...] Mmh, I'm unsure how much it helps to compare the different applications. * gedit is a native

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 christ...@dogmatux.com 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

[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 +++