You are here

Menu position

20 posts / 0 new
Last post
helladaur
Offline
Last seen: 5 months 1 week ago
Joined: 2017-11-29 04:02
Menu position

Hi,

Thanks for making it hard to ask a simple question (like all other fora: signup required; 4xGoogle captcha at signup, again Google captcha when posting).

I recently updated to PortableAppsMenu 14.4.1 and the problem now is that every time the screen resolution changes to something lower, and then back to a higher resolution, PortableAppsMenu will appear somewhere in the middle of the screen, not at the bottom right task bar.

Previously I was using an older version (>5yo) that did not have this problem.

Is this a bug and can I work around it somehow?

Thanks

Drazick
Offline
Last seen: 1 week 3 days ago
Joined: 2010-09-06 06:36
Reset Location Option

I wish the option to reset the panel location (To its default, right and bottom) would have existed,

John T. Haller
John T. Haller's picture
Online
Last seen: 7 min 33 sec ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Google CAPTCHA

For the majority of users, the Google CAPTCHA will just be a checkbox you click that says "I am not a robot". For people on IP addresses that are used for nasty stuff, in the neighborhood of bad IPs, or who block all Google JS on all sites, they'll get a multi-stage picture selection (click the pictures that contain storefronts or similar). We have no control over what you get.

Sometimes, the impossible can become possible, if you're awesome!

ottosykora
Offline
Last seen: 1 day 8 hours ago
Joined: 2007-10-11 17:48
g capcha=biggest nonsense

this extremely annoying capcha should be worldwide banned from all networks

For many users of internet websites, it is simply not possible to enter. The pictures are extremely difficult to be seen, many people have simply not the ability to see something at all in those very poor contrast graphics.
Yes I know, there is a way to switch it to audio capcha. But it is typical 'we are the greatest' design, as the spoken numbers are so hard to understand, particularly on typical laptop loudspeakers and are in english only. Sorry members of 'we are the greatest', but did you consider that people around the world speak other languages too ?

Websites using this are telling their customers: please do not use this site at all

Otto Sykora
Basel, Switzerland

Gord Caswell
Gord Caswell's picture
Offline
Last seen: 4 months 1 week ago
DeveloperModerator
Joined: 2008-07-24 18:46
Dynamic IP

I would note that I occasionally, although overall very rarely, get the picture captcha rather than the check mark, and I can only surmise that it is due to using an ISP that issues dynamic IP addresses.

Based on my history here, I clearly don't fit into the categories above, not would my physical location flag me for increased scrutiny either (A smaller city in Canada, for those whom are wondering).

Lastly, when I was using a JS blocker a while back, I'd consciously unblocked for this site.

Perhaps some users are randomly receiving the picture captcha in a similar manner?

helladaur
Offline
Last seen: 5 months 1 week ago
Joined: 2017-11-29 04:02
Google CAPTCHA

If you get that simple checkbox it means Google is almost 100% sure it is you, i.e. they can track you around the Internet. They might use your IP as well but primarily it is about cookies and browser fingerprinting. So either you make it easy for them to track you, or they torture you with long series of captchas.

For more background, you might want to read this:
https://www.blackhat.com/docs/asia-16/materials/asia-16-Sivakorn-Im-Not-a-Human-Breaking-the-Google-reCAPTCHA-wp.pdf

ottosykora
Offline
Last seen: 1 day 8 hours ago
Joined: 2007-10-11 17:48
should be banned

that is why this malware should be banned from all decent websites

Otto Sykora
Basel, Switzerland

John T. Haller
John T. Haller's picture
Online
Last seen: 7 min 33 sec ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Menu Location

At present, the menu does not detect resolution changes on Windows, so when the resolution changes, its position remains the same. In a future release we'll likely add the ability for it to pin on resolution changes.

Sometimes, the impossible can become possible, if you're awesome!

helladaur
Offline
Last seen: 5 months 1 week ago
Joined: 2017-11-29 04:02
I did work before

What I'm saying is that a very old version of PortableAppsMenu was handling resolution changes correctly. Unfortunately I do not have the exact version number as the binary was overwritten. (All I know is that the menu was dark-red and color could not be changed IIRC), A developer should be able to find out how it was done by looking at the code from around 5 years back Wink

