bugFreeciv - Bugs: bug #25392, GTK2 Client crashes after city tab...

Show feedback again

bug #25392: GTK2 Client crashes after city tab is detached and F4 pressed

Submitted by:  Keyser Soze <keyserfreeciv>
Submitted on:  Fri Dec 16 15:34:05 2016  
Category: NoneSeverity: 3 - Normal
Priority: 5 - NormalStatus: None
Assigned to: NoneOpen/Closed: Open
Release: 2.5.5Operating System: GNU/Linux
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.


Sun Dec 18 21:46:36 2016, comment #3:

Tested now with client 2.5.6: occurs the same, client crashes with "Segmentation fault (core dumped)"

Keyser Soze <keyserfreeciv>
Sun Dec 18 21:11:40 2016, comment #2:

Ubuntu 16.04.1 LTS
checking for GTK+ - version >= 2.12.0... yes (version 2.24.30)

The bug of swallowing click has been present since long; I remember it from many years ago.
Crash of client when pressing F4 is new, and I cannot reproduce it always; it happens mostly in online games.

Keyser Soze <keyserfreeciv>
Sun Dec 18 10:27:19 2016, comment #1:


bug #23804 switching tabs in gtk3 client buglet
bug #21570 GUI swallows one click from within science window

Can you please tell, which Ubuntu and GTK2 version you use, exactly?

Right now, in 2.4.3 GTK3 on Debian Jessie, the first click on a tab is not swallowed, on my machine. I don't see the F4 crash, either.

The double click making tab a separate window is, AFAIR, a feature, but maybe not of good use. Maybe on Smartphones? There is no way to "retab" the window. In XFCE4 I have the "windows rollup" arrow down button, you can switch between windows with that and have a partial use of this function.

If you click twice while you fear the first click is swallowed, you sometimes get an unwanted double click, obviously.

If I close the windowed city tab, I always end up in the F9 message window, while being started from the map.


Christian Knoke <chrisk>
Project Member
Fri Dec 16 15:34:05 2016, original submission:

I use Ubuntu Linux and I compile freeciv myself.
I use GTK2 client.

Well, I have reported a bug some days ago:
bug #25372: User needs to click twice to change tabs

The awful thing is that that bug isn't the only one to annoy me, related to that behaviour.

Many times, as I have to click twice over tab label to change tabs, sometimes the tab ends up detached from main window. I mean: the tab turns into a floating window, with its own border and window controls.

This floating window has only two buttons to control the window: close and maximize. So, there is no way to make that floating window to become a tab again. So, we have to close that window.

Now let's talk about CITY TAB (usually viewed by pressing F4).
If the city tab has been already shown once, and I'm in map view, and I want to view the city tab, I click the city tab label. But, as I reported in the bug #25372, sometimes I have to click twice. And sometimes when I click twice, the city tab gets detached and turns into a window. But this window is annoying, as it keeps the focus of freeciv, so to turn view back to map, I have to close that window. So do I, I close it. But then again I want to see the city tabs, then I press F4 and client crashes.

In fact, allowing the city tab detach from main window is, by itself, a design flaw. Very annoying.

Keyser Soze <keyserfreeciv>


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

Attach File(s):

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by chrisk (Posted a comment)
  • -unavailable- added by keyserfreeciv (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



    No Changes Have Been Made to This Item
    Show feedback again

    Back to the top

    Powered by Savane 3.1-cleanup