Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ TheIDE » U++ TheIDE: Other Features Wishlist and/or Bugs » BUG: theide editor-tabs
BUG: theide editor-tabs [message #40505] Thu, 08 August 2013 11:38 Go to next message
slashupp is currently offline  slashupp
Messages: 231
Registered: July 2009
Experienced Member
This bug existed in previous versions as well, currently using:
theide 6157-wheezy-amd64

Occurs when many editor-tabs are open so that I need to scroll (the thin blue line scroller below the tabs) - if I scroll to the end of the list of tabs and click the 'x' and then without moving the mouse click on the next 'x' of the adjusted tabs, theide crashes:
"Assertion failed in uppsrc/Core/Vcont.h, line 33"

Workaround I'm currently using is to just move the mouse - when I remember to!
Re: BUG: theide editor-tabs [message #40506 is a reply to message #40505] Thu, 08 August 2013 13:00 Go to previous messageGo to next message
dolik.rce is currently offline  dolik.rce
Messages: 1789
Registered: August 2008
Location: Czech Republic
Ultimate Contributor

I can confirm this.

It also happens when you just close two tabs consecutively without moving a mouse in between (i.e. when they are of similar width, so no pointer movement is necessary).

Honza
Re: BUG: theide editor-tabs [message #40522 is a reply to message #40506] Thu, 08 August 2013 19:23 Go to previous messageGo to next message
mdelfede is currently offline  mdelfede
Messages: 1307
Registered: September 2007
Ultimate Contributor
Ahhhh, that's the cause.... I had some random crashes too, when closing tabs, but I couldn't reproduce them reliably Smile
Re: BUG: theide editor-tabs [message #40524 is a reply to message #40522] Thu, 08 August 2013 22:04 Go to previous messageGo to next message
Klugier is currently offline  Klugier
Messages: 1076
Registered: September 2012
Location: Poland, Kraków
Senior Contributor
Hello,

I have solved this issue. It seems that TabBar::LeftDown hasn't got "count of tabs" check. Moreover I added additional mouse position check after closing a tab.

I enclose improved source file. (TabBar/TabBar.cpp)

P.S.
Can you guys test this improvement?

Sincerely,
Klugier
  • Attachment: TabBar.cpp
    (Size: 46.47KB, Downloaded 273 times)


U++ - one framework to rule them all.
Re: BUG: theide editor-tabs [message #40646 is a reply to message #40524] Sun, 25 August 2013 10:38 Go to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Looks reasonable, patch applied.

Mirek
Previous Topic: Size of fonts in TheIDE
Next Topic: [IMPROVEMENT - FEATURE] High resolution TheIDE icon.
Goto Forum:
  


Current Time: Thu Apr 18 14:00:23 CEST 2024

Total time taken to generate the page: 0.01866 seconds