-
-
Notifications
You must be signed in to change notification settings - Fork 192
Dock/TaskBar icon status with jobs progress updates #823
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
Dock/TaskBar icon status with jobs progress updates #823
Conversation
mucommander-core/src/main/java/com/mucommander/ui/main/MainFrame.java
Outdated
Show resolved
Hide resolved
mucommander-core/src/main/java/com/mucommander/ui/notifier/NotifierProvider.java
Outdated
Show resolved
Hide resolved
|
On macOS Ventura, I only see a job counter, but I don't see a progress bar. |
|
interesting :) I need to take a better look at the details though |
e2399fe to
e34f6b8
Compare
e34f6b8 to
4a61cc7
Compare
4a61cc7 to
3cf92b0
Compare
|
rebased |
@ahadas Can you take a look? Your input will be valuable, then I would try to prepare a proper PR. |
sure, sorry for not getting back to it sooner - I'll try to do it this week |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@pskowronek it may seems like a high number of comments but most of them are minor, this change looks nice overall - however as you commented inside, let's find the right place to have this bridge from the jobs to the icon's badge and progress
mucommander-core/src/main/java/com/mucommander/core/desktop/DesktopManager.java
Outdated
Show resolved
Hide resolved
mucommander-core/src/main/java/com/mucommander/core/desktop/DesktopManager.java
Outdated
Show resolved
Hide resolved
mucommander-core/src/main/java/com/mucommander/job/FileJob.java
Outdated
Show resolved
Hide resolved
mucommander-core/src/main/java/com/mucommander/job/JobProgress.java
Outdated
Show resolved
Hide resolved
mucommander-core/src/main/java/com/mucommander/ui/main/MainFrame.java
Outdated
Show resolved
Hide resolved
mucommander-os-api/src/main/java/com/mucommander/desktop/DefaultDesktopAdapter.java
Outdated
Show resolved
Hide resolved
mucommander-os-api/src/main/java/com/mucommander/desktop/DefaultDesktopAdapter.java
Outdated
Show resolved
Hide resolved
mucommander-os-api/src/main/java/com/mucommander/desktop/DefaultDesktopAdapter.java
Show resolved
Hide resolved
mucommander-core/src/main/java/com/mucommander/ui/main/MainFrame.java
Outdated
Show resolved
Hide resolved
mucommander-os-macos/src/main/java/com/mucommander/desktop/macos/OSXDesktopAdapter.java
Outdated
Show resolved
Hide resolved
3cf92b0 to
9320265
Compare
|
PR updated to address all minor comments (that I've marked as resolved). |
|
PR updated - jobs listener registration moved to |
I've just pushed a commit with workaround for that. @Andreas0602 can you check it? |
@ahadas / @Andreas0602 or anyone - do you have account on bugs.openjdk.org to add a comment to https://bugs.openjdk.org/browse/JDK-8300037 ? |
1d76ae7 to
0b38fb0
Compare
In my opinion, it looks good. Screenshot of about 99 % progress:
No, I haven't. |
ours or theirs? :) |
|
theirs |
|
Matter of taste :) However, ours is a native one, and theirs is custom painted and updated icon. |
0b38fb0 to
9f70443
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
need to drop this change
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I should remove it from PR, right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hmm, this is submodule... any hint how to revert it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've pushed a commit that reverts that change. it seems like the 'jre' submodule is not up-to-date, did you try git submodule update?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hm, it does nothing, the same with git submodule init. Previously I also tried git submodule foreach git reset --hard - it did something, but..... heck, still I don't know how come it went to commit and how it should be reverted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ah yeah, actually it means the submodule was updated because otherwise it would't have detected a change in 'jre' - did you rebase the root repo? it seems like you are missing this commit
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
minor comments, other than that lgtm
mucommander-os-api/src/main/java/com/mucommander/desktop/DefaultDesktopAdapter.java
Show resolved
Hide resolved
mucommander-os-api/src/main/java/com/mucommander/desktop/DefaultDesktopAdapter.java
Outdated
Show resolved
Hide resolved
me neither |
|
PR updated |
mucommander-os-api/src/main/java/com/mucommander/desktop/DefaultDesktopAdapter.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks @pskowronek !
note that I commented on the 'jre' thread - I think you just need to update the submodule with git submodule update
|
Version 1.3.0 that includes a fix for this issue has been released |
Added FileJobs' status updates on App Icon - under macOS in Dock or in Taskbar in Windows/Ubuntu (Unity).
getTotalPercentDoneinstead ofgetJobProgress.getFilePercentInt)Screenshot:

This is PoC - only checked on macOS Catalina.
All comments are welcomed.