Coder Social home page Coder Social logo

Comments (42)

Veticia avatar Veticia commented on July 26, 2024 3

If someone knows the underlying reason or is familiar with an quest's accepted workaround / preferred method for handling drag and drop it would be appreciated.

I'm not yet willing to to make it a drop down menu if there is a more elegant way of doing this, but may eventually have to do it if no other options are possible.

from pilaunchernext.

JarJarBlinkz avatar JarJarBlinkz commented on July 26, 2024 3

@Veticia so this guy has made a workaround which i think is better than the drag and drop feature you can select multiple icons and just select your category too move them too all at once

I fixed this in Linked Here by just...not using dragging. It's actually not a problem with the app - the Quest, for some reason, has terrible support for drag & drop.

You're more than welcome to copy my implementation.

from pilaunchernext.

niktn10 avatar niktn10 commented on July 26, 2024 2

For me, this is also a big problem. It would be great if this could be fixed somehow.

from pilaunchernext.

alexyao2015 avatar alexyao2015 commented on July 26, 2024 2

You can use adb backup, extract, edit, repackage, restore. The second option is to use run-as to execute in the shell of the package. Then execute vi from toybox to edit the preferences. Honestly both options are extremely technical and not exactly easy to do for a normal user. The second option is slightly easier.

from pilaunchernext.

superdcat avatar superdcat commented on July 26, 2024 2

I've tried to run it on emulator on android 12 (api 31), 12L (api 32) and even android 13 on real hardware (api 33) and drag-and-drop still works fine. Must be an issue with quest specifically. Does drag and drop work in other apps (no piLauncher derivatives)?

So, is it possible to add a drop down menu until you find a pretty solution ?

from pilaunchernext.

JarJarBlinkz avatar JarJarBlinkz commented on July 26, 2024 2

from pilaunchernext.

JarJarBlinkz avatar JarJarBlinkz commented on July 26, 2024 1

from pilaunchernext.

JarJarBlinkz avatar JarJarBlinkz commented on July 26, 2024 1

@alexyao2015
yeah the single line of code ha ha

just thought i would ask for other users not myself

from pilaunchernext.

alexyao2015 avatar alexyao2015 commented on July 26, 2024

You don't need to remove the drag and drop functionality. You can just add a drop down menu to the long press on the app outside of editing mode (the drag and drop long press doesn't work) as a temporary fix so it's at least usable.

from pilaunchernext.

Thoms04-source avatar Thoms04-source commented on July 26, 2024

It would be pretty epic if there is a workaround. Cuz like Alexyao I need to move games/apps to the correct folders in order to make sense of my library, and atm that functionality isn't working. As of v51 oculus the device is on android 12. Android 12 includes a new drag and drop API.

Chatgtp gave me 2 suggestions that might be worth to check out.

1.The new API requires that you explicitly set a drag start point using startDragAndDrop() method. In the startDragAndDrop() method, you can set the x and y offset to zero.
Example:
view.startDrag(dragData, shadowBuilder, view, 0);
to
view.startDragAndDrop(dragData, shadowBuilder, view, 0, 0, 0)

  1. Chatgtp response: ' One possible reason why drag and drop functionality might have stopped working after upgrading to Android 12 is that the operating system has introduced changes to the way touch events are handled. Specifically, Android 12 introduces a new feature called "Touch Accommodation" which can impact drag and drop behavior.
    To fix the issue, we can try adding a touch listener to the view that allows for drag and drop.

Note: I am a product manager, not a developer, so above are just suggestions that might help you forward and they might not :)

from pilaunchernext.

Veticia avatar Veticia commented on July 26, 2024

@Thoms04-source

The new API requires that you explicitly set a drag start point using startDragAndDrop() method.

It would be nice to get to the source of that information. No source I could find mention anything like that changing.

from pilaunchernext.

Veticia avatar Veticia commented on July 26, 2024

I've tried to run it on emulator on android 12 (api 31), 12L (api 32) and even android 13 on real hardware (api 33) and drag-and-drop still works fine. Must be an issue with quest specifically. Does drag and drop work in other apps (no piLauncher derivatives)?

from pilaunchernext.

alexyao2015 avatar alexyao2015 commented on July 26, 2024

Yeah honestly I built a couple different variations to try it on there including trying startDragAndDrop and looking for motion up events and both were not working... I'll see if I can find something else, but a drop down menu would be a nice to have even if we do get the drag and drop working again. It would also be better than my current workaround of manually editing the shared preferences xml (huge pain btw).

I found one option that might work which is using androidx drag and drop but not too hopefully since those are just overlays on the base API.

from pilaunchernext.

niktn10 avatar niktn10 commented on July 26, 2024

manually editing the shared preferences xml

How do you do it? How can I access this file and where is it located? In the absence of other options, I would use this one.

from pilaunchernext.

JarJarBlinkz avatar JarJarBlinkz commented on July 26, 2024

This is what is happening when starting drag and drop i have also raised this with oculus as i think you are correct that it is purely oculus related and only started doing this after upgrade to v51 ptc release of android 12 also has the same issues with dreamgrid and pi launcher but all seem to work fine on android 10 v50 public release

https://youtube.com/shorts/6WWX51ascIk?feature=share

from pilaunchernext.

KevORulz avatar KevORulz commented on July 26, 2024

I made an account just to thank the developer of this great launcher. It's amazing. I also want to add that the folder/organizing/drag&drop of the apps is a really useful feature I miss a lot from the <v50 era. None of the fork launchers I've tried after the original Pi launcher seem to have surpassed that bug. I hope you guys can solve that issue soon! Thankful greetings. :)

from pilaunchernext.

alexyao2015 avatar alexyao2015 commented on July 26, 2024

FYI I took those changes and ported it over here. I probably won't be updating this any further since it works well for me atm.

https://github.com/alexyao2015/PiLauncherNext/releases/tag/1.1.3

alexyao2015/PiLauncherNext@d7ee941...1.1.3

from pilaunchernext.

JarJarBlinkz avatar JarJarBlinkz commented on July 26, 2024

@alexyao2015 Very nice job porting the changes over from lightining launcher works very well indeed.

The only issue is the launcher force closes when trying to move anything to the hidden tab not a big issue i can work with what you have done just a heads up before someone else points it out

from pilaunchernext.

alexyao2015 avatar alexyao2015 commented on July 26, 2024

Are you sure you're using 1.1.3? That was a bug that I fixed in that version. 1.1.2 had that bug.

from pilaunchernext.

alexyao2015 avatar alexyao2015 commented on July 26, 2024

Haven't seemed to find a way to do drag and drop using a native Android UI, but it seems using something like webview + scrollablejs would work well. Problem is it requires a pretty sizable rewrite.

from pilaunchernext.

JarJarBlinkz avatar JarJarBlinkz commented on July 26, 2024

from pilaunchernext.

KevORulz avatar KevORulz commented on July 26, 2024

Are you sure you're using 1.1.3? That was a bug that I fixed in that version. 1.1.2 had that bug.

Did you put that version away? I wanted to try the fix but now version 1.1.1 appears to be the latest available. I didn't get the chance to try 1.1.3.

from pilaunchernext.

KevORulz avatar KevORulz commented on July 26, 2024

Use this link it is a fork of veticia pilaunchernext https://github.com/alexyao2015/PiLauncherNext/releases/tag/1.1.3

On Wed, 31 May 2023, 06:48 KevORulz, @.> wrote: Are you sure you're using 1.1.3? That was a bug that I fixed in that version. 1.1.2 had that bug. Did you put that version away? I wanted to try the fix but now version 1.1.1 appears to be the latest available. I didn't get the chance to try 1.1.3. — Reply to this email directly, view it on GitHub <#4 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AY45TIAAU4GFSOOZ7DWEJNTXI3LULANCNFSM6AAAAAAXNJZQE4 . You are receiving this because you commented.Message ID: @.>

