bugFreeciv - Bugs: bug #25257, Gtk 3 client's map doesn't take up...

 
 
Show feedback again

bug #25257: Gtk 3 client's map doesn't take up the full window

Submitted by:  Sveinung Kvilhaugsvik <sveinung>
Submitted on:  Wed Nov 2 02:16:51 2016  
 
Category: client-gtk-3.0Severity: 3 - Normal
Priority: 5 - NormalStatus: None
Assigned to: NoneOpen/Closed: Open
Release: Operating System: None
Planned Release: Contains string changes: None

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

(Jump to the original submission Jump to the original submission)

Mon Nov 21 17:01:19 2016, comment #11:

OK, I investigated further and it works ok on start when arrange widgets for display is unset ( only on start).

When its set then extra warning is printed:
(freeciv-gtk3.22:13621): Gtk-WARNING **: Negative content width -1 (allocation 1, extents 1x1) while allocating gadget (node notebook, owner GtkNotebook)

so it must be to notebook related.

mir3x <mir3x>
Project Member
Mon Nov 21 16:47:45 2016, comment #10:

I checked and it seems amp resizes over 10 times on start to sizes:
361 484
494 484
361 484
361 484
361 484
361 484
361 484
1628 942
494 484
494 484
494 484
494 484
494 484

and only 1628,942 is correct.
Im using xfwm4 window manager and I think its the same as with themes - it will work only under gnome window manager.

mir3x <mir3x>
Project Member
Mon Nov 21 15:57:02 2016, comment #9:

the window content will now no longer come down in size after having fullscreened

wotan <wotan>
Mon Nov 21 15:46:29 2016, comment #8:

Correction; patch doesnt work at all

wotan <wotan>
Mon Nov 21 14:13:13 2016, comment #7:

patch works here too

wotan <wotan>
Mon Nov 21 12:06:39 2016, comment #6:

I attached patch, it works for me, but maybe it might do
recursive resize, idk.
For me gtk3.22 never takes full window, even after 10th resizing by user.

(file #29457)

mir3x <mir3x>
Project Member
Fri Nov 11 19:19:45 2016, comment #5:

It happens when parts of the windowmanager window (title bar etc)
is outside of the screen (desktop area)

wotan <wotan>
Fri Nov 11 18:19:47 2016, comment #4:

I experience this issue also

wotan <wotan>
Wed Nov 2 14:09:28 2016, comment #3:

> Is this both gkt3- and gtk3.22-clients?

Yes.

> What is version of gtk+?

3.22.2 (from Debian testing)

> I see such problems only with gtk+ master

Do you run it in the same environment as the 3.x? (X server, window manager, etc)

Sveinung Kvilhaugsvik <sveinung>
Project Member
Wed Nov 2 06:28:23 2016, comment #2:

Is this both gkt3- and gtk3.22-clients? What is version of gtk+?

I see such problems only with gtk+ master (gtk4 development version) and my local client version modified to compile against those gtk4 libraries.

Marko Lindqvist <cazfi>
Project Administrator
Wed Nov 2 02:19:36 2016, comment #1:

Doesn't happen if the windows is maximized in the pre game dialog. Maybe the problem is that the map's size isn't updated?

Sveinung Kvilhaugsvik <sveinung>
Project Member
Wed Nov 2 02:16:51 2016, original submission:

Current trunk. Running in Xephyr. Game started via "Start New Game"

Sveinung Kvilhaugsvik <sveinung>
Project Member

 

(Note: upload size limit is set to 1024 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files
file #29457:  gtk3.22_resize.patch added by mir3x (603B - text/x-patch)
file #29252:  gtk3bug.png added by sveinung (489kB - image/png)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by mir3x (Updated the item)
  • -unavailable- added by wotan (Posted a comment)
  • -unavailable- added by cazfi (Posted a comment)
  • -unavailable- added by sveinung (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Error: not logged in

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon Nov 21 12:06:39 2016mir3xAttached File-=>Added gtk3.22_resize.patch, #29457
    Wed Nov 2 02:16:51 2016sveinungAttached File-=>Added gtk3bug.png, #29252
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup