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 576879 - Ctrl+L does not show layers in Integrated UI
Ctrl+L does not show layers in Integrated UI
Status: RESOLVED FIXED
Product: dia
Classification: Other
Component: general
devel
Other Linux
: Normal normal
: 0.97
Assigned To: Dia maintainers
Dia maintainers
: 624533 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2009-03-26 18:08 UTC by Steffen Macke
Modified: 2010-07-16 11:42 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Steffen Macke 2009-03-26 18:08:04 UTC
Reported by Slavko on the mailing list:

when I swap to integrated interface, I can't show Layers Window (Ctrl+L). Nor
by menu "Layers -> Layers", nor by hot key. Only by menu "Show -> Layers".


Is it really a good idea to have two menu entries for the same thing?
Comment 1 Hans Breuer 2009-03-26 19:24:51 UTC
IMO it is not the same thing, so the bug is the Layers/Layers... menu entry. 
Or maybe even the whole (almost unmaintained) integrated UI.
Comment 2 Patrick Hallinan 2009-03-28 10:11:25 UTC
The Layer menu was added to the integrated UI on March 7th without being tested. 
Comment 3 Hans Breuer 2009-03-28 10:54:15 UTC
Give me more of this hints and I'll just remove the integrated UI code ;)
I already fixed a bunch of bugs in the original integrated UI code, but given that I'm not using it myself and it just adds a further dimension in complexity I don't see how it could be maintained without a volunteer.
Would it help if I CC you on every integrated UI bug? Do you want to review patches (e.g. I already have one for bug #573635)
Comment 4 Patrick Hallinan 2009-03-28 11:12:23 UTC
Yes, CC me on integrated UI bugs.  I have not contributed in a while because I am not using Dia and I haven't gotten feedback.  
Comment 5 Steffen Macke 2009-03-28 11:16:56 UTC
So far, I've got feedback from ~20 Dia for Windows users regarding the Integrated UI. 100% were in favour of the Integrated UI.
Comment 6 Hans Breuer 2009-03-28 12:25:39 UTC
Interesting, but what's the proposal for the issue at hand?
 - remove the menu entry and bind Ctrl-L to "ViewLayers"
 - redo the whole Layers menu for iUI
 - make Layers/Layers... open the dialog even for iUI
 - map Layers/Layers... ("DiagramLayers") to "ViewLayers" for iUI
 - something completely different
Comment 7 Patrick Hallinan 2009-03-30 12:26:16 UTC
I am in favor of this:

-remove the menu entry and bind Ctrl-L to "ViewLayers"

But I don't use Layers.  I never had a strong opinion on how this should work in the integrated UI.  Lars (I think) requested some kind of non-dialog behavior.  
Comment 8 Patrick Hallinan 2009-04-05 17:17:58 UTC
Should I go ahead and remove the layer menu and create the key binding?
Comment 9 Hans Breuer 2009-04-05 17:46:00 UTC
do you want to remove the whoe layer menu from the iUI menu? Or just the Layers entry? (Both would be fine with me but the former would also remove some new functions completely from the iUI).

I hestitate to add further if(iUI) code into Dia, though. The special code pathes for this mode should be reduced, not extended.
Comment 10 Patrick Hallinan 2009-04-05 18:33:09 UTC
I was thinking of just removing the layers menu but I'm open to removing the
offending item.  My inclination, though, is to make it work as expected.  I
haven't looked yet but it can't be much work.

I agree that my code needs to be cleaned up.  It felt hack-ish when I
was making my changes.  Like a proof of concept.
Comment 11 Hans Breuer 2009-04-13 14:34:39 UTC
2009-04-13  Hans Breuer  <hans@breuer.org>

	* data/integrated-ui.xml app/menus.c : removed Layers/Layers... from
	the integrated UI menu and assigned <control>L also to ShowLayers
	(the two menu entries are never available together, so no conflict)
	Fixes bug #576879.

	* app/preferences.[ch] :removed "Integrated UI" option here ...
	(together with the annoying change-needs-restart message)
	* app/app_procs.c : ... and made it a start-up option, aka. command
	line switch. If the UI type some day can be switch at runtime the
	prefernce setting may be added again.
Comment 12 Hans Breuer 2010-07-16 11:42:54 UTC
*** Bug 624533 has been marked as a duplicate of this bug. ***