You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I have both adw::TabView and adw::TabBar, when I change the position of a tab from the TabBar, it's position will be changed in the TabView, but not in the FactoryVecDeque, so I lose track of TabPages.
I think that FactoryView::factory_update_position should be implemented for adw::TabView. Way isn't it implemented? Is there any problem?
I tried to use TabView::connect_page_reordered to change the position in the FactoryVecDeque but I wasn't able to. I didn't find a way to reorder elements in FactoryVecDeque when I just have the a TabPage and it's new position.
Is there any thing that I can do?
The text was updated successfully, but these errors were encountered:
Currently, only the position of the element in the factory container is synced with the position of the widgets and not the other way around. FactoryView::factory_update_position is only for widgets, so it would not fix your problem and I don't think there's any benefit of implementing it as there is no Position type you could choose for ordering tab pages.
I think I tried to get bidirectional sync working, but I'm not sure why exactly I didn't implement it. I could have another look at the problem, but this might take some time.
zefr0x
added a commit
to zefr0x/stackbloatless
that referenced
this issue
Mar 5, 2024
It's better, but is has some bugs for now. The position of tabs are not
synced with the factory vector.
This issue should be solved in Relm4's side, or we should find a hack to
solve it. If it wasn't solved this commit should be reverted before a beta
release.
Read More:
Relm4/Relm4#573
If I have both
adw::TabView
andadw::TabBar
, when I change the position of a tab from theTabBar
, it's position will be changed in theTabView
, but not in theFactoryVecDeque
, so I lose track ofTabPage
s.I think that
FactoryView::factory_update_position
should be implemented foradw::TabView
. Way isn't it implemented? Is there any problem?I tried to use
TabView::connect_page_reordered
to change the position in theFactoryVecDeque
but I wasn't able to. I didn't find a way to reorder elements inFactoryVecDeque
when I just have the aTabPage
and it's new position.Is there any thing that I can do?
The text was updated successfully, but these errors were encountered: