You are here

Portable Apps Menu Mod Draggable Version * outdated *

36 posts / 0 new
Last post
xrxca
Offline
Last seen: 10 years 10 months ago
Joined: 2007-07-03 23:59
Portable Apps Menu Mod Draggable Version * outdated *

New version posted: Link
OK, so netroid9 is finished for the time being, I was going to send him these mods, so instead I've added them myself.
For now there is just one change, but it needs testing (especially by others with multiple monitors) and that is the menu can now be dragged around on screen, left click and drag anywhere that isn't an active control (button etc) and you can move the menu around the screen.
More Information & Download
It will keep it's position between sessions, however when it starts up (or you switch themes) if any part of the menu is not on the monitor that the center of the form is on the menu will be shifted to put it all on that monitor.

I have some further ideas, keyboard movement and selection in the menu, categories etc.

I've given it a release number of 20 to differentiate it from netroid9s versions, I should probably have started at 1, but...

Feedback on how everyone thinks categories should work (not to mention any bugs) would be appreciated.

Disclaimer: Please be aware this version of the PortableApps Menu is a modification of the original version by PortableApps.com and is not officially supported.

Patrick Patience
Offline
Last seen: 4 years 11 months ago
DeveloperModerator
Joined: 2007-02-20 19:26
Cool.

Sounds like fun, I will try.

Edit: Tried it, it shows up about a centimeter above the normal height on 1280x800, won't drag beyond the top of the screen, will drag beyong the sides and bottom of screen, which is okay, but if there is a fix to make it stop at the borders of the screen, that would be cool, otherwise, works fantastic, thanks.

Edit 2: However, restore position makes it go right back to it's regular spot just above the taskbar.

P.S.

Centimeter

=
____
_______________________________________________
It's kinda scary when my desktop is messier than my room...

xrxca
Offline
Last seen: 10 years 10 months ago
Joined: 2007-07-03 23:59
Great, but...

