Skip to content
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

Console Output Copy Does Nothing On Windows #61

Open
rat-moonshine opened this issue Feb 15, 2023 · 8 comments
Open

Console Output Copy Does Nothing On Windows #61

rat-moonshine opened this issue Feb 15, 2023 · 8 comments
Assignees
Labels
bug Something isn't working enhancement New feature or request
Milestone

Comments

@rat-moonshine
Copy link

rat-moonshine commented Feb 15, 2023

SHI version: 0.8.12
Tested on Windows 10, clicking on Copy button in console output view, clipboard pastes only [ character.

@Igazine Igazine closed this as completed Apr 20, 2023
@JoelProminic
Copy link
Contributor

I'm still seeing this issue when I test with v1.8.13 Development on macOS Monterey. The original issue was for Windows, but this has been a known issue for a while.

This is not urgent, but I do find it useful if I need to debug an error. For example I got another cross-certificate error today ("The server's Domino Directory does not contain any cross certificates capable of authenticating you"), and I want to check if the cross-certify command failed silently.

I tried to workaround this by selecting and copying the output, but CMD-A does not work, and I don't see any other selection options.

Another possible backup option would be to save the console output to a log file

@JoelProminic JoelProminic added bug Something isn't working enhancement New feature or request labels Aug 18, 2023
@JoelProminic JoelProminic added this to the v0.8.19 milestone Aug 18, 2023
@JoelProminic
Copy link
Contributor

This is still causing trouble for me:

  • The output is huge, so I would like to be able to search for specific tasks (i.e. cross-certification) in a text editor)
  • I would like to be able to copy the output, or parts of the output, when reporting problems that occurred with the build.

@JoelProminic JoelProminic reopened this Aug 18, 2023
@piotrzarzycki21 piotrzarzycki21 modified the milestones: v0.8.19, 0.8.20, 0.8.21 Aug 23, 2023
@piotrzarzycki21
Copy link
Contributor

@JoelProminic I'm not sure what has changed, but I cannot reproduce this issue anymore. I tried on my macOS Ventura and Windows 11 - every time copy works. Maybe updating framework helps. Test when you have a chance.

@piotrzarzycki21
Copy link
Contributor

My debugging is pointing to the line from openfl which copy for us stuff: openfl.system.System.setClipboard( e.data );
When we are putting large amount of text it's starting to copy that "[" nothing more, so I will try to change copy/paste method.

@JoelProminic
Copy link
Contributor

I started a test for this yesterday, and I confirmed that the Copy button was working for me while the provisioning was running. However, the application crashed (#95) before I checked back on it, so I didn't get a chance to test this after the provisioning had completed. I'll start another test.

@JoelProminic
Copy link
Contributor

JoelProminic commented Aug 31, 2023

I confirmed that Copy only gives [ when I use it after the provisioning has completed. I didn't see any obvious errors in the log that would explain this.

While the provisioning was running I checked at least twice and confirmed that Copy worked. I wasn't checking periodically to see when it stopped working, though.

@JoelProminic
Copy link
Contributor

It would probably be useful to have the console output automatically written to a file (console.log, rotating like the other log files). This would let us work around the Copy issue above, and it could also be checked after a crash.

@JoelProminic
Copy link
Contributor

@piotrzarzycki21 reports that Copy to Clipboard is working at every step until the provisioning finishes. It is probably worth retesting this with the recent changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants