manatools / dnfdragora

dnfdragora is a dnf frontend based on libyui abstraction
GNU General Public License v3.0
137 stars 41 forks source link

dnf dragora 2.1.2 won't maximize on gnome wayland on fedora 36 #206

Closed dnkmmr69420 closed 2 years ago

dnkmmr69420 commented 2 years ago

Install f36 on a vm and then install dnf dragora then try to mazimize it. you can't maximize it and the bottom part won't show since you can't resize it to fit the screen.

anaselli commented 2 years ago

which is the vm screen size? changing the size is a libyui (upstream) work, and i wonder if you're using libyui-gtk?

dnkmmr69420 commented 2 years ago

vm screen size 1360 368. The same problem persists on cinanom too. 2.1.2 is way more stable than 2.1.0 so thats good. Yes I think I am using libyui-gtk. you can change horizontal size but you can't change vertical size. I have not tried this on real hardware though. Is there a way to fix this? what does upstream mean?

dnkmmr69420 commented 2 years ago

I found this: https://github.com/libyui/libyui-gtk/issues/75

dnkmmr69420 commented 2 years ago

update: when I made the screen rez high enough to see the bottom, You can make it bigger and return it to its default but you can't make it smaller to fit the default screen res

anaselli commented 2 years ago

Unfortunately i was able to change only a little part of this issue (the -1 error reported there) in libyui-gtk, but i haven't found where the resizing problem is. Finding a c++ test case could help maybe for debugging.

dnkmmr69420 commented 2 years ago

I've got an idea, mabey code it so it can be more compressed. have an option called compressed view

dnkmmr69420 commented 2 years ago

or have it where you can resize the boxed areas on the interface

dnkmmr69420 commented 2 years ago

what is a c++ test case?

anaselli commented 2 years ago

what is a c++ test case?

it is a libyui example written in c++ language that give the evidence of the problem. dnfdragora uses python language and that cannot help in "debugging" libyui-gtk.

I've got an idea, mabey code it so it can be more compressed. have an option called compressed view

Feel free to try any solution you have in mind, code is into public repository, but please provide us a patch after so that we can merge it if it solves the problem :)

dnkmmr69420 commented 2 years ago

The problem is that I barley know anything about code since I'm not a developer. I think an easy way to fix this is just make it more compact mabey code it so it does not take as much space. I really just want it useable so I can click buttons like apply at the bottom. mabey the boxes where the entries, catagories and details are shown could just be coded to be smaller

dnkmmr69420 commented 2 years ago

work around is typing this into terminal dnfdragora --qt make sure you have qt installed for this. you can also make a shortcut for this too.

anaselli commented 2 years ago

work around is typing this into terminal dnfdragora --qt make sure you have qt installed for this. you can also make a shortcut for this too.

if uninistall libyui-gtk and leave only libyui-qt it should start using qt b default

dnkmmr69420 commented 2 years ago

ok. 2.1.2 is a massive improvement over 2.1.0. way to go

anaselli commented 2 years ago

with the above libyui-gtk commit and the https://github.com/manatools/dnfdragora/commit/f42fdf5aaf40aec34fc8ab86fdc6aeb3fd207518 this bug and should bi fixed