Thanks for the heads up. I'm trying this later tonight. Would you say it is a definitive solution?

from pilaunchernext.

KevORulz avatar KevORulz commented on July 26, 2024

Use this link it is a fork of veticia pilaunchernext https://github.com/alexyao2015/PiLauncherNext/releases/tag/1.1.3

On Wed, 31 May 2023, 06:48 KevORulz, @.> wrote: Are you sure you're using 1.1.3? That was a bug that I fixed in that version. 1.1.2 had that bug. Did you put that version away? I wanted to try the fix but now version 1.1.1 appears to be the latest available. I didn't get the chance to try 1.1.3. — Reply to this email directly, view it on GitHub <#4 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AY45TIAAU4GFSOOZ7DWEJNTXI3LULANCNFSM6AAAAAAXNJZQE4 . You are receiving this because you commented.Message ID: @.>

I have tried and tested the fork by @alexyao2015 and I must say it is almost the definitive solution of having a succesor for PiLauncher.
Managing apps in groups finally works not by dragging and dropping, but instead just pointing and clicking to select the apps and then doing the same to target and send the apps to the destination file. It works like charm.

The only issue I would like to have addressed is that the screen can not be resized up or down. This would be fabulous to have, because once a library stacks up with titles, it is easier to visualize more/all of them in a bigger screen other than the default rectangle size of a stock app. That would also help to have more groups of apps and easily visualize the name of each of them.

I know it might sound nit-picky, it certainly is a small detail, but it would be the cherry on the top of a rather perfect successor of the original PiLauncher.

Thank you very much to all devs involved into these forks, fixes and alternatives. @Veticia @

from pilaunchernext.

JarJarBlinkz avatar JarJarBlinkz commented on July 26, 2024

The only issue I would like to have addressed is that the screen can not be resized up or down. This would be fabulous to have, because once a library stacks up with titles, it is easier to visualize more/all of them in a bigger screen other than the default rectangle size of a stock app. That would also help to have more groups of apps and easily visualize the name of each of them.

@KevORulz

What headset are you using as it can be resized on quest with no issues.

If you are using pico then i would suggest taking a look at barnabwhys picozen Launcher as it is mainly targeted at pico but has quest support also has many other features like Ftp, Webdav and Smb support built within the launcher itself.

he also has a discord channel and is quite happy to discuss features and improvements Invite Link

from pilaunchernext.

KevORulz avatar KevORulz commented on July 26, 2024

The only issue I would like to have addressed is that the screen can not be resized up or down. This would be fabulous to have, because once a library stacks up with titles, it is easier to visualize more/all of them in a bigger screen other than the default rectangle size of a stock app. That would also help to have more groups of apps and easily visualize the name of each of them.

@KevORulz

What headset are you using as it can be resized on quest with no issues.

If you are using pico then i would suggest taking a look at barnabwhys picozen Launcher as it is mainly targeted at pico but has quest support also has many other features like Ftp, Webdav and Smb support built within the launcher itself.

he also has a discord channel and is quite happy to discuss features and improvements Invite Link

Oh, really? I am using Quest 2 and the 1.1.3 fork version by alexyao2015. It does not allow me to resize the app. I just get a black screen after shrinking or enlarging the screen. Lightning Launcher does allow me resize, but it has some bugs that make me prefer PicoLauncher Next by Veticia with the fix by alexyao2015.

I do use PicoZen on my Pico 4 and I enjoy it. I have some issues with the new updates they rolled out as well, but that's another topic and I have tried to let them know on the issues tab in their GitHub. Badically I had to downgrade for it to work with the library shortcut.

from pilaunchernext.

JarJarBlinkz avatar JarJarBlinkz commented on July 26, 2024

@KevORulz use the messenger shortcut if you use explore you cant resize or if you open it from unknown sources it will resize without going black screen it is a known bug was always the same in original Pilauncher as well

from pilaunchernext.

alexyao2015 avatar alexyao2015 commented on July 26, 2024

Speaking of that shortcut, how do you use it? I haven't been able to get it working. I don't see a messenger app preinstalled and I couldn't find one to install so I couldn't get it to show up in the launcher.

from pilaunchernext.

JarJarBlinkz avatar JarJarBlinkz commented on July 26, 2024

from pilaunchernext.

alexyao2015 avatar alexyao2015 commented on July 26, 2024

I don't see it at all when I search in the store.

from pilaunchernext.

KevORulz avatar KevORulz commented on July 26, 2024

@KevORulz use the messenger shortcut if you use explore you cant resize or if you open it from unknown sources it will resize without going black screen it is a known bug was always the same in original Pilauncher as well

Hey there, man.
Are we speaking of the same app? PiLauncherNext 1.1.3 by Veticia fixed by alesya1015. In that one, it uses explorer as a shortcut.
The one that uses Messenger for a shortcut is Lightning Launcher, which is also good but has a couple of problems organizing into groups.

Yesterday I ran some more tests. I figured out that when I use my secondary account (I run a multi-user set up where my personal account is actually the secondary one) it would just not allow me to resize the screen. Whereas using the device owner account (main one, from a friend of mine with a couple of good apps he kindly shares with me), it can resize the screen with no problem whatsoever.

That is what I found yesterday. It's kinda frustrating how secondary accounts don't get some full features of the headset, like pairing up with a cellphone app, can't cast to it, can't use Quest Game Optimizer, and in this very particular case, seemingly can't resize the screen of this app.

I will try the fixes you just gave me. I actually do use the "explore" shortcut. So... I will try either opening from unknown sources or trying to attach it to "Messenger", like Lightning Launcher does. Any heads up in how to bind the messenger into opening PiLauncherNext?

from pilaunchernext.

JarJarBlinkz avatar JarJarBlinkz commented on July 26, 2024

@alexyao2015

for some reason i cant create an issue on your fork but is there any way you may be able to fix all system apps showing in v1.1.13 after you fixed hidden items crash all sysyem icons now show some under apps and some in tools but there are around 12 of them that are no longer hidden like in your original fork with move changes ported over

from pilaunchernext.

alexyao2015 avatar alexyao2015 commented on July 26, 2024

I did that on purpose. You can always move them to the hidden group

from pilaunchernext.

alexyao2015 avatar alexyao2015 commented on July 26, 2024

@Johnr79 so do you have a link to the fb messenger to get the shortcut working? Because I still haven't figured out which app this is. I don't see it anywhere.

from pilaunchernext.

alexyao2015 avatar alexyao2015 commented on July 26, 2024

I enabled issues in my fork btw. Don't expect any real updates there though. I might consider a full rewrite of the ui in vue in the future though.

from pilaunchernext.

JarJarBlinkz avatar JarJarBlinkz commented on July 26, 2024

from pilaunchernext.

alexyao2015 avatar alexyao2015 commented on July 26, 2024

I know where to find it. It's just that I can't find the app that I need to download to get it to show up in the universal launcher. I don't see anything called Facebook messenger in the store

from pilaunchernext.

JarJarBlinkz avatar JarJarBlinkz commented on July 26, 2024

@alexyao2015

I posted a different one here. this is a shortcut using the vr animation player

launcher shortcut link is only 24 hrs

download

from pilaunchernext.

alexyao2015 avatar alexyao2015 commented on July 26, 2024

That's fine but how do you get that pinned? I can't seem to get anything pinned.

from pilaunchernext.

JarJarBlinkz avatar JarJarBlinkz commented on July 26, 2024

from pilaunchernext.

alexyao2015 avatar alexyao2015 commented on July 26, 2024

What version are you on? I don't see that option. I'm on v54.

from pilaunchernext.

JarJarBlinkz avatar JarJarBlinkz commented on July 26, 2024

from pilaunchernext.

Related Issues (15)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.