Gtkmm-forge digest, Vol 1 #977 - 10 msgs
- From: gtkmm-forge-request lists sourceforge net
- To: gtkmm-forge lists sourceforge net
- Cc:
- Subject: Gtkmm-forge digest, Vol 1 #977 - 10 msgs
- Date: Tue, 27 Sep 2005 20:21:30 -0700
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. Do not try to unsubscribe gtkmm-forge from gtkmm-list.
Today's Topics:
1. [Bug 316726] Cannot compile gtkmm application (gtkmm (bugzilla.gnome.org))
2. [Bug 307480] problem with MAKE check in configure (glibmm (bugzilla.gnome.org))
3. [Bug 93787] Outputting ustring with operator << converts implicitly (gtkmm (bugzilla.gnome.org))
4. [Bug 314283] glibmm 2.6 on Solaris/Forte needs newer libtool (gtkmm (bugzilla.gnome.org))
5. [Bug 317309] New: ScrolledWindow::get_hscrollbar_visible() and get_vscrollbar_visible() return wrong state (gtkmm (bugzilla.gnome.org))
6. [Bug 317309] ScrolledWindow::get_hscrollbar_visible() and get_vscrollbar_visible() return wrong state (gtkmm (bugzilla.gnome.org))
7. [Bug 317309] ScrolledWindow::get_hscrollbar_visible() and get_vscrollbar_visible() return wrong state (gtkmm (bugzilla.gnome.org))
8. [Bug 317352] New: Gtk::TreeViewColumn::set_widget() problems (gtkmm (bugzilla.gnome.org))
9. [Bug 93787] Outputting ustring with operator << converts implicitly (gtkmm (bugzilla.gnome.org))
10. [Bug 317352] Gtk::TreeViewColumn::set_widget() problems (gtkmm (bugzilla.gnome.org))
--__--__--
Message: 1
From: "gtkmm (bugzilla.gnome.org)" <bugzilla-daemon bugzilla gnome org>
To: gtkmm-forge lists sourceforge net
Date: Tue, 27 Sep 2005 01:35:05 -0400 (EDT)
Subject: [gtkmm bugzilla] [Bug 316726] Cannot compile gtkmm application
Do not reply to this email. You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=3D316726
gtkmm | general | Ver: 2.4
Murray Cumming changed:
What |Removed |Added
-------------------------------------------------------------------------=
---
Status|NEEDINFO |RESOLVED
Resolution| |INVALID
------- Additional Comments From Murray Cumming 2005-09-27 05:35 -------
A test case should be as simple as possible. In the process of creating t=
hat
simple test case you will probably discover the error. Please reopen this=
bug if
you create a test case.
For instance, some other header might be #define-ing something that break=
s the
gtkmm headers.
------- You are receiving this mail because: -------
You are the assignee for the bug.
--__--__--
Message: 2
From: "glibmm (bugzilla.gnome.org)" <bugzilla-daemon bugzilla gnome org>
To: gtkmm-forge lists sourceforge net
Date: Tue, 27 Sep 2005 01:36:47 -0400 (EDT)
Subject: [gtkmm bugzilla] [Bug 307480] problem with MAKE check in configure
Do not reply to this email. You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=3D307480
glibmm | build | Ver: 2.6.x
------- Additional Comments From Murray Cumming 2005-09-27 05:36 -------
Ah, many thanks.
------- You are receiving this mail because: -------
You are the assignee for the bug.
--__--__--
Message: 3
From: "gtkmm (bugzilla.gnome.org)" <bugzilla-daemon bugzilla gnome org>
To: gtkmm-forge lists sourceforge net
Date: Tue, 27 Sep 2005 01:40:11 -0400 (EDT)
Subject: [gtkmm bugzilla] [Bug 93787] Outputting ustring with operator << converts implicitly
Do not reply to this email. You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=3D93787
gtkmm | reference documentation | Ver: 2.0
------- Additional Comments From Murray Cumming 2005-09-27 05:40 -------
This really looks like discussion for the mailing list. Here, you just ge=
t to
talk to me, instead of lots more informed people.
> Although this bug is closed long time ago, I just want to add I've disc=
overed
> the hard way that always using the encoding of the locale with std::str=
ings is
> not always good enough either.
I guess that makes sense. If you're locale is UTF-8 then you shouldn't be=
using
std::strings with API that gives/takes Glib::ustrings.
------- You are receiving this mail because: -------
You are the assignee for the bug.
--__--__--
Message: 4
From: "gtkmm (bugzilla.gnome.org)" <bugzilla-daemon bugzilla gnome org>
To: gtkmm-forge lists sourceforge net
Date: Tue, 27 Sep 2005 01:54:06 -0400 (EDT)
Subject: [gtkmm bugzilla] [Bug 314283] glibmm 2.6 on Solaris/Forte needs newer libtool
Do not reply to this email. You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=3D314283
gtkmm | build | Ver: 2.6.x
Murray Cumming changed:
What |Removed |Added
-------------------------------------------------------------------------=
---
Summary|Problem building glibmm on |glibmm 2.6 on Solaris/Fo=
rte
|Solaris, using sun CC. |needs newer libtool
------- You are receiving this mail because: -------
You are the assignee for the bug.
--__--__--
Message: 5
From: "gtkmm (bugzilla.gnome.org)" <bugzilla-daemon bugzilla gnome org>
To: gtkmm-forge lists sourceforge net
Date: Tue, 27 Sep 2005 02:59:21 -0400 (EDT)
Subject: [gtkmm bugzilla] [Bug 317309] New: ScrolledWindow::get_hscrollbar_visible() and get_vscrollbar_visible() return wrong state
Do not reply to this email. You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=3D317309
gtkmm | general | Ver: 2.6.x
Summary: ScrolledWindow::get_hscrollbar_visible() and
get_vscrollbar_visible() return wrong state
Product: gtkmm
Version: 2.6.x
Platform: Other
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: general
AssignedTo: gtkmm-forge lists sourceforge net
ReportedBy: zoombat runbox com
CC: all-bugs bugzilla gnome org
Distribution/Version: Gentoo ~x86 on a 2005.1 base
I think in the implementation of ScrolledWindow get_hscrollbar_visible()
and get_vscrollbar_visible() the methods return the wrong value (ie:
they return eachother's value rather than their own...) see the attached
screenshot for output:
std::cout << "HScrollbar: " << ImageScroller.get_hscrollbar_visible() <<
std::endl;
std::cout << "VScrollbar: " << ImageScroller.get_vscrollbar_visible() <<
std::endl;
In the screenshot it is clearly the HScrollbar visible but the output is
in reverse, or am I missing something?
http://www.tschew.e7even.com/scrollbar.jpg
-Bartek
------- You are receiving this mail because: -------
You are the assignee for the bug.
--__--__--
Message: 6
From: "gtkmm (bugzilla.gnome.org)" <bugzilla-daemon bugzilla gnome org>
To: gtkmm-forge lists sourceforge net
Date: Tue, 27 Sep 2005 08:05:43 -0400 (EDT)
Subject: [gtkmm bugzilla] [Bug 317309] ScrolledWindow::get_hscrollbar_visible() and get_vscrollbar_visible() return wrong state
Do not reply to this email. You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=3D317309
gtkmm | general | Ver: 2.6.x
------- Additional Comments From Bartek Kostrzewa 2005-09-27 12:05 -----=
--
I've checked scrolledwindow.ccg and scrolledwindow.hg in the source distr=
ibution
but I don't understand the _MEMBER_GET bit:
_MEMBER_GET(vscrollbar_visible,hscrollbar_visible,bool,guint)
_MEMBER_GET(hscrollbar_visible,vscrollbar_visible,bool,guint)
Is my assumption correct that this works as follows:
arg1 =3D get_* method name
arg2 =3D get_* object property
arg3 =3D return type
arg4 =3D implementation of return type (e.g. bool =3D guint)
if so then I think I've found the problem.. I'm going to try to reverse t=
he
second arguments, recompile and see what happens.
------- You are receiving this mail because: -------
You are the assignee for the bug.
--__--__--
Message: 7
From: "gtkmm (bugzilla.gnome.org)" <bugzilla-daemon bugzilla gnome org>
To: gtkmm-forge lists sourceforge net
Date: Tue, 27 Sep 2005 08:39:29 -0400 (EDT)
Subject: [gtkmm bugzilla] [Bug 317309] ScrolledWindow::get_hscrollbar_visible() and get_vscrollbar_visible() return wrong state
Do not reply to this email. You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=3D317309
gtkmm | general | Ver: 2.6.x
------- Additional Comments From Bartek Kostrzewa 2005-09-27 12:39 -----=
--
Ok, I now modified the correct files or maybe I don't understand the buil=
d
system or whatever... anyway, I went into the source distribution
gtk/gtkmm/scrolledwindow.cc ... I know it says do not modify but since th=
e other
tweak didn't do it...
and here indeed, get_hscrollbar_visible() returns gobj->vscrollbar_visibl=
e()
which seems fishy... and changing it made it behave as it should
Maybe there was some error in gtk and this was implemented like this as a=
hotfix
and then forgotten?
http://www.tschew.e7even.com/scrollbar2.jpg
------- You are receiving this mail because: -------
You are the assignee for the bug.
--__--__--
Message: 8
From: "gtkmm (bugzilla.gnome.org)" <bugzilla-daemon bugzilla gnome org>
To: gtkmm-forge lists sourceforge net
Date: Tue, 27 Sep 2005 13:22:32 -0400 (EDT)
Subject: [gtkmm bugzilla] [Bug 317352] New: Gtk::TreeViewColumn::set_widget() problems
Do not reply to this email. You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=3D317352
gtkmm | TreeView | Ver: 2.4.x
Summary: Gtk::TreeViewColumn::set_widget() problems
Product: gtkmm
Version: 2.4.x
Platform: Other
OS/Version: All
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: TreeView
AssignedTo: gtkmm-forge lists sourceforge net
ReportedBy: nightslayer gmx de
CC: all-bugs bugzilla gnome org
Please describe the problem:
The Problem is about widgets that can be clicked/toggled/activated inside=
a
Gtk::TreeViewColumn header.
- The header widgets (set with set_widget()) are only useable if they are=
set
after the treeview is shown.
- If the columns are reorderable and after a column has been reordered, t=
he
widgets are unuseable again.
- There is a warning right after starting the attached program. Don't kno=
w what
it is: (main:2791): Gtk-CRITICAL **: gtk_cell_layout_add_attribute: asser=
tion
`column >=3D 0' failed
GTKmm: Debian package name: libgtkmm-2.4-1c2, Version: 1:2.6.2-1.1
(Sorry, but I have no clue what the actual version is)
Compiler: g++-4.0 (GCC) 4.0.1 (Debian 4.0.1-2)
Steps to reproduce:
1. See my attached code
2. Read the instructions/information in the comments
Actual results:
The descriped problem occures.
Expected results:
The widgets should ALWAYS be useable (clickable, etc), even if they are s=
et
BEFORE show_all() and also after a column has been reordered.
Does this happen every time?
Yes.
Other information:
Some Code. Compile with: g++ -o main main.cc `pkg-config --cflags --libs =
gtkmm-2.4`
#include <iostream>
#include <gtkmm.h>
class ColRecord : public Gtk::TreeModelColumnRecord
{
public:
ColRecord (void)
{
this->add(col1);
this->add(col2);
}
Gtk::TreeModelColumn<Glib::ustring> col1;
Gtk::TreeModelColumn<Glib::ustring> col2;
};
class TestWin : public Gtk::Window
{
private:
Gtk::CheckButton cb1;
Gtk::CheckButton cb2;
Gtk::TreeView tv;
Gtk::TreeViewColumn tvc1;
Gtk::TreeViewColumn tvc2;
ColRecord cr;
Glib::RefPtr<Gtk::ListStore> model;
public:
TestWin (void) : cb1("CheckBut 1"), cb2("CheckBut 2"),
tvc1("Col1", cr.col1), tvc2("Col2", cr.col2),
model(Gtk::ListStore::create(cr))
{
/* After reordering of columns, header widget is not useable. */
tvc1.set_reorderable(true);
tvc2.set_reorderable(true);
tv.append_column(tvc1);
tv.append_column(tvc2);
tv.set_model(model);
tv.set_headers_visible(true);
cb1.show_all();
cb2.show_all();
add(tv);
set_default_size(320, 200);
/* Widget is NOT useable if it's set here. */
//tvc1.set_widget(cb1);
//tvc2.set_widget(cb2);
show_all();
/* Widget is useable if it's set here. */
tvc1.set_widget(cb1);
tvc2.set_widget(cb2);
}
};
int main (int argc, char** argv)
{
Gtk::Main kit(&argc, &argv);
TestWin win;
kit.run(win);
return 0;
}
------- You are receiving this mail because: -------
You are the assignee for the bug.
--__--__--
Message: 9
From: "gtkmm (bugzilla.gnome.org)" <bugzilla-daemon bugzilla gnome org>
To: gtkmm-forge lists sourceforge net
Date: Tue, 27 Sep 2005 15:56:40 -0400 (EDT)
Subject: [gtkmm bugzilla] [Bug 93787] Outputting ustring with operator << converts implicitly
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=3D93787
gtkmm | reference documentation | Ver: 2.0
------- Additional Comments From Ole Laursen 2005-09-27 19:56 -------
My fault, I'm not continuing the discussion, I just meant to clarify thin=
gs for
people who search the bug database since someone recently asked me about =
the
conclusion of this bug. I don't know how he digged up this bug, but if he=
could,
others could too, I reckoned. :-)
------- You are receiving this mail because: -------
You are the assignee for the bug.
--__--__--
Message: 10
From: "gtkmm (bugzilla.gnome.org)" <bugzilla-daemon bugzilla gnome org>
To: gtkmm-forge lists sourceforge net
Date: Tue, 27 Sep 2005 17:35:34 -0400 (EDT)
Subject: [gtkmm bugzilla] [Bug 317352] Gtk::TreeViewColumn::set_widget() problems
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=3D317352
gtkmm | TreeView | Ver: 2.4.x
------- Additional Comments From Simon Fuhrmann 2005-09-27 21:35 -------
There is another thing: If a column is reorderable, a single-pixel mouse =
move is
enougth to start reordering. This is a bit annoying if the columns are al=
so
clickable and clicking columns is often used (to sort the data or so).
In my opinion it would be better to start reordering after a few more
mouse-move-pixels.
-- Simon
------- You are receiving this mail because: -------
You are the assignee for the bug.
--__--__--
_______________________________________________
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]