SyMenu Forum

SyMenu

 

HomeGeneral discussion & questions

Talk about SyMenu or post suggestions, requests, or how-to questions

Suggestion: Search results with 2 or more lines Messages in this topic - RSS

PoWi
PoWi
Posts: 90


22/05/2014
PoWi
PoWi
Posts: 90
Hi Gianluca,
I use very often the search for files in SyMenu, because it's really fast and great.

Therefore many of my files have "speaking" names - so there are much longer than eg 15 characters.

Would it be possible to show the filenames in 2 or more lines or simply make the search results wider?
Maybe as option.
I would prefer more than one line...
link
Gianluca
Gianluca
Administrator
Posts: 1274


23/05/2014
Gianluca
Gianluca
Administrator
Posts: 1274
Hi PoWi.
Can you send to me a screenshot of the SyMenu showing your file names? I checked it and the search result box could host files which names are up to 40 characters so maybe I don't understand the problem.
link
PoWi
PoWi
Posts: 90


24/05/2014
PoWi
PoWi
Posts: 90
Screenshot sent via mail.
link
Gianluca
Gianluca
Administrator
Posts: 1274


26/05/2014
Gianluca
Gianluca
Administrator
Posts: 1274
Dear PoWi.

The issue could be easily solved with your suggestions, creating a double line label or increasing the menu width, but the problem will be here again for even larger labels. In fact in the past I've already expanded the menu but your request shows that this is not the right path to follow.

Thus I propose a new approach.
In HTML exists a non standard tag <marquee> that is able to easily produce a horizontal scrolling effect for large text (see http://www.marqueetextlive.com/ to understand well).
I don't know if it is possible to reach this kind of effect with a winform application but I could try and I think this could be the final solution.

What do you think?
link
PoWi
PoWi
Posts: 90


26/05/2014
PoWi
PoWi
Posts: 90
Gianluca wrote:
What do you think?


I think I can't live without SyMenu. Toast

I agree that the marquee effect could solve this. The speed should be adjustable by user.
Should the text bouncing from the edges?
link
Gianluca
Gianluca
Administrator
Posts: 1274


26/05/2014
Gianluca
Gianluca
Administrator
Posts: 1274
Well I can't reply until I will study the possible solutions.
3.01 version is quite ready for releasing so the marquee should be included with the next one.
Anyway I'll keep you posted.
link
Gianluca
Gianluca
Administrator
Posts: 1274


10/06/2014
Gianluca
Gianluca
Administrator
Posts: 1274
The new 3.01 version is out and there is a surprise: I was able to add the marquee new feature directly in this version.
Since these feature is not well tested yet I've introduced it but not enabled for everyone.
This post is for people that intend to test the new marquee feature... well it's the first experiment of a widespread testing for SyMenu therefore please test, test, test.

To enable Marquee follow this steps:
  • Update and execute the new SyMenu version
  • Quit SyMenu
  • Go on the physical folder SyMenu/Config
  • Backup the file SyMenuConfig.zip in another folder (just in case... but do it because you're at risk of loosing your configuration)
  • Unzip SyMenuConfig.zip. You'll obtain a file called SyMenuConfig.xml. This is the configuration settings for your SyMenu
  • Open SyMenuConfig.xml file with the a text editor (use notepad for example)
  • Find the xml key <marqueeItemsEXPERIMENTAL enable="False" reenterFromRight="False" initialPause="2000" scrollStep="1" />
  • Change the attribute enable="False" in enable="True" (be carefull with casing please... it's "True" and not "true")
  • Save the file, zip it again inside the SyMenuConfig.zip
  • Execute SyMenu
The marquee will be enabled for elements (folders, programs, documents) with name longer than 34 characters. The marquee is not active if the element is currently selected (when it is focused).
The xml attribute has other parameters. Try to change and experiment with those because, if marquee become a SyMenu new official feature, I'll have to define the standard values.

This is the documentation of the marqueeItemsEXPERIMENTAL tag
  • enable (True|False) defines if the marquee is enabled
  • reenterFromRight (True|False) defines if a text completely exited from the menu must reenter smoothly from the right or re-appear without animation
  • initialPause (milliseconds) defines the initial pause before marquee starting to scroll the text
  • scrollStep (>0) it's the pixel step for the text. It's updated every 30 milliseconds
Enjoy
edited by Gianluca on 11/06/2014
link
PoWi
PoWi
Posts: 90


10/06/2014
PoWi
PoWi
Posts: 90
Gianluca wrote:
The new 3.01 version is out and there is a surprise: I was able to add the marquee new feature directly in this version.
...
  • enable (True|False) defines if the marquee is enabled
  • reenterFormRight (True|False) defines if a text completely exits from the menu has to reenter smoothly from right or entirely re-appear
  • initialPause (milliseconds) defines the initial pause before marquee starts to scroll the text
  • scrollStep (>0) it's the pixel step for the text. It's updated every 30 milliseconds

First of all: Many thanks to Gianluca. He really increases the functionality and SyMenu is getting better and better.

I tested the marquee in the search-results.

I use the scrollStep with 2. The speed is fine for reading the result.

One thing I mentioned:
This effect is not at all scrolling texts (I don't know why...):
After the text scrolled out of the left - there is a pause - and then the texts scrolls in from right. That's only at few texts...
The effect is that there is no texts for about 1 second.
I suggest if the text disappears at the left border, let the text immediately come in from the right.


But the marquee is really nice and handy. :-)
link
Gianluca
Gianluca
Administrator
Posts: 1274


11/06/2014
Gianluca
Gianluca
Administrator
Posts: 1274
Hi PoWi.
Thank for testing marquee.
I know the issue you describe: it only affects the longer text. The longer is the text, longer is the delay for text to reappear.
But if you avoid the smooth enter from the right (reenterFromRight="False") the issue should disappear.
Anyway I'll try to fix the problem in the next version.
link
PoWi
PoWi
Posts: 90


11/06/2014
PoWi
PoWi
Posts: 90
I like the right entering of text. ;-)
link



UGMFree © 2002-2024
PayPal BTC TON