Drag Menus

From WebOS Internals

Revision as of 21:37, 25 July 2009 by Rennat (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

How to allow dragging through the App Menu and Device Menu to open them

Hi guys. One of the big annoyances of mine was that the App Menu and Device Menu are a pain to hit. I have trouble hitting them all the time.

This fix provides a way to drag your finger down from the top of the screen through the menus to open them.

In /usr/lib/luna/system/luna-systemui/app/controllers/bar-assistant.js:

1. Scroll down to the first instance of 'appmenu'. Directly below it you should see 'devicemenu' as well.

2. By default, both of these menus only respond to taps. Let's copy both of these lines and paste them directly below the original ones. I had issues with spaces between them, so just to be sure everything works, don't leave any blank lines. In the copied lines change mojo-tap to mojo-drag-start.

After that, you should be able to drag your finger through the status bar menus to open them.

Enjoy! -Mike dg

Concerns

I somehow messed this up originally due to a blank line or screwy VI. I was still able to boot the phone up, albeit without status bar. So this looks low risk.

+1 I tried this and rebooted and was left with no status bar as well

Major Bugs

I got the whitebar originally, then kept all four lines (tap+drag), then after reboot and //tap on launcher//, my phone is no longer response or opening any screen now.

If you don't do that operation (tap on launcher) while on the initial screen, everything will be okay. HT

No issues when pyrognome tested this.

Personal tools
Google AdSense