hellosystem / dock Goto Github PK
View Code? Open in Web Editor NEWApplication dock
License: GNU General Public License v3.0
Application dock
License: GNU General Public License v3.0
When a GUI application is not started from a desktop file but e.g., from a shell script (or from an .app bundle or .AppDir directory), then the application icon is not shown correctly in the Dock.
Also, the icon is shown in the Dock only after the application has finished loading and is showing a window. For large applications it can take a few seconds until the application is fully loaded. Doring this time, no icon is shown in the Dock.
I would like a behavior more like the Mac:
For this we need:
For example like this:
For 1. and 2. Whenever something (e.g., the file manager, a shell script, an .app bundle, etc.) launches an application, then it sends a D-Bus message to the Dock, containing the process ID (PID) and an URI (file:///) to the icon file
For 3. the Dock can look up _NET_WM_PID for each new window. If it matches the PID above, then stop the launch icon animation and show the non-animated icon instead
Or is there a simpler way to achieve this without the need for D-Bus?
Upstream ticket: cyberos/cyber-dock#9
Hi all, really enjoying the simplicity of this project.
One thing I just ran into is that I put Firefox pinned to the dock, but it won't launch when I open it from there. Other applications I tried seem to work fine. But for some reason, Firefox will launch just fine from the terminal, or from the System menu, but not from the dock.
Also, is there some way to rearrange the items in the dock without removing them all and then adding them again?
Thanks!
Backport window minimize/unminimize animation from cyber-dock:
I accidentally unpinned Falkon from the dock. After re-pinning, it would not launch. If it’s already open, I can use Dock to switch to it. I investigated the file “/home/darko/.config/cyberos/dock_pinned.conf” and found that the Exec field was missing:
[Falkon]
DesktopPath=
Exec=
IconName=falkon
Index=5
visibleName=Falkon
I manually reset it using featherpad:
[Falkon]
DesktopPath=
Exec=falkon
IconName=falkon
Index=5
visibleName=Falkon
And now it works. I’ve since recreated this with other apps, and same pattern occurs.
The Dock can appear on another scren than the primary screen (the one that has the Menu).
https://github.com/cutefishos/dock/blob/main/src/mainwindow.cpp does quite some trickery with timers and whatnot to react to changes in screen geometry.
Describe the bug
Applications in "Developer Preview" cannot be pinned
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Application opens
Screenshots
https://youtu.be/o3z9QnMTLm8?t=522 (thanks Tyler's Tech)
Version (please complete the following information):
cat /.url
): 0.5.0AppDir/.DirIcon
is not being shown in some cases (I suspect this happens when AppRun
executes the main payload application without an absolute path).
.app/Resources/*.png
is working.
Start pulsating ("breathing", fade in, fade out, fade in, fade out,...) the dot when as soon as an app is launched by clicking on the icon in the Dock.
Some apps take many seconds until they show a window on the screen. During this time, the Dock should show that the computer is working.
Stop pulsating and make the dot solid color once app loading is complete (as it is now).
cc @reionwong
On a FullHD display, if one switches to e..g, 1024x768, then the Dock is not relocated automatically.
Need to check with https://github.com/cyberos/cyber-dock whether it is better there.
Right-click on Dock icon of an application that has multiple windows open should list those windows in the context menu, and make it possible to select one of the windows from the context menu to bring it to the font.
Opened a feature request upstream: cyberos/cyber-dock#21
Clicking the Trash icon in the dock does not open a window to Trash.
Dataloss: using the context menu for a move to Trash does not move; what should have been moved is lost.
Consider switching to CutefishOS Dock
Advantages:
Direction=0
[General]
Direction=0
IconSize=48
RoundedWindow=false
Style=0
Visibility=0
But:
QDBusInterface iface("com.cutefish.Session", "/Session", "com.cutefish.Session", QDBusConnection::sessionBus());
- what is this for?RoundedWindow=false
has no effectBlocked by:
cutefishos/dock#10
The dock should:
From helloSystem/ISO#18 (comment):
https://www.youtube.com/watch?v=PlPTVbhrKYM&lc=UgzrBzuJGhRHkAUSiW94AaABAg:
I hope we still get the configuration choice, … auto hiding the dock, …
Pinning applications installed with pkg does not work.
We should not offer to pin applications in Dock that are not .app
/.AppDir
bundles (or we need to make it work).
Source (around 12:30):
https://www.youtube.com/watch?v=vdbI6RAUDHY
May be related to #8.
Please add a optinal setting to make everything bigger because it is to small and i cannot see it. i would like to be able to make everything bigger as a whole. bascily everything needs to be 3x 4x bigger. This will be good for older people and disabled people thank you
The desktop is already used for icons of files and shortcuts/aliases etc, the dock should be used only for running programs.
Currently, the dock duplicates desktop functionality.
This is an interesting article that describes the development of the task bar on Windows 95, from "plates" (icons on the desktop for minimized running programs) to the development of the task bar.
https://socket3.wordpress.com/2018/02/03/designing-windows-95s-user-interface/
The dock could be a Windows 95 like taskbar without the start/applications menu which could be located on the universal menu bar like in system 7 (instead of the apple icon it should be titled applications or programs).
The dock should have the title of the running program always visible.
Every time I click on a running application's icon, it plays the "zoom and fade" animation for starting applications. While this looks fun, it certainly doesn't make a whole lot of sense. This happens when you have two or more applications open and you toggle between them using the dock. It also happens when an application is minimized and you click it's icon in the dock to un-minimize it.
We get strange artifacts before the initial "appear from the bottom" animation.
See the video series on Qml, maybe it is helpful.
https://www.youtube.com/watch?v=9u3aV2OYPyA
Especially how to use GammaRay to debug Qml animations:
https://www.youtube.com/watch?v=iwazd7RsFIw
Unfortunately this tool is not available for FreeBSD yet?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.