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

Do you still want to use UIManager for the UI elements in DrawingTool? #724

Open
crojack opened this issue Jan 9, 2025 · 4 comments
Open
Labels
question Question about installing, configuring or using Shutter

Comments

@crojack
Copy link

crojack commented Jan 9, 2025

DrawingTool can now run as a standalone application. It needs some code polishing but it's working. The question is should I continue to polish the UI to look more like ImageAnnotator or should I leave it as it is?

drawing-tool.mp4
@crojack crojack added the question Question about installing, configuring or using Shutter label Jan 9, 2025
@DarthGandalf
Copy link
Member

If the annotator already works better, wouldn't it be easier to delete the old drawing tool, and substitute it with annotator?

@DarthGandalf
Copy link
Member

Re UIManager specifically, creating the UI with the XML is probably cleaner than using the perl code. UIManager goes in that direction, though not all the way yet. But in GTK 4 UIManager is deprecated, and replaced with another way to use XML for the same purpose.

@DarthGandalf
Copy link
Member

It turns out GTK 4 now has a better syntax than XML

https://jwestman.pages.gitlab.gnome.org/blueprint-compiler/index.html

@DarthGandalf
Copy link
Member

This issue prompted me to try the GTK 4 prototype further... and we'll probably drop GTK altogether. The Qt prototype is so much easier to write.

Which again means that you probably should spend zero effort on the old drawing tool.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Question about installing, configuring or using Shutter
Projects
None yet
Development

No branches or pull requests

2 participants