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 621463 - Unhidden sheets in saved files with hidden sheets are not show when selected
Unhidden sheets in saved files with hidden sheets are not show when selected
Status: RESOLVED FIXED
Product: Gnumeric
Classification: Applications
Component: GUI
git master
Other All
: Normal normal
: ---
Assigned To: Jody Goldberg
Jody Goldberg
Depends on:
Blocks:
 
 
Reported: 2010-06-13 16:39 UTC by Sameer Morar
Modified: 2010-06-13 21:02 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Gnumeric file with Sheet 3 hidden (1.66 KB, application/x-gnumeric)
2010-06-13 16:39 UTC, Sameer Morar
Details

Description Sameer Morar 2010-06-13 16:39:52 UTC
Created attachment 163519 [details]
Gnumeric file with Sheet 3 hidden

When a file with hidden sheets is opened, and those sheets are unhidden, they are not displayed when the sheet's tab is selected.

Steps to reproduce:
1) Open a gnumeric file that contains a hidden sheet
2) Select Edit -> Sheet -> Manage sheets...
3) Click on the visibility column of the hidden sheet, and observe that the hidden sheet's tab is displayed at the bottom of the display.
4) Close the Mange sheets... dialog
5) Select the unhidden sheet, and observe that when it is selected, the previously selected sheet is still displayed.

It seems as though that when the hidden sheet's tab is added to the display, the callback to display the sheet that it represents is not being assigned to the tab.

A work around is to unhide the sheet, save the file, close and re-open it, after which the sheet is visible.

I have attached a gnumeric file with a hidden sheet that illustrates the above buggy behaviour.
Comment 1 Morten Welinder 2010-06-13 20:23:53 UTC
Confirmed.
Comment 2 Morten Welinder 2010-06-13 21:02:28 UTC
This problem has been fixed in our software repository. The fix will go into the next software release. Thank you for your bug report.