[Freeciv-Dev] (PR#12825) freeciv doesn't work on small-resolution displays

2009-03-03 Thread Madeline Book

URL: http://bugs.freeciv.org/Ticket/Display.html?id=12825 

 [cproc - Sat Feb 28 21:54:33 2009]:
 
 something that makes me wonder:
 
 when I decrease the height of the window, there's a certain
 limit where the height cannot be decreased anymore. One
 part that defines this limit is a certain minimum height
 of the map and of the widgets on the left side, that's
 ok. But the message pane doesn't seem to have such a
 minimum height - I can shrink it down to zero with the
 pane separator.  And when I do this, at the same time the
 upper pane increases its height again, so now it should
 be possible to decrease the window height even more until
 the upper pane has reached its minimum height again. But
 for some reason that's not possible?

I think this just due to how the widget size requisition/
allocation code is implemented in gtk, in particular for
the paned widget.

When widgets are packed into the panes the programmar can
specify whether they are allowed to be shrunk below their
requisition, which is what allows you to resize the
message pane below its requested height (if the top part
was packed with those parameters too, you could also move
the pane separator up through the top widgets beyond
their requested height; I tried altering the code to
allow this but it really just resulted in ugly overlap
effects).

Resizing the window cannot make the area inside the panes
shrink because the paned widget is telling the window that
it wants the whole area, i.e. since the user moved the
separator to increase the total height of the paned widget.

If the above is confusing and you still want to try to
understand what is going on, there is the free gnome
programming book online with a chapter discussing how
gtk widget size allocation works:

http://developer.gnome.org/doc/GGAD/sec-containers.html


---
本で読んだから、本当だろうね。

___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] (PR#12825) freeciv doesn't work on small-resolution displays

2008-12-15 Thread

URL: http://bugs.freeciv.org/Ticket/Display.html?id=12825 

 [book - Mo 10. Nov 2008, 01:16:10]:
 
  [guest - Sun Nov 09 12:02:10 2008]:
  
  This is still an issue. A lot of netbooks have a 1024x600
  resolution on which freeciv is unplayable. Please consider
  making the interface work on those screens.
 
 Could you be more specific about what makes it unplayable,
 for example what client you are using and what parts of the
 interface do not fit correctly.

I'm not the guest above, but i have the same problem:

If I want to start a new game there is a dialog where i can configure my
opponents and set game parameters. The dialog buttons are not reachable
with 600 pixels height.

On the other hand on my Nokia N800 with 800x480 px resolution there is a
good freeciv port...

Are there special configuration files or parameter i can use to solfe
this issue?

 Or is it just that the map view in the gtk client cannot be
 resized less than a certain height and width?

This I only would know if i start the game :)

Btw. how i can create an account for this bug tracker?

Ciao jukey (jukey -at- ju-key.de)

___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] (PR#12825) freeciv doesn't work on small-resolution displays

2008-12-15 Thread Madeline Book

URL: http://bugs.freeciv.org/Ticket/Display.html?id=12825 

 [guest - Mon Dec 15 08:24:56 2008]:
 
  [book - Mo 10. Nov 2008, 01:16:10]:
  
   [guest - Sun Nov 09 12:02:10 2008]:
   
   This is still an issue. A lot of netbooks have a 1024x600
   resolution on which freeciv is unplayable. Please consider
   making the interface work on those screens.
  
  Could you be more specific about what makes it unplayable,
  for example what client you are using and what parts of the
  interface do not fit correctly.

 I'm not the guest above, but i have the same problem:

 If I want to start a new game there is a dialog where i
 can configure my opponents and set game parameters. The
 dialog buttons are not reachable with 600 pixels height.

 On the other hand on my Nokia N800 with 800x480 px
 resolution there is a good freeciv port...

 Are there special configuration files or parameter i can
 use to solfe this issue?

No, the basic widget layout is hard-coded in the program.

Alright, I will assume that this is a problem with the gtk
version, specifically that the way the widgets are packed
and/or set to minimum sizes prevents the entire window from
being resized down to fit on your display. I'll see about
reworking the gui layout code so that resizing is at least
possible.

In the meantime you could try the sdl gui and play with its
video options to see if you can make the game playable on
your display.


 Btw. how i can create an account for this bug tracker?

That's only really useful if you plan on handling bug reports
or submitting sizable contributions (and I do not have access
to grant you the priveleges anyway). Just use the bug report
email address or the guest account listed on bugs.freeciv.org.


---
ちょっと。大ハンマーを持ってくる。

___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


Re: [Freeciv-Dev] (PR#12825) freeciv doesn't work on small-resolution displays

2008-12-15 Thread Daniel Markstedt

URL: http://bugs.freeciv.org/Ticket/Display.html?id=12825 

On Tue, 16 Dec 2008 06:27:48 +0900, Madeline Book  
madeline.b...@gmail.com wrote:


 URL: http://bugs.freeciv.org/Ticket/Display.html?id=12825 

 [guest - Mon Dec 15 08:24:56 2008]:

  [book - Mo 10. Nov 2008, 01:16:10]:
 
   [guest - Sun Nov 09 12:02:10 2008]:
  
   This is still an issue. A lot of netbooks have a 1024x600
   resolution on which freeciv is unplayable. Please consider
   making the interface work on those screens.
 
  Could you be more specific about what makes it unplayable,
  for example what client you are using and what parts of the
  interface do not fit correctly.

 I'm not the guest above, but i have the same problem:

 If I want to start a new game there is a dialog where i
 can configure my opponents and set game parameters. The
 dialog buttons are not reachable with 600 pixels height.

 On the other hand on my Nokia N800 with 800x480 px
 resolution there is a good freeciv port...

 Are there special configuration files or parameter i can
 use to solfe this issue?

 No, the basic widget layout is hard-coded in the program.

 Alright, I will assume that this is a problem with the gtk
 version, specifically that the way the widgets are packed
 and/or set to minimum sizes prevents the entire window from
 being resized down to fit on your display. I'll see about
 reworking the gui layout code so that resizing is at least
 possible.

 In the meantime you could try the sdl gui and play with its
 video options to see if you can make the game playable on
 your display.



The Nokia Maemo port is indeed a modified version of the GTK2 client.

Package and source available here if helpful:

http://syslog.movial.fi/archives/30-FreeCiv-port-for-Maemo-2.0-platform.html

Daniel

-- 
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/



___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] (PR#12825) freeciv doesn't work on small-resolution displays

2008-11-09 Thread

URL: http://bugs.freeciv.org/Ticket/Display.html?id=12825 

This is still an issue. A lot of netbooks have a 1024x600 resolution on
which freeciv is unplayable. Please consider making the interface work
on those screens.

___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] (PR#12825) freeciv doesn't work on small-resolution displays

2008-11-09 Thread Madeline Book

URL: http://bugs.freeciv.org/Ticket/Display.html?id=12825 

 [guest - Sun Nov 09 12:02:10 2008]:
 
 This is still an issue. A lot of netbooks have a 1024x600
 resolution on which freeciv is unplayable. Please consider
 making the interface work on those screens.

Could you be more specific about what makes it unplayable,
for example what client you are using and what parts of the
interface do not fit correctly.

Or is it just that the map view in the gtk client cannot be
resized less than a certain height and width?


---
鍵穴を覗くのを止めた方がいい。

___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev