Gtkmm-forge Digest, Vol 25, Issue 4



Send Gtkmm-forge mailing list submissions to
	gtkmm-forge lists sourceforge net

To subscribe or unsubscribe via the World Wide Web, visit
	https://lists.sourceforge.net/lists/listinfo/gtkmm-forge
or, via email, send a message with subject or body 'help' to
	gtkmm-forge-request lists sourceforge net

You can reach the person managing the list at
	gtkmm-forge-owner lists sourceforge net

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Gtkmm-forge digest..."


gtkmm-forge is the mailing list that receives gtkmm bug reports from bugzilla.  A daily digest is sent to gtkmm-main, to encourage people to help fixing the bugs. Do not try to unsubscribe gtkmm-forge from gtkmm-list.


Today's Topics:

   1. [Bug 536721] New: Added Glib::Date GDate	constructor.
      (glibmm (bugzilla.gnome.org))
   2. [Bug 536721] Added Glib::Date GDate constructor.
      (glibmm (bugzilla.gnome.org))
   3. [Bug 537120] New: Windows ListViewText crash
      (gtkmm (bugzilla.gnome.org))
   4. [Bug 537120] Windows ListViewText crash
      (gtkmm (bugzilla.gnome.org))
   5. [Bug 537319] New: EntryCompletion not emitting
      signal_match_selected () (gtkmm (bugzilla.gnome.org))
   6. [Bug 537319] EntryCompletion not emitting
      signal_match_selected () (gtkmm (bugzilla.gnome.org))
   7. [Bug 533481] key release event does not work	properly
      (gtkmm (bugzilla.gnome.org))


----------------------------------------------------------------------

Message: 1
Date: Thu,  5 Jun 2008 01:37:54 +0000 (UTC)
From: "glibmm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 536721] New: Added Glib::Date GDate
	constructor.
To: gtkmm-forge lists sourceforge net
Message-ID: <bug-536721-5595 http bugzilla gnome org/>
Content-Type: text/plain; charset=utf-8

If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=536721

  glibmm | general | Ver: unspecified
           Summary: Added Glib::Date GDate constructor.
           Product: glibmm
           Version: unspecified
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: general
        AssignedTo: gtkmm-forge lists sourceforge net
        ReportedBy: jaalburqu svn gnome org
         QAContact: gtkmm-forge lists sourceforge net
     GNOME version: 2.21/2.22
   GNOME milestone: Unspecified


While working on some functions in gstreamermm that deal with Glib::Date, I
noticed the need for a Glib::Date GDate constructor (it is actually a TODO). I
noticed that it was in the source file, but I made it visible and modified it
to use a GDate pointer and not a GDate reference. I also added a copy
constructor and an assignment operator and modified the gobject_ variable to be
a GDate pointer instead of a GDate reference (adding a destructor to free the
gobject_). This makes the GDate constructor more logical by freeing the GDate*
when the Glib::Date is destroyed.

I'm not sure if there are any binary compatibility issues, but I think these
changes will make Glib::Date more usable. Is the included patch ok?


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=536721.



------------------------------

Message: 2
Date: Thu,  5 Jun 2008 01:39:09 +0000 (UTC)
From: "glibmm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 536721] Added Glib::Date GDate
	constructor.
To: gtkmm-forge lists sourceforge net
Message-ID: <20080605013909 82A3123F50D label gnome org>
Content-Type: text/plain; charset=utf-8

If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=536721

  glibmm | general | Ver: unspecified




------- Comment #1 from Jos? Alburquerque  2008-06-05 01:39 UTC -------
Created an attachment (id=112181)
 --> (http://bugzilla.gnome.org/attachment.cgi?id=112181&action=view)
Glib::Date GDate constructor patch


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=536721.



------------------------------

Message: 3
Date: Sat,  7 Jun 2008 14:33:07 +0000 (UTC)
From: "gtkmm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 537120] New: Windows ListViewText crash
To: gtkmm-forge lists sourceforge net
Message-ID: <bug-537120-5595 http bugzilla gnome org/>
Content-Type: text/plain; charset=utf-8

If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=537120

  gtkmm | TreeView | Ver: 2.4
           Summary: Windows ListViewText crash
           Product: gtkmm
           Version: 2.4
          Platform: Other
        OS/Version: All
            Status: UNCONFIRMED
          Severity: critical
          Priority: Normal
         Component: TreeView
        AssignedTo: gtkmm-forge lists sourceforge net
        ReportedBy: civilian0746 gmail com
         QAContact: gtkmm-forge lists sourceforge net
     GNOME version: Unspecified
   GNOME milestone: Unspecified


Please describe the problem:

I tried adding a ListViewText widget to my window. Everything works great
except when the application quits. When I close the window, the program
crashes. Crash location is a code block in gtkmm-2.4.dll. If I comment out the
ListViewText lines it works fine but as soon as I add ListViewText, it'd crash
on exit.



Steps to reproduce:
Hers is my code:

#include <gtkmm.h>

#pragma comment(lib, "glibmm-2.4.lib")
#pragma comment(lib, "gtkmm-2.4.lib")
#pragma comment(lib, "sigc-2.0.lib")
#pragma comment(lib, "atkmm-1.6.lib")

#include <windows.h>

using namespace Gtk;

#define LABELCTRL(N, L) class N##Label: public Label { public:
N##Label():Label(L) {}} N;
#define TABLEATTACHSPAN(ROW, COL, ROWSPAN, COLSPAN, ITEM) attach(ITEM, ROW-1,
ROW - 1 + ROWSPAN, COL-1, COL - 1 + COLSPAN);
#define TABLEATTACH(ROW, COL, ITEM) TABLEATTACHSPAN(ROW, COL, 1, 1, ITEM)

class MainWindow: public Window {
public:
        class MainLayout: public Table {

        public:
                LABELCTRL(lblUsername, "User name");
                LABELCTRL(lblIP, "IP");
                LABELCTRL(lblQuitMessage, "Quit Message");
                LABELCTRL(lblConnectionSetting, "Connection setting");
                LABELCTRL(lblPort, "Port");
                LABELCTRL(lblOptions, "Option");

                Entry entUsername;
                ComboBox cmbConnectionSetting;
                Entry entQuitMessage;
                Entry entPort;
                ComboBox cmbOptions;


                class IPEntryHbox: public HBox {
                public:
                        Entry entIP;

                        class btnConnectButton: public Button {

                        public:
                                btnConnectButton() : Button("Connect") {
                                        //set_size_request(1, 1);
                                }

                                bool on_button_press_event(GdkEventButton*) {
                                        return true;
                                }

                        } btnConnect;

                        IPEntryHbox() : HBox(false) {
                                pack_start(entIP);
                                pack_end(btnConnect);
                        }
                } ipInput;


                class serversListListViewText : public ListViewText {
                public:
                        serversListListViewText() : ListViewText(2, false) {
                                //set_column_title(0, "Server");
                                //set_column_title(1, "IP");

                                //set_size_request(400, 250);

                                //insert_text(0, "asdf");
                                //set_text(0, 1, "asdasdasda");

                        }
                        ~serversListListViewText(){
                                MessageBox(0,0,0,0);
                        }
                } serversList;

        public:

                LABELCTRL(lblStored, "Stored");

                MainLayout():Table(10, 2, false) {
                        TABLEATTACH(1, 1, lblUsername);
                        TABLEATTACH(1, 2, lblIP);
                        TABLEATTACH(1, 3, lblStored);
                        TABLEATTACH(1, 4, lblQuitMessage);
                        TABLEATTACH(1, 5, lblConnectionSetting);
                        TABLEATTACH(1, 6, lblPort);
                        TABLEATTACH(1, 7, lblOptions);

                        TABLEATTACH(2, 1, entUsername);
                        TABLEATTACH(2, 2, ipInput);
                        TABLEATTACH(2, 3, serversList);
                        TABLEATTACH(2, 4, entQuitMessage);
                        TABLEATTACH(2, 5, cmbConnectionSetting);
                        TABLEATTACH(2, 6, entPort);
                        TABLEATTACH(2, 7, cmbOptions);

                        //lblIP.set_size_request(100, 20);
                }
        } controls;

        //class: public Button {bool on_button_press_event(GdkEventButton * )
{Main::quit(); return false;}} btnExit;


        MainWindow() {
                //set_size_request(750, 550);
                add(controls);
                show_all();
        }

};

...

Main kit(&argc, (char ***) &args);
MainWindow mainWindow;
Main::run(mainWindow);


Actual results:
crashes on exit

Expected results:
expected it to quit peacefully

Does this happen every time?
yes

Other information:


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=537120.



------------------------------

Message: 4
Date: Sat,  7 Jun 2008 14:39:15 +0000 (UTC)
From: "gtkmm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 537120] Windows ListViewText crash
To: gtkmm-forge lists sourceforge net
Message-ID: <20080607143915 AA26723F4FF label gnome org>
Content-Type: text/plain; charset=utf-8

If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=537120

  gtkmm | TreeView | Ver: 2.4




------- Comment #1 from K Civilian  2008-06-07 14:39 UTC -------
as you can see, I've put in a destructor for ListViewText child class and the
message box does show up. it crashes after the messagebox is gone. It'd crash
even if I have something like:

ListViewText serversList(2);

in a function


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=537120.



------------------------------

Message: 5
Date: Sun,  8 Jun 2008 23:39:47 +0000 (UTC)
From: "gtkmm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 537319] New: EntryCompletion not
	emitting	signal_match_selected ()
To: gtkmm-forge lists sourceforge net
Message-ID: <bug-537319-5595 http bugzilla gnome org/>
Content-Type: text/plain; charset=utf-8

If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=537319

  gtkmm | general | Ver: 2.13.x
           Summary: EntryCompletion not emitting signal_match_selected ()
           Product: gtkmm
           Version: 2.13.x
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: general
        AssignedTo: gtkmm-forge lists sourceforge net
        ReportedBy: marko anastasov gmail com
         QAContact: gtkmm-forge lists sourceforge net
     GNOME version: 2.23/2.24
   GNOME milestone: Unspecified


Something's wrong with EntryCompletion::signal_match_selected (). The code
connected to that signal is never executed, although I haven't had time today
to look into it in more detail. I'm attaching a patch for the example in
gtkmm-documentation which should be a sufficient test case, including a C
(gobj()) version of this that works as expected.


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=537319.



------------------------------

Message: 6
Date: Sun,  8 Jun 2008 23:41:16 +0000 (UTC)
From: "gtkmm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 537319] EntryCompletion not emitting
	signal_match_selected ()
To: gtkmm-forge lists sourceforge net
Message-ID: <20080608234116 E54EF23F543 label gnome org>
Content-Type: text/plain; charset=utf-8

If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=537319

  gtkmm | general | Ver: 2.13.x




------- Comment #1 from Marko Anastasov  2008-06-08 23:41 UTC -------
Created an attachment (id=112377)
 --> (http://bugzilla.gnome.org/attachment.cgi?id=112377&action=view)
test case patch, apply within
gtkmm-documentation/examples/book/entry/completion


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=537319.



------------------------------

Message: 7
Date: Mon,  9 Jun 2008 08:00:35 +0000 (UTC)
From: "gtkmm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 533481] key release event does not work
	properly
To: gtkmm-forge lists sourceforge net
Message-ID: <20080609080035 2E56023F58D label gnome org>
Content-Type: text/plain; charset=utf-8

If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=533481

  gtkmm | general | Ver: 2.4

Murray Cumming changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID




------- Comment #7 from Murray Cumming  2008-06-09 08:00 UTC -------
Closing as invalid because the reporter can't provide the necessary
information.


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=533481.



------------------------------

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php

------------------------------

_______________________________________________
Gtkmm-forge mailing list
Gtkmm-forge lists sourceforge net
https://lists.sourceforge.net/lists/listinfo/gtkmm-forge


End of Gtkmm-forge Digest, Vol 25, Issue 4
******************************************


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]