Gtkmm-forge Digest, Vol 39, Issue 3



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 586269] destructors of actors on the stage	not called at
      end of cluttermm application (cluttermm (bugzilla.gnome.org))
   2. [Bug 348809] Gtk::manage() doesn't work with	canvas items.
      (libgnomecanvasmm (bugzilla.gnome.org))
   3. [Bug 590381]	Gtk::RecentInfo::get_application_info() broken
      beyond repair (gtkmm (bugzilla.gnome.org))
   4. [Bug 590381]	Gtk::RecentInfo::get_application_info() broken
      beyond repair (gtkmm (bugzilla.gnome.org))
   5. [Bug 590381]	Gtk::RecentInfo::get_application_info() broken
      beyond repair (gtkmm (bugzilla.gnome.org))
   6. [Bug 590769] New: Can't create a SourceBuffer from	a
      Gtk::TextTagTable (gnomemm (bugzilla.gnome.org))
   7. [Bug 590769] Can't create a SourceBuffer from a
      Gtk::TextTagTable (gnomemm (bugzilla.gnome.org))


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

Message: 1
Date: Sat,  1 Aug 2009 11:37:22 +0000 (UTC)
From: "cluttermm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 586269] destructors of actors on the
	stage	not called at end of cluttermm application
To: gtkmm-forge lists sourceforge net
Message-ID: <20090801113722 B581323F59C 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=586269

  cluttermm | general | Ver: git master

Murray Cumming changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |murrayc murrayc com
         AssignedTo|gtkmm-                      |cluttermm-maint gnome bugs
                   |forge lists sourceforge net |
          Component|cluttermm                   |general
            Product|gnomemm                     |cluttermm
          QAContact|                            |cluttermm-maint gnome bugs
            Version|unspecified                 |git master




-- 
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=586269.



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

Message: 2
Date: Sat,  1 Aug 2009 11:37:33 +0000 (UTC)
From: "libgnomecanvasmm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 348809] Gtk::manage() doesn't work with
	canvas items.
To: gtkmm-forge lists sourceforge net
Message-ID: <20090801113733 BE2DD23F59C 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=348809

  libgnomecanvasmm | general | Ver: git master

Murray Cumming changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|gtkmm-                      |libgnomecanvasmm-
                   |forge lists sourceforge net |maint gnome bugs
          Component|libgnomecanvasmm            |general
            Product|gnomemm                     |libgnomecanvasmm
          QAContact|gtkmm-                      |libgnomecanvasmm-
                   |forge lists sourceforge net |maint gnome bugs
            Version|unspecified                 |git master




-- 
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=348809.



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

Message: 3
Date: Sun,  2 Aug 2009 16:43:49 +0000 (UTC)
From: "gtkmm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 590381]
	Gtk::RecentInfo::get_application_info() broken beyond repair
To: gtkmm-forge lists sourceforge net
Message-ID: <20090802164350 73D4623F4EC 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=590381

  gtkmm | general | Ver: unspecified




------- Comment #3 from Johannes Schmid  2009-08-02 16:43 UTC -------
This is what I get when I try to compile gtkmm-2-14 branch on Ubuntu:

recentinfo.cc: In member function ?bool
Gtk::RecentInfo::get_application_info(const Glib::ustring&,
Glib::StringArrayHandle&, guint&, time_t&) const?:
recentinfo.cc:192: Fehler: ung?ltige Umwandlung von ?const gchar**? in
?gchar**?
recentinfo.cc:192: Fehler:   Argument 3 von ?gboolean
gtk_recent_info_get_application_info(GtkRecentInfo*, const gchar*, gchar**,
guint*, time_t*)? wird initialisiert


Daniel looked at it and told me that the whole file is broken.


-- 
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=590381.



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

Message: 4
Date: Mon,  3 Aug 2009 07:28:30 +0000 (UTC)
From: "gtkmm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 590381]
	Gtk::RecentInfo::get_application_info() broken beyond repair
To: gtkmm-forge lists sourceforge net
Message-ID: <20090803072830 27ACD23F5A1 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=590381

  gtkmm | general | Ver: unspecified




------- Comment #4 from Murray Cumming  2009-08-03 07:28 UTC -------
Johanns, that compilation error was already fixed in the master and the 2.16
branches:
http://git.gnome.org/cgit/gtkmm/commit/?id=3927a139db7529c2368194e6b2684f5b596e957d
Feel free to apply it to 2.14 too.