Thats because I had a saved location in the PortableAppsMenu.ini file, I have fixed that (sort of), But need to handle no entry in there correctly (it doesn't at the moment at least on multiple monitor systems, it ends up at the very bottom right)
I'm Canadian, I know Metric (grumble) so centimeter is no problem
_________________________
* user (noun) usually offensive : a person affected with idiocy, often used as an explicative after hanging up the phone.

_________________________
* programmer (noun) : a predominantly nocturnal creature fueled by either Caffeine or Sugar (Or Both).

Patrick Patience
Offline
Last seen: 4 years 11 months ago
DeveloperModerator
Joined: 2007-02-20 19:26
Yay!

Another Candian! Whoopy Biggrin

Lol, too excited.

What Prov? Or Terri?

And would you like me to make the zip an installer?

Edit: Oh well, it's already done.

_______________________________________________
It's kinda scary when my desktop is messier than my room...

xrxca
Offline
Last seen: 10 years 10 months ago
Joined: 2007-07-03 23:59
Alberta

Alberta, went Stampeding last night (Calgary Exhibition and Stampede) don't live in Calgary, was just in for the day.

As for stopping at the edge I could make that an option (my first attempt did so, but it didn't handle multiple monitors at all so I went back to the drawing board), I like being able to drag off the edge to see whats underneath.

If you wish you could turn it into an installer, however I'll be making more changes tomorrow night, I'm off for the night.
_________________________
* user (noun) usually offensive : a person affected with idiocy, often used as an explicative after hanging up the phone.

_________________________
* programmer (noun) : a predominantly nocturnal creature fueled by either Caffeine or Sugar (Or Both).

Patrick Patience
Offline
Last seen: 4 years 11 months ago
DeveloperModerator
Joined: 2007-02-20 19:26
Ahh.

I'm from Ontario.

6:11 at the moment. I guess 4:11 over their?

I still haven't slept either.

P.S. Read me edit in the previous post.

Oopsy, the installer has my ini setting. Oh well. Smile

_______________________________________________
It's kinda scary when my desktop is messier than my room...

incubus
Offline
Last seen: 17 years 3 months ago
Joined: 2007-06-23 21:33
ok

hi so if u need translation ive done it for netroid9 the german one
u can simply mail it to me if u do any changes to the english locales

greetz

xrxca
Offline
Last seen: 10 years 10 months ago
Joined: 2007-07-03 23:59
great

When I get the categories working I'll be looking for translations for sure.
_________________________
* user (noun) usually offensive : a person affected with idiocy, often used as an explicative after hanging up the phone.

_________________________
* programmer (noun) : a predominantly nocturnal creature fueled by either Caffeine or Sugar (Or Both).

incubus
Offline
Last seen: 17 years 3 months ago
Joined: 2007-06-23 21:33
no prob

just send me youre email
best way post it in my Kontakt Formular
@ www.homeinc.de

greetz incubus

ozbodd
Offline
Last seen: 16 years 2 weeks ago
Joined: 2007-02-22 15:12
Categories

Not sure if you have already passed through my mod of Netdroids R11 at

https://portableapps.com/node/7725

The code is not pretty but I would love to see the concept

Keviin_
Offline
Last seen: 16 years 8 months ago
Joined: 2007-05-19 08:05
c[x. your verson of PAM is

c[x. your verson of PAM is great but sumhow the interface is kind of messy ahha. love the category feature though.
but one thing i'd like to see is the ability to sort item in folders like the windows vista start menu. here's a screenshot from somewebsite. when the folder is opened in the menu it turn into the tree view like thingg.
---
Firefox or Firefox?

_________________________
"A $5000 Computer... and it can't do a task as simple as killing Flanders!" -Homer

ozbodd
Offline
Last seen: 16 years 2 weeks ago
Joined: 2007-02-22 15:12
Yes the Vista treatment

Yes the Vista treatment would be great - Nice clean categories and a scroll bar would be fantasctic

xrxca
Offline
Last seen: 10 years 10 months ago
Joined: 2007-07-03 23:59
Kinda what I'm thinking

I've been tossing this one around in my mind quite a bit, the look in your shot isn't too bad, see my reply "Categories" further down.
_________________________
* user (noun) usually offensive : a person affected with idiocy, often used as an explicative after hanging up the phone.

_________________________
* programmer (noun) : a predominantly nocturnal creature fueled by either Caffeine or Sugar (Or Both).

xrxca
Offline
Last seen: 10 years 10 months ago
Joined: 2007-07-03 23:59
Hybrid is possible

I think using my concept (below) I could come up with a way for custom buttons in the theme to open specific menu categories, that way you could have your category button wherever you want, as well as in the menu (The category would open up with it's top level item as the first thing in the list)
_________________________
* user (noun) usually offensive : a person affected with idiocy, often used as an explicative after hanging up the phone.

_________________________
* programmer (noun) : a predominantly nocturnal creature fueled by either Caffeine or Sugar (Or Both).

Keviin_
Offline
Last seen: 16 years 8 months ago
Joined: 2007-05-19 08:05
BUG

c[x. if another program is using the the global hotkeys and PAM can't register the global hot keys. the error msg is displayed twice. loving the dragable feature Biggrin great work!
---
Firefox or Firefox?

_________________________
"A $5000 Computer... and it can't do a task as simple as killing Flanders!" -Homer

xrxca
Offline
Last seen: 10 years 10 months ago
Joined: 2007-07-03 23:59
I've noticed that myself,

I've noticed that myself, it's been in netroids for a while, but I haven't even looked at that section of code yet, I'm assuming it's giving the popup for both the Win+Shift and Shift+F11 keys rather than trying both before giving a warning.
_________________________
* user (noun) usually offensive : a person affected with idiocy, often used as an explicative after hanging up the phone.

_________________________
* programmer (noun) : a predominantly nocturnal creature fueled by either Caffeine or Sugar (Or Both).

Keviin_
Offline
Last seen: 16 years 8 months ago
Joined: 2007-05-19 08:05
c[x. maybe try to make it

c[x. maybe try to make it give different msgs for each hotkey instead of exact msgs as this could get confusing.
---
Firefox or Firefox?

_________________________
"A $5000 Computer... and it can't do a task as simple as killing Flanders!" -Homer

xrxca
Offline
Last seen: 10 years 10 months ago
Joined: 2007-07-03 23:59
Categories

I keep seeing 'vista like' thrown around, I've never used it, my office has one vista machine and the user of it switched to the standard menu after about a week so when I'm at his machine I see the old menu. If I understand correctly what people are looking for is a simple tree ie:

Item 1
Another Item
Menu
  Sub Item
  Sub Item
Another Menu
  Another Item
  Yet Again
Collapsed Menu
Top Level Item Again
Item

I've created logic to handle just that in a curses environment for a unix oil/gas accounting app that I wrote, the logic should translate well.

I'm thinking a critical item to this is the ability to sort items how you want, not just Alphanumeric (Annoys me to the point that my own apps all have a number at the start so they comes in the order I want.)

Then we get to the issue of Sub/Sub Menus, I think the first pass will not support this however it may be easy when I actually get to it.

Now do I force the user to sort his app folders into menus, I'm thinking not, but I am thinking that subfolders should be available under apps to make organizing easier ie: if the program finds a folder under the apps with nothing but other folders it should drop down and check them for additional apps.

I'm thinking the sorting and categories selection could all be done from the popup menu for an individual app, by adding to the menu:

Move
  Top
  Up
  Down
  Bottom
Category (For AppItem)
  Cat 1
  Cat Other
  Cat Joe
  None
  -------
  New Category
Category (For Menu Item)
  Delete
  Rename (Not really needed as app rename would do it)
  New

Now the question is how do I indicate that it's a menu and not an app item, I suppose a folder like icon might do it, but on the other hand if you wanted to have custom icons for the menu why not? I'm thinking this all goes into the theme, the
only addition over the current AppButtons would be default icon and suboffset for positioning the subitems

[MenuButtons]
TransparentColorR=206
TransparentColorG=206
TransparentColorB=206
FontName=Tahoma
FontColorR=100
FontColorG=100
FontColorB=100
OffsetX=0
OffsetY=0
Bold=1
Italic=0
Underline=0
StrikeOut=0
SubOffset=10
DefaultIcon=IconTheme\Folder.ico

That said, I'm assuming the icons in the package are GPL'd and as such I can modify one to get rid of the music note for instance to turn it into a simply folder.

I've actually done quite a bit of problem solving in my head while writing this, all I need to do now is decide how to store the categories and sorting (and should I put it in it's own ini file separate from PortableAppsMenu.ini) I need to take a look at how netroid stored the info for the DB option as I'll have to change that.

Finally where should a new item be added when it's found, I'm thinking either new items Alpha sorted at top or bottom of top level, OR a New Items Category gets created if it doesn't exist or added to if it does.

Comments?
_________________________
* user (noun) usually offensive : a person affected with idiocy, often used as an explicative after hanging up the phone.

_________________________
* programmer (noun) : a predominantly nocturnal creature fueled by either Caffeine or Sugar (Or Both).

incubus
Offline
Last seen: 17 years 3 months ago
Joined: 2007-06-23 21:33
if u looking for gpl 'd icons

Hmmm
All Icons released under Ubuntu or other Linux
are gpl d and look even better then the windows ones Biggrin

yurzub
Offline
Last seen: 16 years 3 months ago
Joined: 2007-06-04 12:21
<3 You make my days bright
ozbodd
Offline
Last seen: 16 years 2 weeks ago
Joined: 2007-02-22 15:12
Icons
LittleUnkn0wn
Offline
Last seen: 1 year 4 months ago
Joined: 2006-11-02 11:09
Hmmm...

Is it a mod of netroid's menu, or just the normal menu?
=====================
There are 10 kind of people in this world: those who understand binary, and those with friends.

yurzub
Offline
Last seen: 16 years 3 months ago
Joined: 2007-06-04 12:21
its netdroid9's r15 cont'd.

its netdroid9's r15 cont'd.

xrxca
Offline
Last seen: 10 years 10 months ago
Joined: 2007-07-03 23:59
Netroid9s

As I mention on my Info page it is based totally on netdroid9's Mod R15, I started with that as the base code, and am now hacking and slashing my way through it. (Thats hacking as in machete)
_________________________
* user (noun) usually offensive : a person affected with idiocy, often used as an explicative after hanging up the phone.

_________________________
* programmer (noun) : a predominantly nocturnal creature fueled by either Caffeine or Sugar (Or Both).

LittleUnkn0wn
Offline
Last seen: 1 year 4 months ago
Joined: 2006-11-02 11:09
Ah, ok

I see that now. I am using it right now and I like it very much. Good work!
=====================
There are 10 kind of people in this world: those who understand binary, and those with friends.

ozbodd
Offline
Last seen: 16 years 2 weeks ago
Joined: 2007-02-22 15:12
Nice ramble, could become a

Nice ramble, could become a tutorial ...

I think categories should come first and unsorted apps below, this is consistent with all file explorers.

Am I right you are thinking of building the category menu by finding apps in a similar folder structure? This may break the CommonFiles structure John has developed for JAVA and GTK. Using Pafdata files would be better if it can be done

BTW love the themes

xrxca
Offline
Last seen: 10 years 10 months ago
Joined: 2007-07-03 23:59
Definately not

And as to order, I think you should be able order them how you want using the movement feature, I personally would want a couple apps right at the top before any folders.

Kind of decided that while I was typing, but I am going to add the ability for the program to go down the tree if it sees a folder with nothing but other folders.
That way for instance, I could create a Work folder that has subfolders in it for each of the apps I use for work (mostly non gpl'd and using my own wrappers on them) and then place this work folder in the regular X:\PortableApps folder and the menu would find the apps underneath it (should that folder have nothing but folders in it, or a flag file of some kind...)
_________________________
* user (noun) usually offensive : a person affected with idiocy, often used as an explicative after hanging up the phone.

_________________________
* programmer (noun) : a predominantly nocturnal creature fueled by either Caffeine or Sugar (Or Both).

yurzub
Offline
Last seen: 16 years 3 months ago
Joined: 2007-06-04 12:21
go with flag file, because I

go with flag file, because I have folders for old app versions, and they would get noticed without my consent Biggrin

Although, forced categories [via being noticed by folder structure] seems to overextend the current app finding features, and seems like it might screw with categorizing apps, for example moving one of those apps from the work subfolder to an outer shell, where it would not normally be found.

yurzub
Offline
Last seen: 16 years 3 months ago
Joined: 2007-06-04 12:21
I've suggested this on

I've suggested this on netdroid/tewan's forum, and in ozbodd's or someone else's topic, I'll just repost for simplicity. I suggested a bunch of logic that made sense to me as to how the categories etc would work...

1. Sorting categories should be a feature, and can be controlled from the main ini. Swapping values for each cat number, or adding another value to the end would be easy.

[AppCategories]
0=Games
1=Security
2=Office
...

2. Sorting Apps [within categories] is a nice but unnecessary feature. simply by splitting apps into categories [folders], the clutter will be so reduced that keeping track of individual apps would be a waste.

3.The category that the aopp would belong to would be defined in the pafdata files for each app, something simple like

Cat=Games

this way, changing the order of categories would preserve category contents.

Actually, that was much shorter and more to the point than what I had before.

xrxca
Offline
Last seen: 10 years 10 months ago
Joined: 2007-07-03 23:59
Thats more or less how I'd

Thats more or less how I'd implement the sorting, especially since the categories will be renameable.
I've always had a problem with predefined categories myself, calendar apps are a good example, predefined categories just keep getting added and then you've got a list of categories pages long (When I installed sunbird last time I ended up going into the data file to kill most the categories).
Quick, where would you put an FTP client, Network, Communications, Tools, Internet, File Transfer, Utilities...
Now if such an option did get added to the pafdata file I could try to handle it, but the user would have the final say.
If you can sort Categories you should be able to sort Apps no point in doing one and not the other.
_________________________
* user (noun) usually offensive : a person affected with idiocy, often used as an explicative after hanging up the phone.

_________________________
* programmer (noun) : a predominantly nocturnal creature fueled by either Caffeine or Sugar (Or Both).

yurzub
Offline
Last seen: 16 years 3 months ago
Joined: 2007-06-04 12:21
I guess it might then be

I guess it might then be prudent to have the per category sort position for each app in its paf data file, though you should add handling for moving to a new category [losing the old sort position and adding it to the end]

frankly, you're the boss on this one, as you're the one doing the coding Biggrin

incubus
Offline
Last seen: 17 years 3 months ago
Joined: 2007-06-23 21:33
testet

ive testet it.
Nice work.
have u forget to include the icons from netroid or is there an other reason for this?
and could u add en local read for restore position Biggrin

thx

xrxca
Offline
Last seen: 10 years 10 months ago
Joined: 2007-07-03 23:59
Hmmm

I'm not sure what icons you mean, I've checked, and I have included all the icons that were in his release R15.

A bug fix is coming momentarily that has locale entries for Restore Position and Snap to Screen (a quick simple new addition) As well as a few entries that dont have any coding to match them yet, just know what I've got planned.
_________________________
* user (noun) usually offensive : a person affected with idiocy, often used as an explicative after hanging up the phone.

_________________________
* programmer (noun) : a predominantly nocturnal creature fueled by either Caffeine or Sugar (Or Both).

incubus
Offline
Last seen: 17 years 3 months ago
Joined: 2007-06-23 21:33
ok

i looked maybe i got the icons folder from en earlier release and havent deleted them lol
Biggrin

Ok man then go on with the base code changes Biggrin

greetz

Patrick Patience
Offline
Last seen: 4 years 11 months ago
DeveloperModerator
Joined: 2007-02-20 19:26
Categories.

Although ozbodds concept was quite good and worked quite well, I think tabs along the left or right side of the menu would be categorization.

That could be quite hard though.

_______________________________________________
It's kinda scary when my desktop is messier than my room...

xrxca
Offline
Last seen: 10 years 10 months ago
Joined: 2007-07-03 23:59
Hmmm hadn't thought of tabs

I'm working on a proof of concept for my changes, I'll look into that as well, just the menu portion so I can test / try a couple different approaches.
_________________________
* user (noun) usually offensive : a person affected with idiocy, often used as an explicative after hanging up the phone.

_________________________
* programmer (noun) : a predominantly nocturnal creature fueled by either Caffeine or Sugar (Or Both).

Log in or register to post comments