[gtkmm] Gtkmm-forge digest, Vol 1 #477 - 4 msgs



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-admin 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.


Today's Topics:

   1. [Bug 118496] Changed - Gtk::ScrolledWindow doesn't scroll added object (bugzilla-daemon widget gnome org)
   2. [Bug 118498] Changed - ScrolledWindow doesn't allow scrolling (bugzilla-daemon widget gnome org)
   3. [Bug 118585] New - Gtk::Combo does not work as expected (bugzilla-daemon widget gnome org)
   4. [Bug 118498] Changed - ScrolledWindow doesn't allow scrolling (bugzilla-daemon widget gnome org)

--__--__--

Message: 1
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net, vgrinche integ com
Cc: 
Date: Tue, 29 Jul 2003 02:07:52 -0400 (EDT)
Subject: [gtkmm bugzilla] [Bug 118496] Changed - Gtk::ScrolledWindow doesn't scroll added object

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

http://bugzilla.gnome.org/show_bug.cgi?id=118496

Changed by murrayc usa net 

--- shadow/118496	Mon Jul 28 12:57:04 2003
+++ shadow/118496.tmp.22532	Tue Jul 29 02:07:52 2003
@@ -28,6 +28,14 @@
 http://users.erols.com/volotsky/vlg/gtkmm/TreeViewTest-1.1.tar.gz.
 Package requires gnomemm2 to be installed. Compile and start TreeViewTest.
 Clicking 'Down' button repeatedly will select rows 1 through 7. On the 8th
 click, row 8 is selected, but ScrolledWindow does not adjust the view to
 make it visible. Nor does it scroll the 8th row to be centered in the
 middle of the window.
+
+------- Additional Comments From murrayc usa net  2003-07-29 02:06 -------
+> Package requires gnomemm2 to be installed.
+
+No, please provide a simple-as-possible test case. I will not spend my
+time reducing your test case. Your time is not more valuable than
+mine. I do want to investigate this, but you need to bring me
+something to investigate.


--__--__--

Message: 2
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net, nam1 cse wustl edu
Cc: 
Date: Tue, 29 Jul 2003 02:07:53 -0400 (EDT)
Subject: [gtkmm bugzilla] [Bug 118498] Changed - ScrolledWindow doesn't allow scrolling

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

http://bugzilla.gnome.org/show_bug.cgi?id=118498

Changed by murrayc usa net 

--- shadow/118498	Mon Jul 28 13:37:53 2003
+++ shadow/118498.tmp.23076	Tue Jul 29 02:07:53 2003
@@ -33,6 +33,12 @@
 A ScrolledWindow example in the documentation might help me fix this problem ;)
 
 ------- Additional Comments From nam1 cse wustl edu  2003-07-28 13:37 -------
 Created an attachment (id=18687)
 test case: broken ScrolledWindow containing DrawingArea
 
+
+------- Additional Comments From murrayc usa net  2003-07-29 02:07 -------
+> but this code is directly converted from gtk+ C code that does work
+(I > can submit that upon request)
+
+Yes, please. That is often very helpful.


--__--__--

Message: 3
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net
Cc: 
Date: Tue, 29 Jul 2003 11:43:00 -0400 (EDT)
Subject: [gtkmm bugzilla] [Bug 118585] New - Gtk::Combo does not work as expected

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

http://bugzilla.gnome.org/show_bug.cgi?id=118585

Changed by hijaszu mail novo-iram hu 

--- shadow/118585	Tue Jul 29 11:43:00 2003
+++ shadow/118585.tmp.1371	Tue Jul 29 11:43:00 2003
@@ -0,0 +1,97 @@
+Bug#: 118585
+Product: gtkmm
+Version: 2.2
+OS: Linux
+OS Details: Linux i686
+Status: NEW   
+Resolution: 
+Severity: normal
+Priority: Normal
+Component: general
+AssignedTo: gtkmm-forge lists sourceforge net                            
+ReportedBy: hijaszu mail novo-iram hu               
+TargetMilestone: ---
+URL: 
+Summary: Gtk::Combo does not work as expected
+
+I'm not sure that this is a bug, but I think Combo's
+signal_selection_changed should not be emitted while the combo is under
+destroy. This can be reproduced with the following code. In the program
+simply hit the 'Do it' button.
+
+<-- code.cpp -->
+/*
+    To compile use the following command:
+    g++ code.cpp `pkg-config gtkmm-2.0 --cflags --libs`
+    */
+#include <gtkmm/button.h>
+#include <gtkmm/combo.h>
+#include <gtkmm/main.h>
+#include <gtkmm/window.h>
+
+using namespace Glib;
+using namespace Gtk;
+using namespace SigC;
+using namespace std;
+
+class CrashWindow : public Gtk::Window {
+	private:
+		Combo			_combo;
+		SigC::Connection	_selection_changed;
+
+		void _do_a_crash() throw ();
+		
+	public:
+		CrashWindow() throw ();
+		~CrashWindow() throw ();
+};
+
+CrashWindow::CrashWindow() throw () : Window()
+{
+	add(_combo);
+	_selection_changed = 
+		_combo.get_list()->signal_selection_changed().connect(
+			slot(*this, &CrashWindow::_do_a_crash)
+			);
+	show_all();
+	
+	list<ustring> l; l.push_back("x");
+	_combo.set_popdown_strings(l);
+}
+
+CrashWindow::~CrashWindow() throw ()
+{
+	/* The next line solves the crash, but signal_selection_changed
+	   should be emitted when the object is destroyed?
+	   */
+//	_selection_changed.disconnect();
+}
+
+void CrashWindow::_do_a_crash() throw ()
+{
+	if (_combo.get_entry()->get_text() != "") ;
+}
+
+void do_a_crash() throw ()
+{
+	static CrashWindow* _window = 0;
+	for (int i = 0; i < 2; i++) {
+		if (_window) delete _window;
+		_window = new CrashWindow;
+		_window->show();
+	}
+}
+
+int main(int argc, char *argv[])
+{
+	Main app(argc, argv);
+
+	Window window;
+	Button button("Do it");
+	window.add(button);
+		button.signal_clicked().connect(slot(do_a_crash));
+	window.show_all();
+	
+	app.run();
+}
+<-- end of code.cpp -->


--__--__--

Message: 4
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net
Cc: 
Date: Tue, 29 Jul 2003 13:10:51 -0400 (EDT)
Subject: [gtkmm bugzilla] [Bug 118498] Changed - ScrolledWindow doesn't allow scrolling

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

http://bugzilla.gnome.org/show_bug.cgi?id=118498

Changed by nam1 cse wustl edu 

--- shadow/118498	Tue Jul 29 02:07:53 2003
+++ shadow/118498.tmp.20636	Tue Jul 29 13:10:51 2003
@@ -39,6 +39,11 @@
 
 ------- Additional Comments From murrayc usa net  2003-07-29 02:07 -------
 > but this code is directly converted from gtk+ C code that does work
 (I > can submit that upon request)
 
 Yes, please. That is often very helpful.
+
+------- Additional Comments From nam1 cse wustl edu  2003-07-29 13:10 -------
+Created an attachment (id=18724)
+The C (gtk+) version, which *does* scroll.
+



--__--__--

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


End of Gtkmm-forge Digest



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