Issue #670 resolved

Disappearing branch combo boxes

Piotr Klecha
created an issue

The branch selection combo boxes disappear when branch names are too long for them to fit in their default location - leaving only an unclickable ">>" button. This affects the filter toolbar and choosing target branch in Synchronize tab.

Comments (9)

  1. Steve Borho

    repofilter: do not misbehave when filter history items or branch names are too long (refers to #670)

    This does not close #670 because it is still possible to get the branch selection combobox to be "lost" by making the window very small, but with this patch it is much harder to do.


  2. Piotr Klecha reporter
    • changed status to open

    IMHO this patch made things worse, as now combo adjust itself to shortest branch, which makes longer branch names unreadable (with no way to increase its size). Additionaly, branch combo in synchronize tab still behaves as used to.

  3. Steve Borho

    Nice, the patch wasn't meant to close the issue but since the words "close" and "#670" were next to each other Bitbucket closed it anyway.

    The patch doesn't set the size to the smallest branch, it limits the length it can grow.

    What is the length of the largest branch name, in characters?

  4. Piotr Klecha reporter

    My largest branch is 107 characters long (I probably shouldnt have made a branch like this). With the patch combo adjusts itself to a branch of 13 characters (shortest). I think it would be enough if first 30-40 characters were displayed for longer branches.

  5. Ahmed Chaudhary

    I am experiencing a similar issue.

    The branch selection combo box has become unusable for me due to its small size.

    I will probably uninstall the latest version and revert to the previous one unless there is a work around.

    I am using TortoiseHg version 2.0.5 with Mercurial-1.8.4, Python-2.6.6, PyQt-4.8.3, Qt-4.7.1 on Windows 7 64-bit.

  6. Anonymous

    Yes, the branch combo box is too short. It's unusable now. Why query text box is so long? It could be much shorter and there would be a place for branch combo. But the best would be if there was a splitter so I could manually adjust query text box width.

  7. Chris Phillips

    To add to this, this control is currently unusable for us -- our branch names range from 20-60 characters (plus 7 for 'default'), and they typically start with a common prefix.

    Any info on the priority for this issue?

  8. Log in to comment