-
Notifications
You must be signed in to change notification settings - Fork 39
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
crosspaste cannot display the window in my environment for some reason #1790
Comments
Based on the logs, there don't seem to be any specific exceptions. Are you using multiple displays? |
在我的MAC机上运行是正常的,但是在windows 10上不知道为什么显示不了,MAC上还看的到windows的机器,但无法查看token,所以无法验证。 |
It runs normally on my MAC machine, but I don’t know why it cannot be displayed on Windows 10. I can still see the Windows machine on my MAC, but I cannot view the token, so I cannot verify it. |
是的,进程都是OK的,很奇怪,这是我操作的视频 QQ.20240904163741.mp4 |
Yes, the processes are all OK. It’s strange. This is a video of my operation. QQ.20240904163741.mp4 |
@lzqwebsoft, It looks like there might be a bug in the compose-multiplatform UI rendering. It will take some time to investigate why this is happening. |
@lzqwebsoft, To be honest, I can't reproduce this issue on my device, and there's no relevant exception information in the logs. I don't have any good ideas to solve this problem right now. I need some time to investigate the possible causes. 😂 |
Thank you for taking the time to answer my question. ❤❤❤❤I downloaded the latest version on other Windows 10 machines and found it was feasible, but it still didn't work on this machine. I tried the method you mentioned above. I reinstalled Chrome and crosspaste, but it was still the same. I couldn't seen UI. It was really confusing.😢,Thank you for open-sourcing such a good tool software。 |
@lzqwebsoft. Thank you for your patience in providing these error messages and helping with troubleshooting. This info is not only valuable for addressing your specific issue but can also assist other users who might encounter similar problems. Your contribution is helping the software grow and improve. It appears that your machine doesn't have integrated graphics, which explains why there's no difference between power-saving and high-performance modes. In light of this, updating your graphics card drivers might be helpful in resolving the issue. |
In this case, the best solution would be to seek help from the compose-multiplatform community. I need to create a simple reproduction demo to submit to the community. |
Tell me how I can help. |
No rush. I need time to make a reproduction demo. I'll notify you when it's done. If you can reproduce the issue on your device, a short video (a few seconds) would be helpful to draw the compose-multiplatform community's attention to this bug. |
I don’t know if this short video will help: QQ.20240906150424.mp4 |
The current crosspaste codebase is too large, and they are reluctant to extract the UI code for analysis. This is why I need to create a simple, reproducible demo that focuses solely on the UI. This will help them identify the issue more easily. |
Oh oh got it |
@lzqwebsoft . I have created a demo. On machines where the UI cannot be displayed, run the following commands to check if the UI can be shown:
|
@lzqwebsoft Thank you very much. This information is very helpful. |
You're welcome. Glad to help.😊👍❤👍 |
In the Compose Multiplatform community, an issue was created: https://youtrack.jetbrains.com/issue/CMP-6639/Creating-a-transparent-undecorated-window-results-in-no-visible-display
|
@lzqwebsoft https://github.com/CrossPaste/UIBugValidator/blob/a2b4511d5f1f75504b7f321463188211e0dc4dc4/composeApp/src/desktopMain/kotlin/com/crosspaste/verify/main.kt#L12 https://youtrack.jetbrains.com/issue/CMP-6639 |
Since I don't have an account, I'll reply to you directly. The code: package com.crosspaste.verify
import androidx.compose.ui.window.Window
import androidx.compose.ui.window.application
fun main() = application {
Window(
onCloseRequest = ::exitApplication,
title = "UIBugValidator",
alwaysOnTop = true,
undecorated = true,
transparent = false,
resizable = false,
) {
App()
}
} The result is show the windows: QQ.20240909175940.mp4 |
How frequently does the bug occur?
-- select --
Description
windows10环境,附上我的日志
crosspaste.log
Stacktrace & log output
No response
Can you reproduce the bug?
Always
Reproduction Steps
No response
Version
crosspaste-1.0.7-891.x64.msix
OS
Windows10
The text was updated successfully, but these errors were encountered: