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

Window border stealing mouse cursor until click inside window. #10

Open
Tahinli opened this issue May 13, 2024 · 17 comments
Open

Window border stealing mouse cursor until click inside window. #10

Tahinli opened this issue May 13, 2024 · 17 comments

Comments

@Tahinli
Copy link
Contributor

Tahinli commented May 13, 2024

Hi, I encountered 2 issue:
1- When program starts it sticks to my mouse until I click.
2- I can not edit my web app.

2024-05-13.19-55-07.mp4
@elevenhsoft
Copy link
Collaborator

Thanks.

  1. It may be related to your environment, what WM are you using? We should collect some more information, probably need a fix upstream in libcosmic.
  2. That one is kind of weird. It's panicking on
    self.creator_window.app_isolated,
    this line. This value is needed for chromium based browsers and you are firefox here.
    Hmm... Did you tried to set your browser to chromium based, enable/disable isolated profile and then switch to firefox? That's my guess for now.

I will protect those values and use it safely so it will be read properly.

@Tahinli
Copy link
Contributor Author

Tahinli commented May 13, 2024

I'm using:
KDE Plasma 6 with Fedora 40
Nvidia Proprietary Driver 550.78

I tried with Brave (chromium based) and edit is working. After this I tried with firefox again and it also worked. I don't know what causes the problem in the first place.

@elevenhsoft
Copy link
Collaborator

Well, this one is really weird.
I will try to reproduce it somehow. If I won't be able. I'll just make sure it won't panic anymore when reading/creating web apps.

Anyway, I was planning to do proper tracing errors so it's definitely on the TODO list ^^ Thanks, finally I will have something to do, after pushing it to stable I was lacking ideas :)

@elevenhsoft
Copy link
Collaborator

elevenhsoft commented May 13, 2024

I'm using:
KDE Plasma 6 with Fedora 40
Nvidia Proprietary Driver 550.78

Looks like you disabled window decorations, right? If so, could you please enable it as it was and try again with 1. bug on the list?

@Tahinli
Copy link
Contributor Author

Tahinli commented May 13, 2024

I'm using:
KDE Plasma 6 with Fedora 40
Nvidia Proprietary Driver 550.78

Looks like you disabled window decorations, right?

yeah I just have border that enables when I focus a window.

@elevenhsoft
Copy link
Collaborator

It may trigger this bug. For now I'm not sure how to deal with it.

@Tahinli
Copy link
Contributor Author

Tahinli commented May 13, 2024

It may trigger this bug. For now I'm not sure how to deal with it.

I couldn't understand clearly What you mean is sticking to mouse ? or this #1

If so, could you please enable it as it was and try again with #1 bug on the list?

If you saying window is sticking to mouse when starts. I tried with enabling decorations and still persist. It's not a big deal but you know it happens.

@elevenhsoft
Copy link
Collaborator

It may trigger this bug. For now I'm not sure how to deal with it.

I couldn't understand clearly What you mean is sticking to mouse ? or this #1

ahh, sorry for confusion. Sometimes I'm just typing too fast, faster than I'm thinking ^^
I was meaning the first bug on your list, not the linked one. Sorry

If you saying window is sticking to mouse when starts. I tried with enabling decorations and still persist. It's not a big deal but you know it happens.

Ok. Thank you for testing. In free time I will check it on setup similar to yours and will see what can do. For now, I can't promise anything. It may be hard to fix on first place.

@Tahinli
Copy link
Contributor Author

Tahinli commented May 13, 2024

It may trigger this bug. For now I'm not sure how to deal with it.

I couldn't understand clearly What you mean is sticking to mouse ? or this #1

ahh, sorry for confusion. Sometimes I'm just typing too fast, faster than I'm thinking ^^ I was meaning the first bug on your list, not the linked one. Sorry

If you saying window is sticking to mouse when starts. I tried with enabling decorations and still persist. It's not a big deal but you know it happens.

Ok. Thank you for testing. In free time I will check it on setup similar to yours and will see what can do. For now, I can't promise anything. It may be hard to fix on first place.

I wish I could produce some logs but I don't know how to give a hint about what causes the problem for both issues.

@elevenhsoft elevenhsoft changed the title Can't Edit Window border stealing mouse cursor until click inside window. May 15, 2024
@elevenhsoft
Copy link
Collaborator

I renamed this topic.
The second issue is hard to reproduce but I will do some changes to WebAppLauncher struct.

About the first one. Let's it be here for a while. Maybe we will fix it soon, but gonna be hard.

@elevenhsoft
Copy link
Collaborator

Well, we are 3 weeks old. After many commits I updated libcosmic. I'm curious if this issue still exists. Would you be able to test it again?

@Tahinli
Copy link
Contributor Author

Tahinli commented Jun 3, 2024

Well, we are 3 weeks old. After many commits I updated libcosmic. I'm curious if this issue still exists. Would you be able to test it again?

If flatpak version has been updated, I can try.

@Tahinli
Copy link
Contributor Author

Tahinli commented Jun 3, 2024

Well, we are 3 weeks old. After many commits I updated libcosmic. I'm curious if this issue still exists. Would you be able to test it again?

If flatpak version has been updated, I can try.

Okay no need, it seems fixed to me.

@elevenhsoft
Copy link
Collaborator

Awesome, thank you for testing and reporting :)

@Tahinli
Copy link
Contributor Author

Tahinli commented Jun 9, 2024

Oh no

2024-06-09.03-33-51.mp4

@elevenhsoft
Copy link
Collaborator

I can't see the video for some reason. However I noticed it happening still, right? I was testing libcosmic app on KDE and looks like this issue still exists. We should re-open this issue.

@elevenhsoft elevenhsoft reopened this Jun 9, 2024
@Tahinli
Copy link
Contributor Author

Tahinli commented Jun 9, 2024

I can't see the video for some reason. However I noticed it happening still, right? I was testing libcosmic app on KDE and looks like this issue still exists. We should re-open this issue.

Unfortunately

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Todo
Development

No branches or pull requests

2 participants