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

Gtk4 anyone? #13236

Closed
Mark-64 opened this issue Dec 30, 2022 · 7 comments
Closed

Gtk4 anyone? #13236

Mark-64 opened this issue Dec 30, 2022 · 7 comments

Comments

@Mark-64
Copy link
Contributor

Mark-64 commented Dec 30, 2022

Just out of curiosity, how difficult would it be to migrate to Gtk4?
Would GPU accelerated gui be a game changer or not?

If this has been already discussed, feel free to close.

@MStraeten
Copy link
Collaborator

just scan through the code for gtk related stuff and think about the jobs to be done:
adapt the code and then verify it works as least as before on several platforms (multiple Linux distributions, windows, osx) - if not, implement platform specific workarounds…

@TurboGit
Copy link
Member

The first step would be to know what are the diffs between Gtk-3 & Gtk-4 and what are the incompatibilities. And from there how many lines of code are affected in dt side.

@Mark-64
Copy link
Contributor Author

Mark-64 commented Dec 30, 2022

From here, we should perhaps start to count how many of those "do not use" we have in the codebase.

@ralfbrown
Copy link
Collaborator

Did a quick "git grep" for some of the functions and values which need to be replaced/rewritten. Stopped when I got to 1000 instances.....

@dterrahe
Copy link
Member

The mechanical replacement of one pattern with a new one isn't going to be the biggest challenge; "coding monkeys" can do that and some of it can be done while still using gtk3. Analysing workarounds that stop being "supported" and finding alternative or "correct" ways of implementing stuff is going to require more expertise/patience.

Projects like gimp and krita take 1+ years updating frameworks (deprioritising all other changes during that time). What kind of resources with somewhat deep knowledge of gtk3 and gtk4 does dt have to throw at the task?

@github-actions
Copy link

github-actions bot commented Mar 2, 2023

This issue did not get any activity in the past 60 days and will be closed in 365 days if no update occurs. Please check if the master branch has fixed it and report again or close the issue.

@Mark-64
Copy link
Contributor Author

Mark-64 commented Dec 26, 2023

Closed #15920

@Mark-64 Mark-64 closed this as completed Dec 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants