-
-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Desktop icons #51
Comments
@josephjeno This is now almost done. I'm probably getting it out this weekend :) |
Ah it looks great! |
Even though added, it's still disabled by default because there's no Settings application integration yet. Hence no minor bump. * Adds desktop icon view adapter * Adds new configuration setting * Updates Desktop implementation * Adds tapper input utility
@josephjeno I've included this in the latest releases. I haven't enabled it by default still (from commit log):
Except for that, there's a few more things I need to implement:
And a bug I've found:
But, you can give it a go if you want. Just set the iconview enabled setting to And if you do let me know if there's any trouble 😄 |
Oh, and if you want to customize the directory, there's a setting for that as well: d933b8e#diff-9d9a6cd82f41984872a66a3ab0d440c4 |
@andersevenrud this is looking great, thanks very much! I know @valp124 used desktop icons in v2 avidly and will be looking forward to this. |
Our two main use cases are:
In the latest release I am able to drag both applications and files to the desktop, however nothing happens when I click them, with the exception of .txt files which do open in Textpad. I encountered the filemanager bug you mentioned, which seems to affect the top 3 entries until one of the navigation controls (back, forward, home) are pressed, at which point the top 6 entries are affected. Let me know if there is anything I can do on my end to assist, including testing, etc! |
In V2, double-clicking on a file shortcut on the desktop would prompt the user to choose an app to open this file, and then this choice would be remembered. |
I believe I forgot to put in the application chooser option here. I'll fix that :) |
This was a great pointer! I now know what the problem is: When the list updates the |
@josephjeno New @valp124 New
This comes in the next update :) |
@valp124 An edit to my last comment. I misunderstood slightly.... it currently won't "remember" the selected application when launched from the desktop because I added this option. I think I'll do the same as in filemanager where there's a context menu to manually select what app to use (in case a default one was already set). |
Update published. |
@josephjeno I've published a new branch called Full changelog:
What's left:
So, not much left to be done here before I can release a new update 😊 However, it's getting a bit late over here, so I'll have to resume this tomorrow. I'd like to hear your feedback if the drop action should always create a shortcut instead of a hard copy, and invert the behavior 🤔 |
I actually got the two last points done there and opened up this PR: #73 I'll just have to do a bit of testing, then publish this tomorrow :) |
Wow that was fast! Definitely prefer for shortcut to be the default action! We actually thought that it was creating shortcuts, I think because the original file remained, and only noticed it was copying after modifying the desktop files and realizing the originals weren't updated. Maybe the copy could be a move instead? |
@josephjeno I've now published |
@andersevenrud dude thanks so much |
No probs! :) |
The Settings ( |
Pinging @Maho91 and @plungedtoilet because you asked for things related to desktop icons. |
Hi! One question: Is possible to move desktop icons to any position? Thanks in advance. Great work! |
Hey @weeelfi. Currently that's not possible, but I actually worked on a prototype that was grid-based a while back. It's possible that I could adopt that code and add an option 🤔 |
I thought that was possible with draggable option, and store X and Y coords in shortcuts.json when release the mouse click. But you are the master ^^ |
That was basically how the prototype I made worked. All the icons was in a pre-set grid and you could set the (x,y) manually, and whenever you dragged a new one it it would occupy the first free spot. The only thing I didn't complete (at least from what I can remember) is doing automatic re-arrangement on resize. I'll have to dig it out and get back to you :) |
Good to hear. I will stay tuned! Os.js is a great work, thanks to you! |
Add back the desktop iconview.
Desktop
Ref:
The text was updated successfully, but these errors were encountered: