#
621200eb |
| 28-Jan-2024 |
Máximo Castañeda <antiswen@yahoo.es> |
BOutlineListView: fix ItemUnderAt and accept NULL as superitem
ItemUnderAt was returning items that were not under the superitem (this was fixed for EachItemUnder in hrev52210). Make a NULL superite
BOutlineListView: fix ItemUnderAt and accept NULL as superitem
ItemUnderAt was returning items that were not under the superitem (this was fixed for EachItemUnder in hrev52210). Make a NULL superitem mean the parent of the topmost items. Despite not being explicitly documented in the BeBook, that's how BeOS works, the MenuWorld test app uses it and, well, it's handy.
Change-Id: I2551e8ce874a6238c5e5fb1eb742e68e62d3928a Reviewed-on: https://review.haiku-os.org/c/haiku/+/7359 Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
show more ...
|
#
dc3f8c63 |
| 02-May-2023 |
Freaxed <andrea.anzani@gmail.com> |
BOutlineListView: fixed compression causing inconsistent selection update
When compressing an item containing a selected item, the selection is wrongly moved to the parent as the selection code is
BOutlineListView: fixed compression causing inconsistent selection update
When compressing an item containing a selected item, the selection is wrongly moved to the parent as the selection code is not called. This is causing no visual change in the selected item. Morehover the next user click will always invoke the (wrongly) selected parent.
This can be easily reproduced in the FileTypes application: * expand the application item and select an application * compress the application item * expand the audio item and select and audio item * the invokation is performed on the application item and not on the selected audio item.
This fix takes into consideration both single and multiple selection mode.
Change-Id: Icf7c63e6d44f039a8bdf3bb7d343d7aed6b7ac7d Reviewed-on: https://review.haiku-os.org/c/haiku/+/6402 Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk> Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
show more ...
|
#
40e5560a |
| 23-Mar-2023 |
Freaxed <andrea.anzani@gmail.com> |
BOutlineListView: fixed expansion causing items to disappear
On a multi-level list view, when expanding an item containing other collapsed lists, the last items disappear due to a wrong element coun
BOutlineListView: fixed expansion causing items to disappear
On a multi-level list view, when expanding an item containing other collapsed lists, the last items disappear due to a wrong element counting.
Change-Id: I2313ad8efb23e8db54cd3563687bf0c2a775a12a Reviewed-on: https://review.haiku-os.org/c/haiku/+/6259 Reviewed-by: waddlesplash <waddlesplash@gmail.com> Tested-by: Automation <automation@haiku-os.org> Reviewed-by: Stefano Ceccherini <stefano.ceccherini@gmail.com> Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
show more ...
|
#
c47cb94a |
| 03-Jun-2020 |
X512 <danger_mail@list.ru> |
BOutlineListView: fix keyboard navigation
* On left arrow key select parent item when selected item is collapsed. * Scroll to selected item when expanding/collapsing.
Change-Id: Ia404abb970376d4168
BOutlineListView: fix keyboard navigation
* On left arrow key select parent item when selected item is collapsed. * Scroll to selected item when expanding/collapsing.
Change-Id: Ia404abb970376d4168efd8bba4d8817712a885a6 Reviewed-on: https://review.haiku-os.org/c/haiku/+/2873 Reviewed-by: waddlesplash <waddlesplash@gmail.com>
show more ...
|
#
e5d533fd |
| 12-Sep-2019 |
Mikael Konradsson <mikael.konradsson@outlook.com> |
OutLineListView: adjust color of expander arrow when using dark color scheme
Change-Id: I7de7a460111556b7f40565ed0a6110c1f7660a25 Reviewed-on: https://review.haiku-os.org/c/haiku/+/1847 Reviewed-by:
OutLineListView: adjust color of expander arrow when using dark color scheme
Change-Id: I7de7a460111556b7f40565ed0a6110c1f7660a25 Reviewed-on: https://review.haiku-os.org/c/haiku/+/1847 Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
show more ...
|
#
2f3e1117 |
| 14-Jan-2018 |
Sean Healy <jalopeura@users.noreply.github.com> |
BOutlineListView::EachItemUnder gets too many items
EachItemUnder selects items that are not in fact under the superitem passed to the method.
ticket: #13730 Change-Id: I12a2e29204e1b9bbecd5704e60a
BOutlineListView::EachItemUnder gets too many items
EachItemUnder selects items that are not in fact under the superitem passed to the method.
ticket: #13730 Change-Id: I12a2e29204e1b9bbecd5704e60a02e3613a7f4fd Reviewed-on: https://review.haiku-os.org/52 Reviewed-by: waddlesplash <waddlesplash@gmail.com>
show more ...
|
#
34ac7f7a |
| 09-Apr-2017 |
Adrien Destugues <pulkomandy@pulkomandy.tk> |
BListView: manage horizontal scrollbar
BListView automatically sets the vertical scrollbar range already. Do the same for the horizontal scrollbar.
Also fix BOutlineListView to compute the preferre
BListView: manage horizontal scrollbar
BListView automatically sets the vertical scrollbar range already. Do the same for the horizontal scrollbar.
Also fix BOutlineListView to compute the preferred size taking into account the items outline levels (it needs a little more space).
This fixes the horizontal scrollbars in Locale preferences, second part of #6747.
show more ...
|
#
265f2996 |
| 11-Dec-2014 |
Adrien Destugues <pulkomandy@gmail.com> |
ListView: move the color setting code to DrawItem
... so it can also be used by OutlineListView.
Fixes #11598.
|
#
539dc1bc |
| 03-Dec-2014 |
John Scipione <jscipione@gmail.com> |
A bunch of style fixes
No functional changes intended
|
#
42272d23 |
| 26-Nov-2014 |
Adrien Destugues <pulkomandy@gmail.com> |
OutlineListView: yet another list/fullList mismatch.
Fixes #5817.
|
#
1f424632 |
| 11-Jun-2014 |
John Scipione <jscipione@gmail.com> |
Style fixes to IK, focus on docs
|
#
1e1afb39 |
| 11-Dec-2013 |
John Scipione <jscipione@gmail.com> |
Updates to BOutlineListView for docs
mostly param naming.
No functional change intended.
|
#
b8ded2f8 |
| 27-May-2013 |
François Revol <revol@free.fr> |
Merge branch 'master' into sam460ex
|
#
25a7b01d |
| 05-May-2013 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Merge branch 'master' into package-management
Additional changes: * Add src/system/kernel/lib/zlib, which builds a kernel version of zlib, needed by packagefs. * BuildFeatures: Add a build feature
Merge branch 'master' into package-management
Additional changes: * Add src/system/kernel/lib/zlib, which builds a kernel version of zlib, needed by packagefs. * BuildFeatures: Add a build feature "gcc2" to allow for easier checks. * Referenceable.cpp: Include <OS.h> instead of <debugger.h>. The latter is not needed and prevents building for the build platform. * zlib/zutil.h: Fix gcc 2 build. We really should use the external package instead.
Conflicts: .gitignore build/jam/BuildSetup build/jam/FileRules build/jam/FloppyBootImage build/jam/HaikuImage build/jam/ImageRules build/jam/KernelRules build/jam/NetBootArchive build/jam/OptionalBuildFeatures build/jam/OptionalLibPackages build/jam/OptionalPackageDependencies build/jam/OptionalPackages build/scripts/build_haiku_image configure data/bin/installoptionalpackage data/system/boot/Bootscript headers/os/app/Message.h headers/os/package/PackageInfo.h headers/os/package/PackageInfoAttributes.h headers/os/package/PackageInfoSet.h headers/os/package/PackageRoster.h headers/os/package/PackageVersion.h headers/os/package/hpkg/PackageInfoAttributeValue.h headers/os/storage/FindDirectory.h headers/os/storage/Node.h headers/os/support/StringList.h headers/private/system/directories.h src/add-ons/kernel/drivers/audio/ac97/es1370/Jamfile src/add-ons/kernel/file_systems/packagefs/AttributeIndex.cpp src/add-ons/kernel/file_systems/packagefs/Jamfile src/add-ons/kernel/file_systems/packagefs/Package.cpp src/add-ons/kernel/file_systems/packagefs/Package.h src/add-ons/kernel/file_systems/packagefs/PackageDomain.cpp src/add-ons/kernel/file_systems/packagefs/PackageDomain.h src/add-ons/kernel/file_systems/packagefs/PackageFSRoot.cpp src/add-ons/kernel/file_systems/packagefs/PackageLinkDirectory.cpp src/add-ons/kernel/file_systems/packagefs/PackageLinkDirectory.h src/add-ons/kernel/file_systems/packagefs/PackageLinkSymlink.cpp src/add-ons/kernel/file_systems/packagefs/PackageLinkSymlink.h src/add-ons/kernel/file_systems/packagefs/PackageLinksDirectory.cpp src/add-ons/kernel/file_systems/packagefs/PackageNode.h src/add-ons/kernel/file_systems/packagefs/ResolvableFamily.cpp src/add-ons/kernel/file_systems/packagefs/Version.cpp src/add-ons/kernel/file_systems/packagefs/Version.h src/add-ons/kernel/file_systems/packagefs/Volume.cpp src/add-ons/kernel/file_systems/packagefs/Volume.h src/add-ons/kernel/file_systems/packagefs/kernel_interface.cpp src/add-ons/kernel/file_systems/userlandfs/shared/driver_settings.c src/apps/deskbar/BarApp.cpp src/apps/deskbar/BarMenuBar.cpp src/apps/deskbar/BarMenuBar.h src/apps/deskbar/BarView.cpp src/apps/deskbar/BarView.h src/apps/deskbar/BarWindow.cpp src/apps/deskbar/BarWindow.h src/apps/deskbar/DeskbarMenu.cpp src/apps/deskbar/DeskbarMenu.h src/apps/deskbar/DeskbarUtils.cpp src/apps/deskbar/DeskbarUtils.h src/apps/deskbar/ExpandoMenuBar.cpp src/apps/deskbar/ExpandoMenuBar.h src/apps/deskbar/TeamMenu.cpp src/apps/processcontroller/ProcessController.cpp src/apps/remotedesktop/RemoteDesktop.cpp src/bin/bash/config-top.h src/bin/finddir.c src/bin/package/Jamfile src/bin/package/command_add.cpp src/bin/package/command_create.cpp src/bin/package/command_list.cpp src/bin/package_repo/command_list.cpp src/bin/pkgman/command_refresh.cpp src/build/libbe/support/Jamfile src/build/libpackage/Jamfile src/build/libroot/Jamfile src/build/libroot/fs.cpp src/build/libroot/remapped_functions.h src/kits/locale/MutableLocaleRoster.cpp src/kits/opengl/GLRendererRoster.cpp src/kits/package/PackageInfo.cpp src/kits/package/PackageInfoSet.cpp src/kits/package/PackageRoster.cpp src/kits/package/PackageVersion.cpp src/kits/package/RepositoryCache.cpp src/kits/package/hpkg/PackageWriterImpl.cpp src/kits/package/hpkg/ReaderImplBase.cpp src/kits/package/hpkg/WriterImplBase.cpp src/kits/print/PrintTransport.cpp src/kits/print/Printer.cpp src/kits/screensaver/ScreenSaverRunner.cpp src/kits/support/StringList.cpp src/kits/tracker/ContainerWindow.cpp src/kits/tracker/DeskWindow.cpp src/kits/tracker/PoseView.cpp src/libs/print/libprint/Transport.cpp src/preferences/printers/AddPrinterDialog.cpp src/preferences/screensaver/ScreenSaverWindow.cpp src/servers/debug/DebugServer.cpp src/servers/input/AddOnManager.cpp src/servers/media_addon/MediaAddonServer.cpp src/system/boot/Jamfile src/system/boot/loader/Jamfile src/system/boot/loader/loader.cpp src/system/boot/loader/vfs.cpp src/system/kernel/fs/vfs.cpp src/system/kernel/fs/vfs_boot.cpp src/system/libroot/os/find_directory.cpp src/system/runtime_loader/runtime_loader.cpp src/tools/package/Jamfile
show more ...
|
#
a56ddb2b |
| 03-May-2013 |
John Scipione <jscipione@gmail.com> |
BOutlineListView: Refactor to eliminate repeat vars
The latch width, height and indent width are now all set in one place in LatchRect() and then LatchRect() is used in multiple places.
|
#
c19cb4dd |
| 01-May-2013 |
John Scipione <jscipione@gmail.com> |
Update BOutlineListView arrows to new style
...from BControlLook, and while I'm at it, use font-relative spacing dimensions.
|
#
eee4243d |
| 21-Oct-2011 |
Alex Wilson <yourpalal2@gmail.com> |
De-virtualize BView::InvalidateLayout() and introduce LayoutInvalidated() hook, like BLayout.
|
#
f3c8afe8 |
| 31-Jan-2010 |
Adrien Destugues <pulkomandy@pulkomandy.ath.cx> |
Fix a bug in OutlineListView::ItemUnderAt that made it pick totally wrong items when some things in the list were collapsed.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35361 a95241bf-73f2-
Fix a bug in OutlineListView::ItemUnderAt that made it pick totally wrong items when some things in the list were collapsed.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35361 a95241bf-73f2-0310-859d-f6bbb57e9c96
show more ...
|
#
e917a240 |
| 31-Jan-2010 |
Rene Gollent <anevilyak@gmail.com> |
Fix some selection-related problems in BOutlineListView as well as broken behavior in _RemoveItem that could potentially result in the wrong list items being removed/deleted depending on the expand
Fix some selection-related problems in BOutlineListView as well as broken behavior in _RemoveItem that could potentially result in the wrong list items being removed/deleted depending on the expanded/collapsed state of higher items in the list.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35360 a95241bf-73f2-0310-859d-f6bbb57e9c96
show more ...
|
#
c544ccf5 |
| 25-Oct-2009 |
Axel Dörfler <axeld@pinc-software.de> |
* Expand(), and Collapse() aren't supposed to do the work themselves. * Instead, they should call the protected virtual ExpandOrCollapse(), this makes one of my apps work again under Haiku (where t
* Expand(), and Collapse() aren't supposed to do the work themselves. * Instead, they should call the protected virtual ExpandOrCollapse(), this makes one of my apps work again under Haiku (where the list view contents are filled on demand).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33760 a95241bf-73f2-0310-859d-f6bbb57e9c96
show more ...
|
#
08a35638 |
| 17-Jun-2009 |
Axel Dörfler <axeld@pinc-software.de> |
* Added layout-friendly constructor. * Reordered functions to match the order in the header (and vice versa). * Removed unused private functions. * Updated the header to follow our coding style. * Cl
* Added layout-friendly constructor. * Reordered functions to match the order in the header (and vice versa). * Removed unused private functions. * Updated the header to follow our coding style. * Cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31088 a95241bf-73f2-0310-859d-f6bbb57e9c96
show more ...
|
#
23079ac1 |
| 20-Apr-2009 |
Philippe Saint-Pierre <stpere@gmail.com> |
Modified the DrawLatch routine to make the latch vertically centered.
* It's particularly notice-able with big fonts. * I did put the latch's width and height in constants.
git-svn-id: file:///
Modified the DrawLatch routine to make the latch vertically centered.
* It's particularly notice-able with big fonts. * I did put the latch's width and height in constants.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30284 a95241bf-73f2-0310-859d-f6bbb57e9c96
show more ...
|
#
dd0e375f |
| 13-Apr-2009 |
Rene Gollent <anevilyak@gmail.com> |
Fix build break I introduced in previous commit. Add some extra behavior for OutlineListView's right arrow: if the item has children and is expanded, right arrow now jumps to the first child.
git-s
Fix build break I introduced in previous commit. Add some extra behavior for OutlineListView's right arrow: if the item has children and is expanded, right arrow now jumps to the first child.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30150 a95241bf-73f2-0310-859d-f6bbb57e9c96
show more ...
|
#
fcdaa0c7 |
| 12-Apr-2009 |
Rene Gollent <anevilyak@gmail.com> |
If an item does not have an expand/collapse latch, let the left arrow jump to its parent (if any). Implements ticket #3725.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30130 a95241bf-73f2-0
If an item does not have an expand/collapse latch, let the left arrow jump to its parent (if any). Implements ticket #3725.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30130 a95241bf-73f2-0310-859d-f6bbb57e9c96
show more ...
|
#
cd03af05 |
| 08-Apr-2009 |
Rene Gollent <anevilyak@gmail.com> |
Various cleanups to how the selection indices are maintained when part of the selection is occluded by a collapse operation, which could cause a crash in some instances. This fixes ticket #3711.
gi
Various cleanups to how the selection indices are maintained when part of the selection is occluded by a collapse operation, which could cause a crash in some instances. This fixes ticket #3711.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30015 a95241bf-73f2-0310-859d-f6bbb57e9c96
show more ...
|