Gtkmm-forge Digest, Vol 10, Issue 6



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 419923] New: No key press events signals for	some keys
      (gtkmm (bugzilla.gnome.org))
   2. [Bug 417116] Inconsistent Gnome::Gda::Value	semantics
      (gnomemm (bugzilla.gnome.org))
   3. [Bug 419462] Inline short functions used in every	vfunc
      invocation (glibmm (bugzilla.gnome.org))
   4. [Bug 419462] Inline short functions used in every	vfunc
      invocation (glibmm (bugzilla.gnome.org))
   5. [Bug 419462] Inline short functions used in every	vfunc
      invocation (glibmm (bugzilla.gnome.org))
   6. [Bug 417116] Inconsistent Gnome::Gda::Value	semantics
      (gnomemm (bugzilla.gnome.org))
   7. [Bug 419923] No key press events signals for some	keys
      (gtkmm (bugzilla.gnome.org))
   8. [Bug 420316] New: Warning about shadowed member in
      gtlibmm/helperlist.h (glibmm (bugzilla.gnome.org))
   9. [Bug 420316] Warning about shadowed member in
      gtlibmm/helperlist.h (glibmm (bugzilla.gnome.org))


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

Message: 1
Date: Sun, 18 Mar 2007 22:45:33 +0000 (UTC)
From: "gtkmm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 419923] New: No key press events
	signals for	some keys
To: gtkmm-forge lists sourceforge net
Message-ID: <bug-419923-5595 http bugzilla gnome org/>
Content-Type: text/plain; charset=utf-8

Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=419923

  gtkmm | general | Ver: 2.4

           Summary: No key press events signals for some keys
           Product: gtkmm
           Version: 2.4
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: general
        AssignedTo: gtkmm-forge lists sourceforge net
        ReportedBy: ville ranki iki fi
         QAContact: gtkmm-forge lists sourceforge net
     GNOME version: 2.15/2.16
   GNOME milestone: Unspecified


For some keys gtkmm does not generate key press
event signals. At least arrow keys, tab, and enter
signals are lost. 

For example ctrl, alt, capslock, and esc generate signals.

Here's some code that i'm using to test this. It
creates a window with no children, and andother
class which has the signal handler.

main:

   Gtk::Window win;
   win.set_title("DrawingArea");
   MyArea area;
   win.add_events(Gdk::KEY_PRESS_MASK);
   win.signal_key_press_event().connect(sigc::mem_fun(area, 
&MyArea::key_press_event));

signal handler:
bool MyArea::key_press_event(GdkEventKey* event) {
        std::cout << "Pressed " << event->keyval << "\n";
        return true;
}

In plain gtk arrow key signals are generated. See:

http://www.gtkforums.com/viewtopic.php?t=187&view=previous&sid=a7c9ab2507ce106b147fde43fe3b7e6d


-- 
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email



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

Message: 2
Date: Mon, 19 Mar 2007 07:55:54 +0000 (UTC)
From: "gnomemm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 417116] Inconsistent Gnome::Gda::Value
	semantics
To: gtkmm-forge lists sourceforge net
Message-ID: <20070319075554 F2EA86C428C box gnome org>
Content-Type: text/plain; charset=utf-8

Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=417116

  gnomemm | libgdamm | Ver: unspecified





------- Comment #3 from Murray Cumming  2007-03-19 07:53 UTC -------
Yes, this looks good. Please go aheahd.


-- 
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email



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

Message: 3
Date: Mon, 19 Mar 2007 09:08:05 +0000 (UTC)
From: "glibmm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 419462] Inline short functions used in
	every	vfunc invocation
To: gtkmm-forge lists sourceforge net
Message-ID: <20070319090805 41F586C4289 box gnome org>
Content-Type: text/plain; charset=utf-8

Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=419462

  glibmm | object | Ver: unspecified





------- Comment #5 from Murray Cumming  2007-03-19 09:05 UTC -------
The use of inline seems to remove the function from the library:
regexxer: symbol lookup error: /opt/gnome218/lib/libglademm-2.4.so.1: undefined
symbol: _ZN4Glib10ObjectBase20_get_current_wrapperEP8_GObject


So we should probably _add_ a new inlined function and use it. I'll wait for
the results of tests with those test tarballs though, I think, before making
new tarballs.


-- 
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email



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

Message: 4
Date: Mon, 19 Mar 2007 13:40:10 +0000 (UTC)
From: "glibmm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 419462] Inline short functions used in
	every	vfunc invocation
