Menu

#1695 No scroll bar on Instrument Parameters Bank dropdown

None
feedback
None
5
2024-08-05
2024-07-25
musewhirl
No

RG master: 9081ce

The Instrument Parameters Bank dropdown should have a scrollbar similar to that of the Program dropdown and the Segment Parameters dropdown. Without the dropdown, 20 Banks show up on my system making look as though others do not exist.

The workaround is to use the down arrow key to reveal the missing Banks. However on next use in that session, it remembers that scroll location, so you have to scroll all the way to the top again and continue upwards to see the top Banks.

Discussion

  • Philip Leishman

    Philip Leishman - 2024-07-26

    On my system the scroll bar is present !
    The QComboBox should have the ScrollBarAsNeeded policy by default.
    I tried on my virtual machine (fedora 40) and indeed the scroll bar is missing.
    Another gnome/kde thing ?
    In the code the scrollbar policy is set explicitly for the program combobx. I have set it for the banks combobx. That seems to work.
    Please merge

     

    Last edit: Ted Felix 2024-07-31
  • musewhirl

    musewhirl - 2024-07-26

    It's probably a good idea to keep an eye on the original solution to use qt5-styleplugins in bug #1674. If that strange issue bug has turned up here in another form, then perhaps the previous faulty behavior is also a bug? To quote Ted Felix:

    Ok, then this has me wondering a few things...

    Shouldn't this just always work? Is this a Qt bug that we are stuck with?
    Would it be possible for us to fix this for our non-native file dialogs? Is there code we can write to save/restore the bookmarks?
    Is this problem fixed in qt6?
    Does it seem like it would be worthwhile to leave this open and do some more digging at some point in the future? Or is this not worth our time?

    And a subsequent quote from Philip Leishman:

    I don't see this as a bug - the workaround above is for people who want to use the gnome bookmarks.

    This new issue offers no proof that there is a bug, but just for the record, I might as well say that in my case, I don't actually want to use gnome bookmarks...I just want to use bookmarks that work. In other words, I was quite happy with the default RG widget I had previously used for years except for the continual loss of bookmarks...which I even learned to live with.

     
  • Ted Felix

    Ted Felix - 2024-07-31
    • status: open --> feedback
    • assigned_to: Philip Leishman
     
  • Ted Felix

    Ted Felix - 2024-07-31

    Pushed fix as [295a2f]. Please test latest git.

     

    Related

    Commit: [295a2f]

  • musewhirl

    musewhirl - 2024-08-05

    Tested and working perfectly

     

Log in to post a comment.