Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DisablingTabTextEliding not letting DockAreaDynamicTabsMenuButtonVisibility to function and program crashes #653

Closed
manikSom opened this issue Jul 3, 2024 · 2 comments
Assignees
Labels

Comments

@manikSom
Copy link

manikSom commented Jul 3, 2024

Dock manager config flag DisableTabTextEliding is set to true and DockAreaDynamicTabsMenuButtonVisibility is also set to true. All config flags setting is here-

         ads::CDockManager::setConfigFlag( ads::CDockManager::DockAreaHasCloseButton, false );
         ads::CDockManager::setConfigFlag( ads::CDockManager::AllTabsHaveCloseButton, true );
         ads::CDockManager::setConfigFlag( ads::CDockManager::DockAreaHasUndockButton, false );
         ads::CDockManager::setConfigFlag( ads::CDockManager::DockAreaDynamicTabsMenuButtonVisibility, true );
         ads::CDockManager::setConfigFlag( ads::CDockManager::FocusHighlighting, true );
         ads::CDockManager::setConfigFlag( ads::CDockManager::MiddleMouseButtonClosesTab, true );
         ads::CDockManager::setConfigFlag( ads::CDockManager::DisableTabTextEliding, true );

         m_dockManager = new ads::CDockManager;

With this setting, even after opening many tabs to fill the Dock area title space, the TabMenu button (the inverted dark triangle) is not visible as you can see below:

ads_tab_crash_issue_2

Sporadically the program also crashes with an Unhandled Exception error (see below) when we open more tabs.
ads_tab_crash_issue_1

One main issue i wanted to report is the crash and also wanted to ask, if there is a possibility to horizontally scroll across all tab (that can also be a replacement for tab menu)

@githubuser0xFFFF
Copy link
Owner

Fixed this in master - please test

@manikSom
Copy link
Author

manikSom commented Jul 8, 2024

danke sehr.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants