[GH-ISSUE #30] Liking issue #25

Closed
opened 2026-03-02 23:37:26 +03:00 by kerem · 1 comment
Owner

Originally created by @joezawinul on GitHub (Jun 24, 2020).
Original GitHub issue: https://github.com/alexal1/Insomniac/issues/30

I experienced an issue, my script crash after 'double click' in the comments section instead of the actual photo/video.

My guess is that depending on the device you use, the coordinates of the action taken by the script (e.g. double click) are different. For example, I have a Huawei P30 Pro with a very big screen, the not square sized photos/videos shown a way higher than the center of my screen. Then, during the 'double click' action for liking it seems to click on the comments/description (e.g. on hashtags) when the photo/video is not square sized.

A solution may be to get dynamic coordinates from the photos/videos (or maybe to know what size they are) before 'double clicking' to adjust where the 'double click' happens.

Originally created by @joezawinul on GitHub (Jun 24, 2020). Original GitHub issue: https://github.com/alexal1/Insomniac/issues/30 I experienced an issue, my script crash after 'double click' in the comments section instead of the actual photo/video. My guess is that depending on the device you use, the coordinates of the action taken by the script (e.g. double click) are different. For example, I have a Huawei P30 Pro with a very big screen, the not square sized photos/videos shown a way higher than the center of my screen. Then, during the 'double click' action for liking it seems to click on the comments/description (e.g. on hashtags) when the photo/video is not square sized. A solution may be to get dynamic coordinates from the photos/videos (or maybe to know what size they are) before 'double clicking' to adjust where the 'double click' happens.
kerem closed this issue 2026-03-02 23:37:26 +03:00
Author
Owner

@alexal1 commented on GitHub (Aug 24, 2020):

Since of v2.0.0 double click is made exactly at the center of visible part of the photo/video.

<!-- gh-comment-id:679107541 --> @alexal1 commented on GitHub (Aug 24, 2020): Since of `v2.0.0` double click is made exactly at the center of visible part of the photo/video.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/Insomniac#25
No description provided.