DocumentServer icon indicating copy to clipboard operation
DocumentServer copied to clipboard

Is it a bug that m_bIsMouseLock is not reset on frozen pages?

Open guozhichao opened this issue 7 months ago • 1 comments

This issue is unique.

  • [x] I have used the search tool and did not find an issue describing my bug.

Operating System of DocumentServer

Docker

Version information

6.3.1.56

Expected Behavior

In our integration with OnlyOffice, we rely on m_bIsMouseLock being reset to false in the onMouseUp handler.

However, if the current page is frozen (i.e., IsFreezePage(pos.Page) returns true), the handler returns early and the lock flag is not reset:

This causes the editor to remain in a locked state indefinitely, even though the mouse was released.

Is this an intentional design decision, or should m_bIsMouseLock = false still be reset regardless of the page state?

Thanks!

Actual Behavior

if the current page is frozen (i.e., IsFreezePage(pos.Page) returns true), the handler returns early and the lock flag is not reset:

Reproduction Steps

No response

Additional information

No response

guozhichao avatar May 28 '25 03:05 guozhichao

@guozhichao Good day. Is it possible to check the behavior on the latest version of the server document whether the flag m_bIsMouseLock = false is being fixed again?

https://github.com/ONLYOFFICE/DocumentServer/releases/tag/v8.3.3

askonev avatar May 28 '25 15:05 askonev

This issue was closed due to no response.

Rita-Bubnova avatar Jul 04 '25 14:07 Rita-Bubnova