To: gtkmm-forge lists sourceforge net
Message-ID: <20070319134010 CF3916C4268 box gnome org>
Content-Type: text/plain; charset=utf-8

Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=419462

  glibmm | object | Ver: unspecified





------- Comment #6 from Armin Burgmeier  2007-03-19 13:38 UTC -------
gcc also has a -fkeep-inline-functions option that might help.


-- 
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email



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

Message: 5
Date: Mon, 19 Mar 2007 13:44:57 +0000 (UTC)
From: "glibmm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 419462] Inline short functions used in
	every	vfunc invocation
To: gtkmm-forge lists sourceforge net
Message-ID: <20070319134457 864866C426B box gnome org>
Content-Type: text/plain; charset=utf-8

Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=419462

  glibmm | object | Ver: unspecified





------- Comment #7 from Murray Cumming  2007-03-19 13:42 UTC -------
I think it would be safer just to restore the function and add a renamed one.
I've done that locally and I'm testing it now.


-- 
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email



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

Message: 6
Date: Mon, 19 Mar 2007 14:10:35 +0000 (UTC)
From: "gnomemm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 417116] Inconsistent Gnome::Gda::Value
	semantics
To: gtkmm-forge lists sourceforge net
Message-ID: <20070319141035 44A436C426A box gnome org>
Content-Type: text/plain; charset=utf-8

Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=417116

  gnomemm | libgdamm | Ver: unspecified


Armin Burgmeier changed:

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




------- Comment #4 from Armin Burgmeier  2007-03-19 14:08 UTC -------
Patch committed.


-- 
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email



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

Message: 7
Date: Mon, 19 Mar 2007 17:50:31 +0000 (UTC)
From: "gtkmm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 419923] No key press events signals for
	some	keys
To: gtkmm-forge lists sourceforge net
Message-ID: <20070319175031 879626C42A4 box gnome org>
Content-Type: text/plain; charset=utf-8

Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=419923

  gtkmm | general | Ver: 2.4





------- Comment #1 from Marko Anastasov  2007-03-19 17:48 UTC -------
Created an attachment (id=84898)
 --> (http://bugzilla.gnome.org/attachment.cgi?id=84898&action=view)
test case

I've quickly made a simple test case. It seems that really the key_press signal
is not emmitted for some reason for the arrow keys, space, enter... (hope to
catch time to investigate later), while key_released is ok.


-- 
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email



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

Message: 8
Date: Mon, 19 Mar 2007 22:05:04 +0000 (UTC)
From: "glibmm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 420316] New: Warning about shadowed
	member in	gtlibmm/helperlist.h
To: gtkmm-forge lists sourceforge net
Message-ID: <bug-420316-5595 http bugzilla gnome org/>
Content-Type: text/plain; charset=utf-8

Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=420316

  glibmm | general | Ver: 2.8.x

           Summary: Warning about shadowed member in gtlibmm/helperlist.h
           Product: glibmm
           Version: 2.8.x
          Platform: Other
        OS/Version: All
            Status: UNCONFIRMED
          Severity: minor
          Priority: Normal
         Component: general
        AssignedTo: gtkmm-forge lists sourceforge net
        ReportedBy: btb debian org
         QAContact: gtkmm-forge lists sourceforge net
     GNOME version: Unspecified
   GNOME milestone: Unspecified


Please describe the problem:
When compiling applications with -Wshadow enabled, GCC gives the
following warning:

/usr/include/glibmm-2.4/glibmm/helperlist.h:40: warning: declaration of
?gparent? shadows a member of 'this'

Steps to reproduce:
1. compile one of the example programs with -Wshadow
for example:
g++ parser.cc -o parser `pkg-config glibmm-2.4 --cflags --libs`


Actual results:
warning of shadowed member is generated:

/usr/include/glibmm-2.4/glibmm/helperlist.h:40: warning: declaration of
?gparent? shadows a member of 'this'

Expected results:
compile without warnings

Does this happen every time?
yes

Other information:
fixed by simply changing the name of the variable used in the HelperList
constructor.


-- 
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email



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

Message: 9
Date: Mon, 19 Mar 2007 22:09:53 +0000 (UTC)
From: "glibmm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 420316] Warning about shadowed member
	in	gtlibmm/helperlist.h
To: gtkmm-forge lists sourceforge net
Message-ID: <20070319220953 EA49B6C4268 box gnome org>
Content-Type: text/plain; charset=utf-8

Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=420316

  glibmm | general | Ver: 2.12.x


btb debian org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|2.8.x                       |2.12.x




-- 
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email



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

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

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

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


End of Gtkmm-forge Digest, Vol 10, Issue 6
******************************************



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