For me this issue is very annoying because I have resolution changes several times a day when switching between desktop monitor and laptop display.

John T. Haller
John T. Haller's picture
Online
Last seen: 7 min 33 sec ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Never Added

I wrote the code in the menu. It's never supported moving in conjunction with a resolution change. You need to specifically have Windows tell you when a resolution change occurs and then manually move the form in code based on a position it was in before.

Sometimes, the impossible can become possible, if you're awesome!

helladaur
Offline
Last seen: 5 months 1 week ago
Joined: 2017-11-29 04:02
Hmm

Ok, thanks for the feedback. When I have the time I will dig for the old binary in a backup and retry.

Wouldn't it be possible to specify the position of the menu relative to the task bar; such that the X position is aligned with the RHS of the screen and the Y position such that the bottom of the menu is at the top of the task bar?

John T. Haller
John T. Haller's picture
Online
Last seen: 7 min 33 sec ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Not the way it works

You spawn a form and it just is where it is. You don't set a relative position to the window. I have code that monitors position changes so it can snap to the edges of the screen but that's it. To do what you want, I need to trap resolution changes within Windows and the calculate about where the menu was and move to a similar location. I'd likely use similar logic to the way it saves form position on close (9 positions, top/center/right horizonal and top/middle/bottom vertical) but have to have it remember whenever you move it. Then, on resolution change do the same thing. Calculating out monitor width and height and subtracting our menu width and height to approximate center/middle and right/bottom as it does on menu startup.

Sometimes, the impossible can become possible, if you're awesome!

Drazick
Offline
Last seen: 1 week 3 days ago
Joined: 2010-09-06 06:36
What About an Option for a Simple Reset

What about an option to simply reset its location?
Just make it think it is the first time it is launched and reposition itself to default.

helladaur
Offline
Last seen: 5 months 1 week ago
Joined: 2017-11-29 04:02
Good point

I think the old version that I was using before could not be moved at all (at least I never did that).

Why not introduce a config option "moveable menu". If not selected, always "reset" the menu position each time the menu is displayed, i.e. show it in its default position?

John T. Haller
John T. Haller's picture
Online
Last seen: 7 min 33 sec ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Fixed Lower Right

Very early versions of the menu were fixed to the lower right.

Sometimes, the impossible can become possible, if you're awesome!

John T. Haller
John T. Haller's picture
Online
Last seen: 7 min 33 sec ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
See Above

To accomplish what you want, I have to do what I posted above. It has to trap Windows' resizing messages and then move to a relative position based on where it was. It could move to where it was on start, but that would be unfriendly to the user (starts in the bottom left, user moves it to the top right, resolution changes and it moves back to the bottom left) and would only save a few lines of code.

Sometimes, the impossible can become possible, if you're awesome!

Drazick
Offline
Last seen: 1 week 3 days ago
Joined: 2010-09-06 06:36
Nope

Let's say I install the PA.c on 2 different computers with different resolution.
Will the menu be shown, at first launch, on the same relative location (Bottom right corner)?

If it does, all I ask is option to click a button which relaunches the menu as it was launched at first.
I guess there is a configuration file / registry somewhere which keeps its last position or something.
All I ask is option to make it launch as it was the first time the panel ever launched (Position wise).

Moreover, a very needed feature is ability to export / import list of programs.
Let's say I want to have 2 computers with identical programs from the suite.
I want to export from one, import to another (Let's say clean installation) and the program will automatically download all programs in the list.

John T. Haller
John T. Haller's picture
Online
Last seen: 7 min 33 sec ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Button

It wouldn't be a button on the menu (such a specific button not used by 99% of users would be clutter), it would be a right-click option in an options menu. In which case, why not just move it. It takes just as long.

Export and import is coming in a future release as part of the ability for the updater to load custom suites of apps.

Sometimes, the impossible can become possible, if you're awesome!

Drazick
Offline
Last seen: 1 week 3 days ago
Joined: 2010-09-06 06:36
Perfect Location

I don't want to move it.
I want to be able to reset its location as it was first run.

How could be done?
Is there a file I can delete or something?

Thank You.

Drazick
Offline
Last seen: 1 week 3 days ago
Joined: 2010-09-06 06:36
Solution

A solution could be found at https://portableapps.com/node/64774.

Log in or register to post comments