Comments (5)
OK. So I forked this and think I've isolated the issue (the fix, though is sadly beyond me). If I step through following trying to add a new Page to a workspace where the last tabbed Page has been closed, this line and beyond is of interest:
A couple of interesting points:
cell
Visible = falsevar childMinSize = cell.GetMinSize();
returns Width = -2147483648 Height = -2147483611 (this value not returned when there's a Page in the Cell)
Further investigation into KryptonWorkspaceCell.GetMinSize()
shows this gets the negative values from KryptonWorkspaceCell.GetMinSize(ControlCollection controls)
where the default return is set to int.MinValue
. controls
is null
therefore these int.min values are returned.
The height value is modified by the first GetMinSize
method, thus the discrepancy with Height....
So, I've tired chaging a few things in KryptonDockingSpace.Append such as setting the Cell
to visible and using some dummy positive values for childMinSize
(removing the negatives) but no dice. I'm wondering whether the problem lies elsewhere as the above implies that the relevant KryptonWorkspaceCell doesn't contain any controls (which if it contained a Page, it should contain a control).
Anyways, burnt out on this issue now and given I don't know the wider architecture, it's hard to troubleshoot. Hope you guys can give this some attention (I appreciate you have a long list!) as it is a bit of a major issue (adding new pages to fully closed document groups).
from standard-toolkit.
I couldn't let it lie, so found a possible solution. See the pull request for details.
from standard-toolkit.
@stigzler & @Smurf-IV Is the fix a candidate for v85 as well?
from standard-toolkit.
@stigzler & @Smurf-IV Is the fix a candidate for v85 as well?
Did it "Work" in earlier versions of V80 or V70 ?? If so then yes. - Otherwise no.
from standard-toolkit.
@stigzler & @Smurf-IV Is the fix a candidate for v85 as well?
Did it "Work" in earlier versions of V80 or V70 ?? If so then yes. - Otherwise no.
Not in v80.
from standard-toolkit.
Related Issues (20)
- [Bug]: KMessageBox (and "Deprecated") using Error Icon plays the wrong sound
- [Bug]: Exclamation Mark shows up in the Toolkit references. HOT 3
- [Bug]: KryptonRibbon QAT KeyTips null reference exception HOT 2
- [Bug]: The Krypton.Navigator does not work when the Windows Form project is only compiled against 'net7.0-windows' HOT 6
- [Bug]: `Docking Perstence` demo application is broken with recent changes made in Canary and nughtly builds HOT 10
- [Other Issues]: Revise Theme Selector Controls HOT 9
- [Bug]: ButtonSpec does not open assigned context menu when clicked HOT 9
- [Bug]: DOT NET 8, Visual Studio 2022 ( 17.10.1 ) Cannot add or drag items to KryptonGroup or KryptonGroupBox in WinForms Designer HOT 9
- [Question]: Where does "Krypton.Toolkit.dll" get placed whe I build my project ( .NET8, VB 2022 ) HOT 1
- [Bug]: UpdateEnabled HOT 3
- [Bug]: Theme Office 2010 Black Dark Mode causes a crash. HOT 4
- [Bug]: Components are drawn differently between designer and executed app HOT 12
- [Other Issues]: Control Designers & Action Lists Checkup-Up HOT 2
- [Other Issues]: Check ThemeManager & KryptonManager for the use of hard coded theme indexes HOT 6
- [Feature Request/Discussion]: Add custom preprocessor symbols for code or feature testing
- [Bug]: `KryptonListView` does not have proper back colours applied to it HOT 1
- [Feature Request/Bug]: Tracking colours need reviewing HOT 1
- [Bug]: Build script does not follow same behaviour when 'rebuilding'
- [Feature Request]: Is it time to bring over the `AdvancedDataGridView`
- [Question]: GroupBoxes and Tabs HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from standard-toolkit.