Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Text on drawings is misaligned on the web-ui compared with the gui #1292

Open
cristian-ciobanu opened this issue Apr 6, 2022 · 2 comments
Open
Assignees
Labels
Milestone

Comments

@cristian-ciobanu
Copy link

cristian-ciobanu commented Apr 6, 2022

I have a topology on which I used the draw tools to represent some port channels using a circle and some text on top of it.
The project has the option Snap to grid enabled with a grid size of 30 x 30 and the devices align properly but when adding these drawings I had to manually disable the Snap to grid option in order to align it properly over the connection links.

Zoom level is at default 100% on both web-ui and gui.

This way it works fine in the GUI but not in the web-ui.

Attached are two screenshots one from web-ui and the second from the gui to better explain the issue.
GNS3-GUI
gns3_gui
GNS3-Web-UI
gns3_web_ui

Tested on both Windows and Linux
GNS3 version: 2.2.31

Please let me know if more details are needed.

@piotrpekala7 piotrpekala7 added this to the 2.2.32 milestone Apr 7, 2022
@piotrpekala7
Copy link
Contributor

dev notes:
probably we need to improve calculating text position in TextDrawing widget https://github.com/GNS3/gns3-web-ui/blob/master/src/app/cartography/widgets/drawings/text-drawing.ts#L64

@grossmj
Copy link
Member

grossmj commented Sep 29, 2022

@rajnikantsolarwinds now that you can run the GUI on your computer you should be able to compare if there are differences with the web-ui

@grossmj grossmj modified the milestones: 3.0, 3.1 Feb 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants