Gtkmm-forge Digest, Vol 39, Issue 6
- From: gtkmm-forge-request lists sourceforge net
- To: gtkmm-forge lists sourceforge net
- Subject: Gtkmm-forge Digest, Vol 39, Issue 6
- Date: Fri, 07 Aug 2009 05:58:11 +0000
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 590940] New: Gtk::FileChooser::get_files() returns
invalid list of Gio::File objects (gtkmm (bugzilla.gnome.org))
2. [Bug 590940] Gtk::FileChooser::get_files() returns invalid
list of Gio::File objects (gtkmm (bugzilla.gnome.org))
3. [Bug 591003] New: Memory Leak in Gtk::Window
(gtkmm (bugzilla.gnome.org))
4. [Bug 591003] Memory Leak in Gtk::Window
(gtkmm (bugzilla.gnome.org))
5. [Bug 590940] Gtk::FileChooser::get_files() returns invalid
list of Gio::File objects (glibmm (bugzilla.gnome.org))
6. [Bug 591029] New: Gdk::CursorType doesn't support
GDK_BLANK_CURSOR (gtkmm (bugzilla.gnome.org))
7. [Bug 591003] Memory Leak in Gtk::Window
(gtkmm (bugzilla.gnome.org))
----------------------------------------------------------------------
Message: 1
Date: Thu, 6 Aug 2009 12:46:37 +0000 (UTC)
From: "gtkmm (bugzilla.gnome.org)"
<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 590940] New:
Gtk::FileChooser::get_files() returns invalid list of Gio::File
objects
To: gtkmm-forge lists sourceforge net
Message-ID: <bug-590940-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=590940
gtkmm | general | Ver: 2.17.x
Summary: Gtk::FileChooser::get_files() returns invalid list of
Gio::File objects
Product: gtkmm
Version: 2.17.x
Platform: Other
OS/Version: Linux
Status: UNCONFIRMED
Severity: major
Priority: Normal
Component: general
AssignedTo: gtkmm-forge lists sourceforge net
ReportedBy: tomcioj gmail com
QAContact: gtkmm-forge lists sourceforge net
GNOME version: 2.25/2.26
GNOME milestone: Unspecified
When I get list of selected files from file chooser dialog using function
Gtk::FileChooser::get_files() program displays this warning:
(program:14357): glibmm-WARNING **: Failed to wrap object of type 'GLocalFile'.
Hint: this error is commonly caused by failing to call a library init()
function.
for each file in the files list.
I use Gtkmm 2.17.2 (GTK+ 2.17.6) on Ubuntu 9.10.
--
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=590940.
------------------------------
Message: 2
Date: Thu, 6 Aug 2009 12:49:19 +0000 (UTC)
From: "gtkmm (bugzilla.gnome.org)"
<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 590940] Gtk::FileChooser::get_files()
returns invalid list of Gio::File objects
To: gtkmm-forge lists sourceforge net
Message-ID: <20090806124919 4F1B323F598 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=590940
gtkmm | general | Ver: 2.17.x
------- Comment #1 from Tomasz Jankowski 2009-08-06 12:49 UTC -------
Created an attachment (id=140017)
--> (http://bugzilla.gnome.org/attachment.cgi?id=140017&action=view)
Sample code, which demonstrate problem
Run program, select few files and close chooser dialog. This is full output
when I selected 3 files:
goofy goofy-laptop:~/Pulpit$ ./program
(program:14357): glibmm-WARNING **: Failed to wrap object of type 'GLocalFile'.
Hint: this error is commonly caused by failing to call a library init()
function.
(program:14357): glibmm-WARNING **: Failed to wrap object of type 'GLocalFile'.
Hint: this error is commonly caused by failing to call a library init()
function.
(program:14357): glibmm-WARNING **: Failed to wrap object of type 'GLocalFile'.
Hint: this error is commonly caused by failing to call a library init()
function.
Segmentation fault (core dumped)
goofy goofy-laptop:~/Pulpit$
I compile code with command:
g++ kod.cpp -o program `pkg-config gtkmm-2.4 giomm-2.4 --libs --cflags`
--
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=590940.
------------------------------
Message: 3
Date: Thu, 6 Aug 2009 21:25:59 +0000 (UTC)
From: "gtkmm (bugzilla.gnome.org)"
<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 591003] New: Memory Leak in Gtk::Window
To: gtkmm-forge lists sourceforge net
Message-ID: <bug-591003-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=591003
gtkmm | general | Ver: unspecified
Summary: Memory Leak in Gtk::Window
Product: gtkmm
Version: unspecified
Platform: Other
OS/Version: Linux
Status: UNCONFIRMED
Severity: blocker
Priority: Normal
Component: general
AssignedTo: gtkmm-forge lists sourceforge net
ReportedBy: PhoenixRevived yahoo com
QAContact: gtkmm-forge lists sourceforge net
GNOME version: Unspecified
GNOME milestone: Unspecified
Creating and destroying a Gtk::Window in a loop loses 3MB on each iteration as
demonstrated by this tiny program. Since creating windows is a fundamental
requirement in our application, this is depleting all of memory and swap, and
finally crashing.
#include <gtkmm.h>
#include <iostream>
using namespace std;
class Win : public Gtk::Window
{
public:
Win()
{
set_size_request(1024, 768);
realize();
}
~Win()
{
cerr << "Destroying window" << endl;
}
};
int
main(int argc, char* argv[])
{
Gtk::Main App(argc, argv); // Initialize GTK+
while (true) {
Win* w = new Win;
if (Gtk::Main::events_pending())
Gtk::Main::iteration();
::sleep(2);
delete w;
}
exit (0);
}
--
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=591003.
------------------------------
Message: 4
Date: Thu, 6 Aug 2009 22:00:47 +0000 (UTC)
From: "gtkmm (bugzilla.gnome.org)"
<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 591003] Memory Leak in Gtk::Window
To: gtkmm-forge lists sourceforge net
Message-ID: <20090806220047 5425723F5A9 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=591003
gtkmm | general | Ver: unspecified
------- Comment #1 from Phoenix 2009-08-06 22:00 UTC -------
*** Bug 591000 has been marked as a duplicate of this bug. ***
--
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=591003.
------------------------------
Message: 5
Date: Thu, 6 Aug 2009 22:24:51 +0000 (UTC)
From: "glibmm (bugzilla.gnome.org)"
<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 590940] Gtk::FileChooser::get_files()
returns invalid list of Gio::File objects
To: gtkmm-forge lists sourceforge net
Message-ID: <20090806222451 D542523F598 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=590940
glibmm | giomm | Ver: unspecified
Jonathon Jongsma (jonner) changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jonathon quotidian org
Status|UNCONFIRMED |ASSIGNED
Component|general |giomm
Ever Confirmed|0 |1
Product|gtkmm |glibmm
Version|2.17.x |unspecified
------- Comment #2 from Jonathon Jongsma (jonner) 2009-08-06 22:24 UTC -------
It's actually because we need to specify a custom TypeTraits for Gio::File much
like we do for Gio::Drive, Gio::Mount, etc.
--
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=590940.
------------------------------
Message: 6
Date: Fri, 7 Aug 2009 05:20:34 +0000 (UTC)
From: "gtkmm (bugzilla.gnome.org)"
<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 591029] New: Gdk::CursorType doesn't
support GDK_BLANK_CURSOR
To: gtkmm-forge lists sourceforge net
Message-ID: <bug-591029-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=591029
gtkmm | gdkmm | Ver: unspecified
Summary: Gdk::CursorType doesn't support GDK_BLANK_CURSOR
Product: gtkmm
Version: unspecified
Platform: Other
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: gdkmm
AssignedTo: gtkmm-forge lists sourceforge net
ReportedBy: sledgehammer_999 yahoo gr
QAContact: gtkmm-forge lists sourceforge net
GNOME version: Unspecified
GNOME milestone: Unspecified
Gdk::CursorType doesn't have an equivalent of GDK_BLANK_CURSOR from gtk+
This is needed because, as far as I know, it is the quickest and easiest way to
make the cursor invisible.(like in fullscreen mode in media apps)
--
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=591029.
------------------------------
Message: 7
Date: Fri, 7 Aug 2009 05:57:59 +0000 (UTC)
From: "gtkmm (bugzilla.gnome.org)"
<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 591003] Memory Leak in Gtk::Window
To: gtkmm-forge lists sourceforge net
Message-ID: <20090807055759 5502A23F598 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=591003
gtkmm | general | Ver: unspecified
Hammered changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |sledgehammer_999 yahoo gr
------- Comment #2 from Hammered 2009-08-07 05:57 UTC -------
I've let it run for 20~30 iterations and the memory usage always was 2.3MB. It
never fluctuated. What version of gtkmm are you using?
I am using 2.16 on Ubuntu 9.04 amd64.
--
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=591003.
------------------------------
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
------------------------------
_______________________________________________
Gtkmm-forge mailing list
Gtkmm-forge lists sourceforge net
https://lists.sourceforge.net/lists/listinfo/gtkmm-forge
End of Gtkmm-forge Digest, Vol 39, Issue 6
******************************************
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]