-
Notifications
You must be signed in to change notification settings - Fork 827
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
Sped up extremely slow loading of Cropper and context menus #1208
base: main
Are you sure you want to change the base?
Conversation
I just pulled this fork and built locally. I discovered three issues:
The multi-monitor issue is a big one. Maybe I have something goofed with my Electron build? I basically "yarn" and "yarn run pack" Otherwise. Fantastic effort! If I get time later, I might try and pinpoint these issues locally. |
I'll have a new build today with fixes for the 2nd one :)
…On Wed, 14 Feb 2024 at 14:47, Sean Aitken ***@***.***> wrote:
I just pulled this fork and built locally. I discovered three issues:
- Shortcut wouldn't work (although I think it's because I didn't
create a signed build) on MacOS
- It only worked on one of my monitors (I have three total - including
my Macbook)
- It started immediately with the rectangle selection engaged
The multi-monitor issue is a big one. Maybe I have something goofed with
my Electron build? I basically "yarn" and "yarn run pack"
Otherwise. Fantastic effort! If I get time later, I might try and pinpoint
these issues locally.
—
Reply to this email directly, view it on GitHub
<#1208 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AMX7PNEY7LUFVXCZ3ECQJUTYTTE67AVCNFSM6AAAAABDHLFC6GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNBTHE2TGMBYGM>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
@michaeljelly can you rebase with |
Hyped! |
Tested latest code. Couple of issues: sean@SAITKEN-MAC Kap % yarn run pack
> kap@3.6.0 build
> yarn build-main && yarn build-renderer
command not found: export Also, there's a bunch of console.log() that was added.. Might want to remove, or switch to a logger (if there is one already in the codebase) UPDATE: I fixed the build issue by removing "export" from the npm script. However, two things:
|
Yep sorry I was getting errors without adding the NODE_OPTIONS, building seemed to work when I added the export on Mac but not when I just had it as above. @CleverCoder I thought that was expected behaviour, is it not? I believe I have now fixed the shortcuts issue and may have fixed the multiple monitors. Will rebase now and then we can see what's left to do. |
rebased @karaggeorge |
CircleCI build failed with this error: onHosts.watchOS of plug-in com.apple.dt.IDEWatchSupportCore Error: Cannot find module '/Users/distiller/project/.yarn/releases/yarn-1.22.21.cjs' Exited with code exit status 1 |
This is the current behaviour, correct @michaeljelly! |
yeah... going into capture mode after launch is weird. I want to have it
always running, but not make assumptions. If I launch it manually, I
expect it to sit silently in my task bar / header nav menu (whatever it's
called in MacOS) and not assume I want to make a capture until I hit the
keyboard shortcuts or clicky on a thing.
I don't recall this as existing behavior.
I'll pull the latest and run some tests tomorrow. I want this to be useful,
as the commercial options are just over the top... in terms of trying to
leech my precious $$$.... :) this is simple, and to the point, which I
respect.
Cheers!
- Sean
…On Mon, Feb 19, 2024 at 1:47 PM Christopher ***@***.***> wrote:
Upon launch, it immediately goes into capture mode
This is the current behaviour, correct @michaeljelly
<https://github.com/michaeljelly>!
—
Reply to this email directly, view it on GitHub
<#1208 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAHXFHP3RDO7OJHSHTRFTG3YUOM5DAVCNFSM6AAAAABDHLFC6GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNJTGAYTKNRXHE>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Also, tested with the latest code and it still only works on one of my monitors. I have two external monitors connected to my 2019 16" MacBook Pro, and only one of the external monitors works with this code. And I think I found another issue. I successfully performed one capture, but when I attempted to use it a second time, the selection area doesn't work, and it seems stuck in a weird errored state. After quitting and restarting Kap, it's working again, still with the weird initial selection area just being strange. Always have to click off then re-do the selection. |
Thank you @CleverCoder, to keep things moving I suggest opening a separate issue with your suggestion, and continue focusing on tackling the main culprits of the performance issues here. |
Glad to keep testing! The biggest issue (that is a regression, in this case) is the lack of supporting multiple displays. It's a deal-breaker with this change. Also, only working just one time is kind of a big deal. :) |
will anyone fix this issue for intel ~~ |
I found Kap unusably slow! The main culprits:
Unfortunately it seems my default settings have messed with tabs/spaces stuff. But anyway if you want fast-kap, here it is! Feels like a totally different app