It was just caused by a change of constness in GTK+ 2.17/18. I doubt it has
anything to do with whatever Daniel is talking about.


-- 
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=590381.



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

Message: 5
Date: Mon,  3 Aug 2009 10:12:00 +0000 (UTC)
From: "gtkmm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 590381]
	Gtk::RecentInfo::get_application_info() broken beyond repair
To: gtkmm-forge lists sourceforge net
Message-ID: <20090803101201 0576923F50C 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=590381

  gtkmm | general | Ver: unspecified




------- Comment #5 from Daniel Elstner  2009-08-03 10:11 UTC -------
(In reply to comment #4)
> Johanns, that compilation error was already fixed in the master and the 2.16
> branches:

Yes, that made it compile. But it's still broken.
> http://git.gnome.org/cgit/gtkmm/commit/?id=3927a139db7529c2368194e6b2684f5b596e957d
> Feel free to apply it to 2.14 too.

I suggested to Johannes to simply remove the method, which would have the same
effect -- it will build but not work.

> It was just caused by a change of constness in GTK+ 2.17/18. I doubt it has
> anything to do with whatever Daniel is talking about.

Well, it has something to do with it insofar as it made me look at the C API
documentation for the method in question:

http://library.gnome.org/devel/gtk/unstable/GtkRecentManager.html#gtk-recent-info-get-application-info

The app_exec parameter is simply a string output argument. Thus, the use of an
array handle in the wrapper method is misguided:

  bool get_application_info(const Glib::ustring& app_name,
                            Glib::StringArrayHandle& app_exec,
                            guint& count, time_t& time) const;

The proper prototype would have been something much simpler:

  bool get_application_info(const Glib::ustring& app_name,
                            std::string& app_exec,
                            guint& count, time_t& time_) const;

The implementation was misguided and broken as well, but that doesn't matter
much at this point. The problem due to the constness change and the need to add
another type conversion for this case should have been a warning sign. A
non-const Glib::StringArrayHandle reference would have to be an output
argument, which is in fact impossible since the handles do not even implement
assignment.

Well, the merged C API documentation in our reference documentation appears to
have played a role in this breakage, because it is incorrect and has been
changed upstream since then.

Apart from the API problem, the patch also plugs a number of leaks and fixes
other incorrect usages of ArrayHandle.


-- 
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=590381.



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

Message: 6
Date: Tue,  4 Aug 2009 19:02:16 +0000 (UTC)
From: "gnomemm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 590769] New: Can't create a
	SourceBuffer from	a Gtk::TextTagTable
To: gtkmm-forge lists sourceforge net
Message-ID: <bug-590769-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=590769

  gnomemm | gtksourceviewmm | Ver: unspecified
           Summary: Can't create a SourceBuffer from a Gtk::TextTagTable
           Product: gnomemm
           Version: unspecified
          Platform: Other
        OS/Version: All
            Status: UNCONFIRMED
          Severity: major
          Priority: Normal
         Component: gtksourceviewmm
        AssignedTo: gtkmm-forge lists sourceforge net
        ReportedBy: parent f gmail com
         QAContact: gtkmm-forge lists sourceforge net
     GNOME version: 2.25/2.26
   GNOME milestone: Unspecified


Please describe the problem:
We got a warning when we try to create a sourcebuffer from a texttagtable.
(test:21180): glibmm-WARNING **: Glib::ConstructParams::ConstructParams():
object class "gtkmm__GtkSourceBuffer" has no property named "tagtable"

And we can't use all tags on the buffer.

Steps to reproduce:
1. create a buffer from a Glib::RefPtr<Gtk::TextTagTable>

Actual results:


Expected results:


Does this happen every time?


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=590769.



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

Message: 7
Date: Tue,  4 Aug 2009 19:03:14 +0000 (UTC)
From: "gnomemm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 590769] Can't create a SourceBuffer
	from a	Gtk::TextTagTable
To: gtkmm-forge lists sourceforge net
Message-ID: <20090804190314 72EE123F59C 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=590769

  gnomemm | gtksourceviewmm | Ver: unspecified




------- Comment #1 from Fabien Parent  2009-08-04 19:03 UTC -------
Created an attachment (id=139892)
 --> (http://bugzilla.gnome.org/attachment.cgi?id=139892&action=view)
Test case


-- 
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=590769.



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

------------------------------------------------------------------------------
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 3
******************************************


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