Skip to content

Port ProcessTreeView to GTK4#525

Open
stsdc wants to merge 28 commits intomainfrom
stsdc/gtk4-treeview
Open

Port ProcessTreeView to GTK4#525
stsdc wants to merge 28 commits intomainfrom
stsdc/gtk4-treeview

Conversation

@stsdc
Copy link
Member

@stsdc stsdc commented Feb 26, 2026

The intend is to future proof the process list and lay some ground for a tree view reintroduction.

  • All columns are visible
  • Process icons are visible
  • Sorting works
  • Filtering works
  • Change ProcessInfoView on process row select
  • Shutdown/Force Quit works
  • Process add/removal works
  • Values are being updated
  • Fix memory leak after window restoring from the Indicator
  • Fix list jumps during scrolling

@stsdc stsdc linked an issue Feb 26, 2026 that may be closed by this pull request
@stsdc stsdc requested a review from a team March 5, 2026 12:27
@stsdc stsdc marked this pull request as ready for review March 5, 2026 13:11
@stsdc stsdc added this to OS 9 Mar 5, 2026
@stsdc stsdc moved this to Needs Review in OS 9 Mar 5, 2026
public class Monitor.ProcessTreeView : Granite.Bin {
private Gtk.ColumnView list;

public ProcessTreeView (TreeViewModel model) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we do this gobject style?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

But is it necessary in this case? Model is used only in this constructor.

Copy link
Member

@danirabbit danirabbit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Made a few comments about code style etc

@danirabbit danirabbit requested a review from a team March 5, 2026 17:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Needs Review

Development

Successfully merging this pull request may close these issues.

Rewrite process tree view

2 participants