logseq-drawio-plugin icon indicating copy to clipboard operation
logseq-drawio-plugin copied to clipboard

The top area is being obstructed and cannot be operated

Open sethyuan opened this issue 1 year ago • 5 comments

SCR-20240429-mkcx

BTW, I'm on macOS.

sethyuan avatar Apr 29 '24 05:04 sethyuan

sorry for that, but I do not have mac and do not know the difference. is this the maximize of window?

lee88688 avatar May 08 '24 01:05 lee88688

No, the window is not maximized.

BTW, maybe I can submit a PR with a fix later.

sethyuan avatar May 08 '24 01:05 sethyuan

it would be best if you submit a PR, since I can not test this bug.

lee88688 avatar May 08 '24 05:05 lee88688

The draw.io workspace extends over the built-in mac toolbar. I'm not familiar enough with the code to know if this is feasible, but it seems to be that a potential fix for the mac platform would be to adjust the draw.io window so that it's offset by 32 pixels downwards and is 32 pixels shorter. (I'm assuming that the plugin is able to request the available space for working in?)

hiive avatar Aug 07 '24 16:08 hiive

the plugin api does not provide the api to give the avaiable space. the logseq main ui does not suffer from this. is it keep some space from top? if so, when open the drawio plugin, the plugin top and main ui top is in difference position. but I may wonder why logseq does not help plugins to keep the space instead of doing it by plugins itself.

lee88688 avatar Aug 08 '24 02:08 lee88688