View unanswered posts | View active topics



Reply to topic  [ 20 posts ]  Go to page 1, 2  Next
[FD4] AutohideMenu 1.0 
Author Message
Member

Joined: Mon Jan 04, 2010 12:36 pm
Posts: 45
Location: google translate slave
Hides menu permanently, and shows it on Alt tap.
Adds toggle autohide menu items to ViewMenu and document tabs context menu.

Image Download

Update 0.2:
- Autohide delay added. Can be customized through settings. Default 100ms.

Update 1.0:
- Autohide delay extinguished.
- Added shortcut action for toggling menu autohiding.
- Added ability to duplacte menu to toolbar.

Image

_________________
[url=http://www.flashdevelop.org/community/viewtopic.php?f=9&t=8872]Interface: concept[/url]. My Little Plugins: [url=http://www.flashdevelop.org/community/viewtopic.php?f=4&t=7807][FD3][FD4]MSVS style comments 0.2[/url], [url=http://www.flashdevelop.org/community/viewtopic.php?f=4&t=8886][FD4]AutohideMenu[/url].


Last edited by garkin on Fri May 11, 2012 11:43 am, edited 11 times in total.



Sat Oct 15, 2011 11:22 pm
Profile
Admin

Joined: Wed Aug 31, 2005 7:27 am
Posts: 12172
Location: London
I like it :)


Sun Oct 16, 2011 1:19 pm
Profile WWW
Member

Joined: Mon Jan 04, 2010 12:36 pm
Posts: 45
Location: google translate slave
Thx.

Are there from plugin any way to bind toggle autohide to double click at tabbar empty space ?

_________________
[url=http://www.flashdevelop.org/community/viewtopic.php?f=9&t=8872]Interface: concept[/url]. My Little Plugins: [url=http://www.flashdevelop.org/community/viewtopic.php?f=4&t=7807][FD3][FD4]MSVS style comments 0.2[/url], [url=http://www.flashdevelop.org/community/viewtopic.php?f=4&t=8886][FD4]AutohideMenu[/url].


Sun Oct 16, 2011 2:42 pm
Profile
Admin

Joined: Wed Aug 31, 2005 7:27 am
Posts: 12172
Location: London
garkin wrote:
Thx.

Are there from plugin any way to bind toggle autohide to double click at tabbar empty space ?

There isn't anything exposed but a plugin has access to the docking manger as it's exposed in PluginCore.


Sun Oct 16, 2011 5:47 pm
Profile WWW
Admin

Joined: Wed Aug 31, 2005 7:27 am
Posts: 12172
Location: London
I've got an exception at startup when the plugin loads the settings.


Sun Oct 16, 2011 6:54 pm
Profile WWW
Admin

Joined: Wed Aug 31, 2005 7:27 am
Posts: 12172
Location: London
One little suggestion: add a little delay when hiding the menu as you tend to make a text selection when you click on the editor text - or worse drag a file in the project panel.


Sun Oct 16, 2011 9:10 pm
Profile WWW
Member

Joined: Mon Jan 04, 2010 12:36 pm
Posts: 45
Location: google translate slave
Philippe wrote:
I've got an exception at startup when the plugin loads the settings.
Can't reproduce. :oops:
Philippe wrote:
One little suggestion: add a little delay when hiding the menu as you tend to make a text selection when you click on the editor text - or worse drag a file in the project panel.
100ms will be ok?

Sources uploaded. Feel free to contribute. :wink:

_________________
[url=http://www.flashdevelop.org/community/viewtopic.php?f=9&t=8872]Interface: concept[/url]. My Little Plugins: [url=http://www.flashdevelop.org/community/viewtopic.php?f=4&t=7807][FD3][FD4]MSVS style comments 0.2[/url], [url=http://www.flashdevelop.org/community/viewtopic.php?f=4&t=8886][FD4]AutohideMenu[/url].


Mon Oct 17, 2011 12:30 am
Profile
Member

Joined: Sun Mar 02, 2008 11:17 am
Posts: 59
Location: Gothenburg, Sweden
Philippe wrote:
I've got an exception at startup when the plugin loads the settings.


Renaming the dll from [FD4]AutohideMenu0.1.dll to AutohideMenu.dll solved that for me.


Mon Oct 17, 2011 6:58 am
Profile
Member

Joined: Mon Jan 04, 2010 12:36 pm
Posts: 45
Location: google translate slave
Update 0.2:
- Autohide delay added. Can be customized through settings. Default 100ms.

bjarneh wrote:
Philippe wrote:
I've got an exception at startup when the plugin loads the settings.

Renaming the dll from [FD4]AutohideMenu0.1.dll to AutohideMenu.dll solved that for me.
You right. Dlls somehow forced to be named as assembly itself when deserializes settings.fdb.

I remade file hosting organization so filename now matches assemblyname. No need for rename now.

_________________
[url=http://www.flashdevelop.org/community/viewtopic.php?f=9&t=8872]Interface: concept[/url]. My Little Plugins: [url=http://www.flashdevelop.org/community/viewtopic.php?f=4&t=7807][FD3][FD4]MSVS style comments 0.2[/url], [url=http://www.flashdevelop.org/community/viewtopic.php?f=4&t=8886][FD4]AutohideMenu[/url].


Last edited by garkin on Mon Oct 17, 2011 2:04 pm, edited 1 time in total.



Mon Oct 17, 2011 7:54 am
Profile
Admin

Joined: Wed Aug 31, 2005 7:27 am
Posts: 12172
Location: London
I think the delay should start after mouseup :)


Mon Oct 17, 2011 9:51 am
Profile WWW
Member

Joined: Mon Jan 04, 2010 12:36 pm
Posts: 45
Location: google translate slave
Philippe wrote:
I think the delay should start after mouseup :)
Mouse up triggers same time as focus.

_________________
[url=http://www.flashdevelop.org/community/viewtopic.php?f=9&t=8872]Interface: concept[/url]. My Little Plugins: [url=http://www.flashdevelop.org/community/viewtopic.php?f=4&t=7807][FD3][FD4]MSVS style comments 0.2[/url], [url=http://www.flashdevelop.org/community/viewtopic.php?f=4&t=8886][FD4]AutohideMenu[/url].


Mon Oct 17, 2011 2:08 pm
Profile
Admin

Joined: Wed Aug 31, 2005 7:27 am
Posts: 12172
Location: London
I mean: if I keep the mouse button down when I click in the editor the main menu still disappears before I unrelease it.


Tue Oct 18, 2011 10:25 am
Profile WWW
Member

Joined: Fri Mar 09, 2007 8:02 am
Posts: 278
nice plugin. It save my screen space . :P


Wed Oct 19, 2011 4:41 am
Profile
Member

Joined: Fri Mar 09, 2007 8:02 am
Posts: 278
error with start.

fd 4 rc1
plugin AutoHide v0.2

Code:
无法找到程序集“AutohideMenu, Version=0.2.0.23596, Culture=neutral, PublicKeyToken=null”。

   在 System.Runtime.Serialization.Formatters.Binary.BinaryAssemblyInfo.GetAssembly()
   在 System.Runtime.Serialization.Formatters.Binary.ObjectReader.GetType(BinaryAssemblyInfo assemblyInfo, String name)
   在 System.Runtime.Serialization.Formatters.Binary.ObjectMap..ctor(String objectName, String[] memberNames, BinaryTypeEnum[] binaryTypeEnumA, Object[] typeInformationA, Int32[] memberAssemIds, ObjectReader objectReader, Int32 objectId, BinaryAssemblyInfo assemblyInfo, SizedArray assemIdToAssemblyTable)
   在 System.Runtime.Serialization.Formatters.Binary.ObjectMap.Create(String name, String[] memberNames, BinaryTypeEnum[] binaryTypeEnumA, Object[] typeInformationA, Int32[] memberAssemIds, ObjectReader objectReader, Int32 objectId, BinaryAssemblyInfo assemblyInfo, SizedArray assemIdToAssemblyTable)
   在 System.Runtime.Serialization.Formatters.Binary.__BinaryParser.ReadObjectWithMapTyped(BinaryObjectWithMapTyped record)
   在 System.Runtime.Serialization.Formatters.Binary.__BinaryParser.ReadObjectWithMapTyped(BinaryHeaderEnum binaryHeaderEnum)
   在 System.Runtime.Serialization.Formatters.Binary.__BinaryParser.Run()
   在 System.Runtime.Serialization.Formatters.Binary.ObjectReader.Deserialize(HeaderHandler handler, __BinaryParser serParser, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
   在 System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(Stream serializationStream, HeaderHandler handler, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
   在 PluginCore.Utilities.ObjectSerializer.InternalDeserialize(String file, Type type)
   在 PluginCore.Utilities.ObjectSerializer.Deserialize(String file, Object obj, Boolean checkValidity)


Wed Oct 19, 2011 4:47 am
Profile
Member

Joined: Mon Jan 04, 2010 12:36 pm
Posts: 45
Location: google translate slave
zszen wrote:
error with start.
My bad. Please rename dll itself from "Autohide.dll" to "AutohideMenu.dll". Or redownload. I renamed it correctly on filehosting.

_________________
[url=http://www.flashdevelop.org/community/viewtopic.php?f=9&t=8872]Interface: concept[/url]. My Little Plugins: [url=http://www.flashdevelop.org/community/viewtopic.php?f=4&t=7807][FD3][FD4]MSVS style comments 0.2[/url], [url=http://www.flashdevelop.org/community/viewtopic.php?f=4&t=8886][FD4]AutohideMenu[/url].


Wed Oct 19, 2011 7:35 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 20 posts ]  Go to page 1, 2  Next

Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.