After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 631906 - ::page-added with no current page
::page-added with no current page
Status: RESOLVED OBSOLETE
Product: gtk+
Classification: Platform
Component: Widget: GtkNotebook
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2010-10-11 17:47 UTC by Owen Taylor
Modified: 2018-02-10 03:44 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Owen Taylor 2010-10-11 17:47:37 UTC
When inserting a page into an empty notebook, ::page-added is emitted witha current page of -1, which is a confusing state to be in for a notebook with no tabs.

It would be better to:

 - Internally select the new tab
 - Emit ::page-added
 - Emit ::switch-page

(See bug 631709 for a problem this caused and the workaround used there)
Comment 1 Christian Persch 2010-10-11 18:56:24 UTC
CC:ing -maint of some MDI apps so they're aware of this bug.
Comment 2 Ignacio Casal Quinteiro (nacho) 2010-10-11 22:04:49 UTC
I think this wouldn't be much of a problem for us. (gedit) if so we can always fix it.
Comment 3 Matthias Clasen 2018-02-10 03:44:12 UTC
We're moving to gitlab! As part of this move, we are closing bugs that haven't seen activity in more than 5 years. If this issue is still imporant to you and
still relevant with GTK+ 3.22 or master, please consider creating a gitlab issue
for it.