Resolved 1.7.5.5 tabview bug - Printable Version +- yab | yet another Basic for HAIKU (https://yab.orgfree.com/forum) +-- Forum: installing / troubleshooting / feature requests (https://yab.orgfree.com/forum/forumdisplay.php?fid=5) +--- Forum: feature requests / bug fixes (https://yab.orgfree.com/forum/forumdisplay.php?fid=11) +--- Thread: Resolved 1.7.5.5 tabview bug (/showthread.php?tid=96) |
Resolved 1.7.5.5 tabview bug - lelldorin - 02-23-2018 On the current build of yab is a Tabview error. I create a test app to check a bug reported by bbjimmy and thaflo. Here the tabview crashed then you browsing over the view after removing the tabview with VIEW REMOVE. I does not have this problem on my system, but i see another one. In my test app i create a tabview with two tabs. on the first one i place a button. Then i remove the view and create the tabviews again. Here is the button not on the first, it is on the second tab. https://codeshare.io/al9NJY RE: 1.7.5.5 tabview bug - bbjimmy - 03-09-2018 I have not been able to get tabview working as it should. I guess my c++ and understanding of the tabview code in Haiku isn't good enough. As a work-around, I have am making a tabview in yab as a library. I have tested it in your code as a replacement for yabs built-in tabview and it seems to be working. Code: screenWidth = peek("desktopwidth") So far the only option is top, and the library needs to be reformatted to remove all my troubleshooting stuff, but it works! RE: 1.7.5.5 tabview bug - bbjimmy - 03-15-2018 I now have the library working with bottom tabs: RE: 1.7.5.5 tabview bug - bbjimmy - 03-19-2018 I have a working yabtab.yab library. The attatched zip includes the library, images used to create the tabs, and a test program to demonstrate the use. RE: 1.7.5.5 tabview bug - bbjimmy - 04-15-2018 Getting some new info from KapiX... https://github.com/bbjimmy/YAB/pull/6#issuecomment-381464218 and https://www.freelists.org/post/haiku-development/Issues-customizing-BTabView RE: 1.7.5.5 tabview bug - bbjimmy - 04-20-2018 The issue has been resolved. https://github.com/bbjimmy/YAB/commit/44c8183cc1d03a2f8f67a841639d7c15645a3cb4 Many Thanks to KapiX, Kacper Kasper for all the help. |