ragardner / tksheet

Python tkinter table widget for displaying tabular data
https://pypi.org/project/tksheet/
MIT License
400 stars 48 forks source link

on Rpi5, OS debian bookworm, tksheet's sheet defined col-w & row-h of 10x16 cells size has slow/lagging mouse's cursor movement #207

Closed SamO6453 closed 7 months ago

SamO6453 commented 9 months ago

Hi Ragardner, we have been using tksheet ver 6.3.4 on rpi4B debian Bullseye, python3.9.2 in our application and the movements of the cursor in the table with small defined cell's area as small as wxh (17x8.5) are working great. However, after we tested/run it on new OS rpi5 debian bookworm and python3.11.2, we have noticed the cursor is moving lagging/slowly. Has anyone else seen this issue? I would like to have the source code tkhseet to debug this issue. Thanks!

ragardner commented 9 months ago

Hello,

Thanks for your report,

I suspect the relevant sections of code are the functions:

def mouse_motion(self, event):
    ...

Which are contained in the files:

Why they are causing lag under one environment but not another I am not sure

You could try commenting out the code in the functions or commenting out the line that binds those functions:

("<Motion>", self, self.mouse_motion),

which is contained within _tksheet_main_table.py

To see what happens...

But I think what I will do longer term is make it so that mouse motion is no longer bound and instead tksheet relies on <Enter> and <Leave> events. I am not 100% sure I will be able to do this however, I will update you here when I find out

SamO6453 commented 9 months ago

Hello,

Thank you for replying! Yes, commented out the ("", self, self.mouse_motion), in _tksheet_main_table.py, resolved the lagging motion on cursor issue. Yeah, it stays or caught in that mouse_motion loop trying to do resizing a little too long.

Regards, Sam

Sam Ouche Optek – Validation/Verification Engineer


TT Electronics 2900 E. Plano Parkway, Suite 200, Plano, Texas 75074, U.S.A. T: +1 972 323 2335 M: +1 214 287 1298 E: @.**@.>

From: ragardner @.> Sent: Wednesday, December 20, 2023 1:59 AM To: ragardner/tksheet @.> Cc: Sam Ouche @.>; Author @.> Subject: Re: [ragardner/tksheet] on Rpi5, OS debian bookworm, tksheet's sheet defined col-w & row-h of 10x16 cells size has slow/lagging mouse's cursor movement (Issue #207)

This email originated from outside of our organisation. Do not open attachments or click links from unknown senders or in unexpected emails.

Hello,

Thanks for your report,

I suspect the relevant sections of code are the functions:

def mouse_motion(self, event):

...

Which are contained in the files:

Why they are causing lag under one environment but not another I am not sure

You could try commenting out the code in the functions or commenting out the line that binds those functions:

("", self, self.mouse_motion),

which is contained within _tksheet_main_table.py

To see what happens...

But I think what I will do longer term is make it so that mouse motion is no longer bound and instead tksheet relies on and events. I am not 100% sure I will be able to do this however, I will update you here when I find out

— Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https:/github.com/ragardner/tksheet/issues/207*issuecomment-1864024601__;Iw!!If2bhcaqBFXF!1c8h8TXQPynEi03XIPZOhY5VpQ5xbgABcd9qasajL1jESa9FwzRj4zHTNogpEzHfTlPjGFNLPCxAgmMjI5sk2oBILdSa1A$, or unsubscribehttps://urldefense.com/v3/__https:/github.com/notifications/unsubscribe-auth/AZ7IZNTNWHI7D34YSLEIDILYKKLF3AVCNFSM6AAAAABA3W4WLCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNRUGAZDINRQGE__;!!If2bhcaqBFXF!1c8h8TXQPynEi03XIPZOhY5VpQ5xbgABcd9qasajL1jESa9FwzRj4zHTNogpEzHfTlPjGFNLPCxAgmMjI5sk2oCVckADnQ$. You are receiving this because you authored the thread.Message ID: @.**@.>>

ragardner commented 9 months ago

Hey,

I've made a change in 6.3.5. In previous versions tksheet would configure the cursor with every mouse motion, in 6.3.5 it checks the current cursor and only configures it if it needs to. However, I was unable to replace the mouse motion function

I also removed code which caused cursor change for header height and index width resizing from inside the main table, it is now slightly harder to align the cursor with their resizing lines

I am wondering if the constant calls to config the cursor were the reason it was ok under one OS and python version and not another

SamO6453 commented 9 months ago

Great! I’ll update the tksheet lib to new version, 6.3.5 and test it. Yes, I think the constant mouse motion event calls to resizing the cursor routine that causes this lagging. It will all add up delay on every pixel event changes and depending how fast the mouse changes position also while it’s in the call loop doing resize calculations and more event ques calls are pipeline; therefore, the update and redraw of cursor on new position is stuttering; I think and for not sure the intent or functionality of the mouse_motion() call and resizing is for. I think there should be another flag or enable, click event to perform the resizing, not on every x, y coordination changes. This would eat up the processing time.. thank you for updating the tksheet lib.

Regards, Sam

Sam Ouche Optek – Validation/Verification Engineer


TT Electronics 2900 E. Plano Parkway, Suite 200, Plano, Texas 75074, U.S.A. T: +1 972 323 2335 M: +1 214 287 1298 E: @.**@.>

From: ragardner @.> Sent: Wednesday, December 20, 2023 11:40 AM To: ragardner/tksheet @.> Cc: Sam Ouche @.>; Author @.> Subject: Re: [ragardner/tksheet] on Rpi5, OS debian bookworm, tksheet's sheet defined col-w & row-h of 10x16 cells size has slow/lagging mouse's cursor movement (Issue #207)

This email originated from outside of our organisation. Do not open attachments or click links from unknown senders or in unexpected emails.

Hey,

I've made a change in 6.3.5. In previous versions tksheet would configure the cursor with every mouse motion, in 6.3.5 it checks the current cursor and only configures it if it needs to. However, I was unable to replace the mouse motion function

I also removed code which caused cursor change for header height and index width resizing from inside the main table, it is now slightly harder to align the cursor with their resizing lines

I am wondering if the constant calls to config the cursor were the reason it was ok under one OS and python version and not another

— Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https:/github.com/ragardner/tksheet/issues/207*issuecomment-1864879636__;Iw!!If2bhcaqBFXF!zicgJRg-FAxRr6TkUhLxn-OeWt04LblUBgsX7Vx561W9U53SR98uDT3W7TXhConSODAip0pvapWCcDtpj81HihGKqsOH2w$, or unsubscribehttps://urldefense.com/v3/__https:/github.com/notifications/unsubscribe-auth/AZ7IZNWEJRZFUXPVCXUXTODYKMPHJAVCNFSM6AAAAABA3W4WLCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNRUHA3TSNRTGY__;!!If2bhcaqBFXF!zicgJRg-FAxRr6TkUhLxn-OeWt04LblUBgsX7Vx561W9U53SR98uDT3W7TXhConSODAip0pvapWCcDtpj81HihFd3p2MDw$. You are receiving this because you authored the thread.Message ID: @.**@.>>

SamO6453 commented 9 months ago

Sorry, have you push the 6.3.5 version into the piwheels.org yet? Or you can send me the link to the latest changes ver 6.3.5. Thanks!

Regards, Sam

Sam Ouche Optek – Validation/Verification Engineer


TT Electronics 2900 E. Plano Parkway, Suite 200, Plano, Texas 75074, U.S.A. T: +1 972 323 2335 M: +1 214 287 1298 E: @.**@.>

From: ragardner @.> Sent: Wednesday, December 20, 2023 11:40 AM To: ragardner/tksheet @.> Cc: Sam Ouche @.>; Author @.> Subject: Re: [ragardner/tksheet] on Rpi5, OS debian bookworm, tksheet's sheet defined col-w & row-h of 10x16 cells size has slow/lagging mouse's cursor movement (Issue #207)

This email originated from outside of our organisation. Do not open attachments or click links from unknown senders or in unexpected emails.

Hey,

I've made a change in 6.3.5. In previous versions tksheet would configure the cursor with every mouse motion, in 6.3.5 it checks the current cursor and only configures it if it needs to. However, I was unable to replace the mouse motion function

I also removed code which caused cursor change for header height and index width resizing from inside the main table, it is now slightly harder to align the cursor with their resizing lines

I am wondering if the constant calls to config the cursor were the reason it was ok under one OS and python version and not another

— Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https:/github.com/ragardner/tksheet/issues/207*issuecomment-1864879636__;Iw!!If2bhcaqBFXF!zicgJRg-FAxRr6TkUhLxn-OeWt04LblUBgsX7Vx561W9U53SR98uDT3W7TXhConSODAip0pvapWCcDtpj81HihGKqsOH2w$, or unsubscribehttps://urldefense.com/v3/__https:/github.com/notifications/unsubscribe-auth/AZ7IZNWEJRZFUXPVCXUXTODYKMPHJAVCNFSM6AAAAABA3W4WLCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNRUHA3TSNRTGY__;!!If2bhcaqBFXF!zicgJRg-FAxRr6TkUhLxn-OeWt04LblUBgsX7Vx561W9U53SR98uDT3W7TXhConSODAip0pvapWCcDtpj81HihFd3p2MDw$. You are receiving this because you authored the thread.Message ID: @.**@.>>

SamO6453 commented 9 months ago

NVM, I got it. Thank you sir!

Regards, Sam

Sam Ouche Optek – Validation/Verification Engineer


TT Electronics 2900 E. Plano Parkway, Suite 200, Plano, Texas 75074, U.S.A. T: +1 972 323 2335 M: +1 214 287 1298 E: @.**@.>

From: ragardner @.> Sent: Wednesday, December 20, 2023 11:40 AM To: ragardner/tksheet @.> Cc: Sam Ouche @.>; Author @.> Subject: Re: [ragardner/tksheet] on Rpi5, OS debian bookworm, tksheet's sheet defined col-w & row-h of 10x16 cells size has slow/lagging mouse's cursor movement (Issue #207)

This email originated from outside of our organisation. Do not open attachments or click links from unknown senders or in unexpected emails.

Hey,

I've made a change in 6.3.5. In previous versions tksheet would configure the cursor with every mouse motion, in 6.3.5 it checks the current cursor and only configures it if it needs to. However, I was unable to replace the mouse motion function

I also removed code which caused cursor change for header height and index width resizing from inside the main table, it is now slightly harder to align the cursor with their resizing lines

I am wondering if the constant calls to config the cursor were the reason it was ok under one OS and python version and not another

— Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https:/github.com/ragardner/tksheet/issues/207*issuecomment-1864879636__;Iw!!If2bhcaqBFXF!zicgJRg-FAxRr6TkUhLxn-OeWt04LblUBgsX7Vx561W9U53SR98uDT3W7TXhConSODAip0pvapWCcDtpj81HihGKqsOH2w$, or unsubscribehttps://urldefense.com/v3/__https:/github.com/notifications/unsubscribe-auth/AZ7IZNWEJRZFUXPVCXUXTODYKMPHJAVCNFSM6AAAAABA3W4WLCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNRUHA3TSNRTGY__;!!If2bhcaqBFXF!zicgJRg-FAxRr6TkUhLxn-OeWt04LblUBgsX7Vx561W9U53SR98uDT3W7TXhConSODAip0pvapWCcDtpj81HihFd3p2MDw$. You are receiving this because you authored the thread.Message ID: @.**@.>>

SamO6453 commented 9 months ago

I’m getting the following error messages when I do “pip install tksheet –upgrade.”

(.venv_local) @.**:~/Gerry3 $ pip install tksheet --upgrade WARNING: Skipping /home/raspberry5/Gerry3/.venv_local/lib/python3.11/site-packages/tksheet-6.3.5.dist-info due to invalid metadata entry 'name' Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple Requirement already satisfied: tksheet in ./.venv_local/lib/python3.11/site-packages (6.3.4) ERROR: Exception: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/pip/_internal/cli/base_command.py", line 160, in exc_logging_wrapper status = run_func(args) ^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/pip/_internal/cli/req_command.py", line 247, in wrapper return func(self, options, args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/pip/_internal/commands/install.py", line 419, in run requirement_set = resolver.resolve( ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/pip/_internal/resolution/resolvelib/resolver.py", line 92, in resolve result = self._result = resolver.resolve( ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/pip/_vendor/resolvelib/resolvers.py", line 481, in resolve state = resolution.resolve(requirements, max_rounds=max_rounds) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/pip/_vendor/resolvelib/resolvers.py", line 348, in resolve self._add_to_criteria(self.state.criteria, r, parent=None) File "/usr/lib/python3/dist-packages/pip/_vendor/resolvelib/resolvers.py", line 172, in _add_to_criteria if not criterion.candidates: File "/usr/lib/python3/dist-packages/pip/_vendor/resolvelib/structs.py", line 151, in bool return bool(self._sequence) ^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 155, in bool return any(self) ^^^^^^^^^ File "/usr/lib/python3/dist-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 143, in return (c for c in iterator if id(c) not in self._incompatible_ids) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 97, in _iter_built_with_inserted candidate = func()

Regards, Sam

Sam Ouche Optek – Validation/Verification Engineer


TT Electronics 2900 E. Plano Parkway, Suite 200, Plano, Texas 75074, U.S.A. T: +1 972 323 2335 M: +1 214 287 1298 E: @.**@.>

From: ragardner @.> Sent: Wednesday, December 20, 2023 11:40 AM To: ragardner/tksheet @.> Cc: Sam Ouche @.>; Author @.> Subject: Re: [ragardner/tksheet] on Rpi5, OS debian bookworm, tksheet's sheet defined col-w & row-h of 10x16 cells size has slow/lagging mouse's cursor movement (Issue #207)

This email originated from outside of our organisation. Do not open attachments or click links from unknown senders or in unexpected emails.

Hey,

I've made a change in 6.3.5. In previous versions tksheet would configure the cursor with every mouse motion, in 6.3.5 it checks the current cursor and only configures it if it needs to. However, I was unable to replace the mouse motion function

I also removed code which caused cursor change for header height and index width resizing from inside the main table, it is now slightly harder to align the cursor with their resizing lines

I am wondering if the constant calls to config the cursor were the reason it was ok under one OS and python version and not another

— Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https:/github.com/ragardner/tksheet/issues/207*issuecomment-1864879636__;Iw!!If2bhcaqBFXF!zicgJRg-FAxRr6TkUhLxn-OeWt04LblUBgsX7Vx561W9U53SR98uDT3W7TXhConSODAip0pvapWCcDtpj81HihGKqsOH2w$, or unsubscribehttps://urldefense.com/v3/__https:/github.com/notifications/unsubscribe-auth/AZ7IZNWEJRZFUXPVCXUXTODYKMPHJAVCNFSM6AAAAABA3W4WLCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNRUHA3TSNRTGY__;!!If2bhcaqBFXF!zicgJRg-FAxRr6TkUhLxn-OeWt04LblUBgsX7Vx561W9U53SR98uDT3W7TXhConSODAip0pvapWCcDtpj81HihFd3p2MDw$. You are receiving this because you authored the thread.Message ID: @.**@.>>

ragardner commented 9 months ago

Hey,

Sorry, have you push the 6.3.5 version into the piwheels.org yet? Or you can send me the link to the latest changes ver 6.3.5. Thanks!

It seems as though piwheels is automated, I cannot push new releases to it

not sure the intent or functionality of the mouse_motion() call and resizing is for

Basically it just checks the position of the cursor and if it is above a grid line that can be moved then it changes the cursor into an arrow. If it is above a selected row or column then it changes into a hand. The reason I failed to replace this code with "<Enter>" and "<Leave>" events is that they weren't reliable, the cursor wasn't reliably changing back into a normal pointer after entering and leaving a grid line

edit: I realized some of my previous choice of words about resizing grid lines may have been misleading sorry

I’m getting the following error messages when I do “pip install tksheet –upgrade.”

Unfortunately I have no idea what this error means sorry. I don't think it's to do with tksheets setup code though as the only thing that was changed in setup.py was the version number

SamO6453 commented 9 months ago

Hello,

Thank you for the feedback.

Ok, it makes sense for the checking of the cursor falling into the grid line to transform the cursor.

I’ll debug the pip install tksheet –upgrade on my side. I even tried pip install tksheet==VERSION, but still show the same error failing message. I’ll upgrade the pip itself. Thank you!

Regards, Sam

Sam Ouche Optek – Validation/Verification Engineer


TT Electronics 2900 E. Plano Parkway, Suite 200, Plano, Texas 75074, U.S.A. T: +1 972 323 2335 M: +1 214 287 1298 E: @.**@.>

From: ragardner @.> Sent: Thursday, December 21, 2023 1:44 AM To: ragardner/tksheet @.> Cc: Sam Ouche @.>; Author @.> Subject: Re: [ragardner/tksheet] on Rpi5, OS debian bookworm, tksheet's sheet defined col-w & row-h of 10x16 cells size has slow/lagging mouse's cursor movement (Issue #207)

This email originated from outside of our organisation. Do not open attachments or click links from unknown senders or in unexpected emails.

Hey,

Sorry, have you push the 6.3.5 version into the piwheels.org yet? Or you can send me the link to the latest changes ver 6.3.5. Thanks!

It seems as though piwheels is automated, I cannot push new releases to it

not sure the intent or functionality of the mouse_motion() call and resizing is for

Basically it just checks the position of the cursor and if it is above a resizing grid line then it changes the cursor into an arrow. If it is above a selected row or column then it changes into a hand. The reason I failed to replace this code with "" and "" events is that they weren't reliable, the cursor wasn't reliably changing back into a normal pointer after entering and leaving a grid line

I’m getting the following error messages when I do “pip install tksheet –upgrade.”

Unfortunately I have no idea what this error means sorry. I don't think it's to do with tksheets setup code though as the only thing that was changed in setup.py was the version number

— Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https:/github.com/ragardner/tksheet/issues/207*issuecomment-1865792228__;Iw!!If2bhcaqBFXF!whYnXBuI2FDdHdF2eJJbN3miJdt-mEB4LzUL1sVPQSt7qCPndqpmZ3CFh-B-ZKy-Sb12XPQU2F7NZSxBWGe3vB4xiiFAcg$, or unsubscribehttps://urldefense.com/v3/__https:/github.com/notifications/unsubscribe-auth/AZ7IZNSXAWAQCDCF64IZWKDYKPSFPAVCNFSM6AAAAABA3W4WLCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNRVG44TEMRSHA__;!!If2bhcaqBFXF!whYnXBuI2FDdHdF2eJJbN3miJdt-mEB4LzUL1sVPQSt7qCPndqpmZ3CFh-B-ZKy-Sb12XPQU2F7NZSxBWGe3vB4cl14RbQ$. You are receiving this because you authored the thread.Message ID: @.**@.>>

SamO6453 commented 9 months ago

Hi,

Regarding the pip install tksheet==6.3.5 issue, I can do pip install to ver 6.3.4 or any older version just fine, but to install with ver 6.3.5, I’m getting invalid metadata entry ‘name’. Do you know what this mean?

@.***

Regards, Sam

Sam Ouche Optek – Validation/Verification Engineer


TT Electronics 2900 E. Plano Parkway, Suite 200, Plano, Texas 75074, U.S.A. T: +1 972 323 2335 M: +1 214 287 1298 E: @.**@.>

From: ragardner @.> Sent: Thursday, December 21, 2023 1:44 AM To: ragardner/tksheet @.> Cc: Sam Ouche @.>; Author @.> Subject: Re: [ragardner/tksheet] on Rpi5, OS debian bookworm, tksheet's sheet defined col-w & row-h of 10x16 cells size has slow/lagging mouse's cursor movement (Issue #207)

This email originated from outside of our organisation. Do not open attachments or click links from unknown senders or in unexpected emails.

Hey,

Sorry, have you push the 6.3.5 version into the piwheels.org yet? Or you can send me the link to the latest changes ver 6.3.5. Thanks!

It seems as though piwheels is automated, I cannot push new releases to it

not sure the intent or functionality of the mouse_motion() call and resizing is for

Basically it just checks the position of the cursor and if it is above a resizing grid line then it changes the cursor into an arrow. If it is above a selected row or column then it changes into a hand. The reason I failed to replace this code with "" and "" events is that they weren't reliable, the cursor wasn't reliably changing back into a normal pointer after entering and leaving a grid line

I’m getting the following error messages when I do “pip install tksheet –upgrade.”

Unfortunately I have no idea what this error means sorry. I don't think it's to do with tksheets setup code though as the only thing that was changed in setup.py was the version number

— Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https:/github.com/ragardner/tksheet/issues/207*issuecomment-1865792228__;Iw!!If2bhcaqBFXF!whYnXBuI2FDdHdF2eJJbN3miJdt-mEB4LzUL1sVPQSt7qCPndqpmZ3CFh-B-ZKy-Sb12XPQU2F7NZSxBWGe3vB4xiiFAcg$, or unsubscribehttps://urldefense.com/v3/__https:/github.com/notifications/unsubscribe-auth/AZ7IZNSXAWAQCDCF64IZWKDYKPSFPAVCNFSM6AAAAABA3W4WLCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNRVG44TEMRSHA__;!!If2bhcaqBFXF!whYnXBuI2FDdHdF2eJJbN3miJdt-mEB4LzUL1sVPQSt7qCPndqpmZ3CFh-B-ZKy-Sb12XPQU2F7NZSxBWGe3vB4cl14RbQ$. You are receiving this because you authored the thread.Message ID: @.**@.>>

SamO6453 commented 9 months ago

Hello,

Starting fresh with new OS image, and the pip install gives this new message DEPRECATION: tksheet is being installed using the legacy ‘setup.py install’ method. Here the entire message. Hope this will help.

@.***

Regards, Sam

Sam Ouche Optek – Validation/Verification Engineer


TT Electronics 2900 E. Plano Parkway, Suite 200, Plano, Texas 75074, U.S.A. T: +1 972 323 2335 M: +1 214 287 1298 E: @.**@.>

From: ragardner @.> Sent: Thursday, December 21, 2023 1:44 AM To: ragardner/tksheet @.> Cc: Sam Ouche @.>; Author @.> Subject: Re: [ragardner/tksheet] on Rpi5, OS debian bookworm, tksheet's sheet defined col-w & row-h of 10x16 cells size has slow/lagging mouse's cursor movement (Issue #207)

This email originated from outside of our organisation. Do not open attachments or click links from unknown senders or in unexpected emails.

Hey,

Sorry, have you push the 6.3.5 version into the piwheels.org yet? Or you can send me the link to the latest changes ver 6.3.5. Thanks!

It seems as though piwheels is automated, I cannot push new releases to it

not sure the intent or functionality of the mouse_motion() call and resizing is for

Basically it just checks the position of the cursor and if it is above a resizing grid line then it changes the cursor into an arrow. If it is above a selected row or column then it changes into a hand. The reason I failed to replace this code with "" and "" events is that they weren't reliable, the cursor wasn't reliably changing back into a normal pointer after entering and leaving a grid line

I’m getting the following error messages when I do “pip install tksheet –upgrade.”

Unfortunately I have no idea what this error means sorry. I don't think it's to do with tksheets setup code though as the only thing that was changed in setup.py was the version number

— Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https:/github.com/ragardner/tksheet/issues/207*issuecomment-1865792228__;Iw!!If2bhcaqBFXF!whYnXBuI2FDdHdF2eJJbN3miJdt-mEB4LzUL1sVPQSt7qCPndqpmZ3CFh-B-ZKy-Sb12XPQU2F7NZSxBWGe3vB4xiiFAcg$, or unsubscribehttps://urldefense.com/v3/__https:/github.com/notifications/unsubscribe-auth/AZ7IZNSXAWAQCDCF64IZWKDYKPSFPAVCNFSM6AAAAABA3W4WLCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNRVG44TEMRSHA__;!!If2bhcaqBFXF!whYnXBuI2FDdHdF2eJJbN3miJdt-mEB4LzUL1sVPQSt7qCPndqpmZ3CFh-B-ZKy-Sb12XPQU2F7NZSxBWGe3vB4cl14RbQ$. You are receiving this because you authored the thread.Message ID: @.**@.>>

ragardner commented 7 months ago

Thanks for letting me know!

Versions 7+ now have the new pyproject.toml file

Cheers