Documents tabs behaviour in Gtk4 apps

Bug #2006887 reported by grofaty
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Pinta
Fix Committed
Undecided
Unassigned

Bug Description

I reported bug 2006717 that was fixed, thanks. But now I am looking more deep into how Gtk3 vs. Gtk4 applications handle tabs and I see:

GTK3 APPLICATIONS
- First document appears as first tab, which is sized to "small" size
- Second document just new tab is added.
I think we should leave Pinta 2.1.x in this way, to be compatible with existing Gtk3 applications experience.

GTK4 APPLICATIONS
Now I see Gtk4 apps by default use little bit different approach to tabs.
- If there is single document there is no tab.
- If second document is opened then two tabs appear stretched to whole screen size.
See attachment for two Gtk4 apps.
My suggestion is for Pinta/Gtk4 to adopt this behavior to use Gtk4 applications approach. I suggest to mark this "bug report" as feature request.

Tags: gtk4
Revision history for this message
grofaty (grofaty) wrote :
description: updated
summary: - Image tabs behaviour in Gtk4 apps
+ Documents tabs behaviour in Gtk4 apps
Revision history for this message
Cameron White (cameronwhite91) wrote :

This should be easy to do - in the GTK4 branch we are already using https://gnome.pages.gitlab.gnome.org/libadwaita/doc/main/class.TabBar.html so this is just a matter of configuring the expansion and autohide settings

Changed in pinta:
milestone: none → 2.2
tags: added: gtk4
Changed in pinta:
status: New → Triaged
Revision history for this message
Cameron White (cameronwhite91) wrote :
Changed in pinta:
status: Triaged → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.