DocumentServer icon indicating copy to clipboard operation
DocumentServer copied to clipboard

Shape Connector Anchors do not scale correctly when using Interface Scaling

Open przerull opened this issue 10 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

Linux (DEB package)

Version information

8.0.1.31 (appimage)

Expected Behavior

The black shape connector anchors should appear on the outline of the shape regardless of the interface scaling percentage.

The behavior is currently correct when using 100% scaling

image

Actual Behavior

I suspect that the scaling may be happening twice to the connector anchors. This effect seems to be exacerbated at higher interface scaling percentages. This screenshot was taken using 200% scaling.

image

Reproduction Steps

  1. Open the ONLYOFFICE tab and set the Interface Scaling to something other than 100% (I chose 200%)
    image

  2. Create a new Spreadsheet

  3. Select the Insert tab, select a shape (I chose an Ellipse) and add it to the spreadsheet image

  4. Now Select the Insert tab again then select either a Line or Arrow image

  5. then hover over the shape inserted in step 3 image

Additional information

I run nixos with the gnome desktop environment on a dell XPS 14 laptop.

I first noticed this when running onlyoffice using the nixos package (which is based on the debian package).

These are the gnome display settings image

I first noticed this issue in version 7 something (because that was the version which would be installed using the nix package manager. Given that it was out of date, I attempted version 8.0.1 using the appimage binary.

I'm happy to supply any additional information requested and though I haven't really had a chance to read the onlyoffice source yet, it might be a bit fun to take a stab at fixing this.

przerull avatar Apr 16 '24 22:04 przerull

Hello, @przerull Thanks for your request! I can confirm that the problem exists. I created issue #67488 for your problem.

The problem is also relevant for the DocumentServer.

matveevms avatar Apr 17 '24 13:04 matveevms