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

Tabs not responding (visually) to click. #91

Open
sielo opened this issue Dec 21, 2020 · 5 comments
Open

Tabs not responding (visually) to click. #91

sielo opened this issue Dec 21, 2020 · 5 comments

Comments

@sielo
Copy link

sielo commented Dec 21, 2020

Hi,

I've been using TChromeTabs for a while and found it very useful.
But I have one problem. From time to time the tab becomes inresponsive to click. But only in "visual". I click it - the application changes the view according to clicked tab but this tab doesn't become active (on the screen).
Here is how it works:

  1. I open one active tab (or more of them) ;
  2. I open one additional (in the background) so it doesn't become active. It shows ok. The animation works. Caption and glyph shows. The tab looks completely normal.
  3. When I click this inactive tab - it stays inactive, but it responds to click. So the view changes correctly. And it responds to "close button" on the tab although there is no "hover over" animation over the "X" button (closing the tab). Like it was "frozen".
  4. in addition to that - the "+" (new tab) button also stops responding to "hover over", but when I click it - it works fine.
    So when it comes to actions - everything is OK. But the "graphics" and "animations" stops working at all. Like all the tabs become disabled (frozen) visually.
    It happens from time to time. Not always. And the number of tabs doesn't matter. Sometimes it happens with the second tab. Sometimes with 4-th.
    I don't use threads that could operate on the tabs in the background. I open new tab in main thread. There is no AV error or any other kind of error. My application works fine all the time but the TChromeTabs don't respond visually to actions.
    What am I doing wrong ?
@sielo sielo changed the title Tabs not responding to click. Tabs not responding (visually) to click. Dec 21, 2020
@landrix
Copy link
Collaborator

landrix commented Dec 21, 2020

do you use the current sourcecode?

@sielo
Copy link
Author

sielo commented Dec 21, 2020

Nothing changed unfortunately. Still from time to time the tabs are frozen although every actions (click, close, add) work fine. When I close a tab when everything is frozen - than this closed tab doesn't hide. But the "+" button moves ("virtually
" not on screen) to the left like the tab was gone. When I click the place when the "+" should be after closing a tab - it works. When I close two tabs - the "+" is just after the tab that is open although on the screen I see the close tab.
See the image:
screen
Tab 1 should be active. Tab 2 should be notactive. Tab 3 should be gone as I closed it. The popup menu is shown in the place when "add tab" button is pressed. So this "+" button is virtually in good place but as You can see - on the screen it is right after removed tab. The removed tab of course is not responding because it is gone.

@landrix
Copy link
Collaborator

landrix commented Dec 21, 2020

Do you have enabled

Options.Display.Tabs.TabWidthFromContent := True

?
If yes, what happens, if you set it to false?

@sielo
Copy link
Author

sielo commented Dec 21, 2020

The value of "TabWidthFromContent" doesn't matter.

@sielo
Copy link
Author

sielo commented Sep 22, 2021

This problem hasn't been solved yet.
Do we have any solution to this issue? How can we act to prevent it from happening ?
This is only visual "freezing". Events are fired correctly. Maybe I should use some function to "lock" the TChromeTabs while adding a new tab (in the background) ?

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

No branches or pull requests

2 participants