Commit Graph
100 Commits
Author SHA1 Message Date
John Scipione 6b60801833 Tracker: Style fixes related to creating links.
Change-Id: Iac673bc07c52cfd3c095ded5658f083fbeddfefd
Reviewed-on: https://review.haiku-os.org/c/haiku/+/10714
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: John Scipione <[email protected]>
2026-04-26 20:50:15 +00:00
John Scipione c1b65fe266 Tracker: Forbid Desktop to scroll in base class.
Change-Id: I9d3c3a4c5cf1c217c57ddf6ee850946a33875070
Reviewed-on: https://review.haiku-os.org/c/haiku/+/10822
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: John Scipione <[email protected]>
Haiku-Format: Haiku-format Bot <[email protected]>
2026-04-26 20:49:14 +00:00
John Scipione ee349b62ba MAPM & ExpressionParser: Support long long int and cleanup Stirling's
Change-Id: I4a2bd3f36eb891a5f3167e93057ded7427d6cf26
Reviewed-on: https://review.haiku-os.org/c/haiku/+/8996
Reviewed-by: John Scipione <[email protected]>
Tested-by: Commit checker robot <[email protected]>
2026-04-26 20:48:32 +00:00
John Scipione ac9a0699f5 BEntry docs: Better return codes and better explanation of Exists()
... and formatting changes. Update copyright and hrev.

Change-Id: I4de9abbbdbe281c0a08ec8dc5ac42fb4bd58975b
Reviewed-on: https://review.haiku-os.org/c/haiku/+/10823
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: John Scipione <[email protected]>
Haiku-Format: Haiku-format Bot <[email protected]>
2026-04-23 19:04:29 +00:00
John Scipione b8bae43e9b Tracker: Never scroll Desktop, fixes #20046
Change-Id: I33d05009956585577c02741e851741600b7d9002
Reviewed-on: https://review.haiku-os.org/c/haiku/+/10821
Haiku-Format: Haiku-format Bot <[email protected]>
Reviewed-by: waddlesplash <[email protected]>
2026-04-16 20:39:17 +00:00
John Scipione 6832fbac47 BWindow docs: add warning about MenusBeginning() in DispatchMessage()
... and how it only works when B_COMMAND_KEY is held down.

Change-Id: I16bf381516e7b070187750202e69c5a0cd1c8d6e
Reviewed-on: https://review.haiku-os.org/c/haiku/+/10723
Reviewed-by: John Scipione <[email protected]>
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: waddlesplash <[email protected]>
Haiku-Format: Haiku-format Bot <[email protected]>
2026-04-16 19:37:21 +00:00
John Scipione fc680cb372 Mail: Update message body text color automatically.
Make text color document text not panel text by default.
mix_colors for diff colors like we do for quote colors.

Update color formatting but not the values. Set opacity to 0xff.
grey => gray (US English standard spelling).

Change-Id: If26efe8c2d9086aa049028b396921b8702a1093e
Reviewed-on: https://review.haiku-os.org/c/haiku/+/9984
Reviewed-by: John Scipione <[email protected]>
Tested-by: Commit checker robot <[email protected]>
2026-04-16 19:36:35 +00:00
John Scipione 021819e679 BMenu: Turn on sticky mode and obscure cursor on nav key press.
B_HOME and B_END are considered nav keys however they are not yet
implemented (but they were implemented on BeOS).

Change-Id: Ib30eb60ab26e1a06151836e8bc4a5ce24e403b40
Reviewed-on: https://review.haiku-os.org/c/haiku/+/10731
Reviewed-by: John Scipione <[email protected]>
Tested-by: Commit checker robot <[email protected]>
2026-04-16 19:36:03 +00:00
John Scipione c97f0f30b0 Tracker: Search packagefs volumes on "All disks" and boot volume.
We're pretending these volumes are part of the boot volume although
they're not.

Change-Id: Ieab623bb22c08730a068adcded40f52e7769a02c
Reviewed-on: https://review.haiku-os.org/c/haiku/+/10805
Reviewed-by: John Scipione <[email protected]>
Haiku-Format: Haiku-format Bot <[email protected]>
Reviewed-by: waddlesplash <[email protected]>
2026-04-13 22:41:12 +00:00
John Scipione 3ca8baed07 Tracker: SetTarget() on MoveToTrashItem() construction
... because B_NO_COMMAND_KEY shortcuts don't get registered on key down
anymore, so we have to set the target right away for this to work.

Setting target in the constructor only works becauese this menu item is
not not added dynamically.

Change-Id: I368bf91e286509c2a5d584a87bda7aea48d98a4f
Reviewed-on: https://review.haiku-os.org/c/haiku/+/10803
Haiku-Format: Haiku-format Bot <[email protected]>
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: waddlesplash <[email protected]>
2026-04-13 19:22:08 +00:00
John Scipione 026ca93095 Tracker: Update Filetypes menu when a mime type changes.
Fixes #20032.

Change-Id: I31292b2db36bc370fad07152297449a3090b561a
Reviewed-on: https://review.haiku-os.org/c/haiku/+/10727
Reviewed-by: waddlesplash <[email protected]>
Haiku-Format: Haiku-format Bot <[email protected]>
Tested-by: Commit checker robot <[email protected]>
2026-04-13 16:04:25 +00:00
John Scipione 5a357cf094 FileTypes: Replace Tracker signature with one from tracker_private.h
Change-Id: I3f95ae29af3e9fba4189551749af1d58149506ec
Reviewed-on: https://review.haiku-os.org/c/haiku/+/10725
Reviewed-by: waddlesplash <[email protected]>
Tested-by: Commit checker robot <[email protected]>
Haiku-Format: Haiku-format Bot <[email protected]>
2026-04-13 16:04:25 +00:00
John Scipione 6e64d5681f Tracker: Tell pose view on Desktop to update its colors and replicant colors
... on B_RESTORE_BACKGROUND_IMAGE (which sets the Desktop color or wallpaper).

Remove kRestoreBackgroundImage, preferring the B_ version we got from
Backgrounds (and represents the same constant). Tracker already imported
this constant long ago.

Fixes #20028.

Change-Id: I6c59f4ddd1b2a7ec0d5e90fe6a8a9671dc66d50e
Reviewed-on: https://review.haiku-os.org/c/haiku/+/10729
Reviewed-by: waddlesplash <[email protected]>
Tested-by: Commit checker robot <[email protected]>
2026-04-13 16:02:04 +00:00
John Scipione 132ee49626 Backgrounds: Replace Tracker signature with one from tracker_private.h
Change-Id: I8619681e92753ce9300e562e67ebcafa406c84b4
Reviewed-on: https://review.haiku-os.org/c/haiku/+/10728
Tested-by: Commit checker robot <[email protected]>
Haiku-Format: Haiku-format Bot <[email protected]>
Reviewed-by: waddlesplash <[email protected]>
2026-04-13 16:02:04 +00:00
John Scipione adf70d6201 Tracker: Filter out 0 capacity volumes from Targets.
This includes the "config" and "system" pseudo-volumes.

Change-Id: I3e1f19e1926dc45b801e38dbe5cdf34700addea5
Reviewed-on: https://review.haiku-os.org/c/haiku/+/9742
Reviewed-by: nephele nephele <[email protected]>
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: waddlesplash <[email protected]>
2026-04-13 03:07:45 +00:00
John Scipione 78afa49561 BWindow: Only try to install new menu shortcuts if B_COMMAND_KEY is down.
This is too expensive to do on every key press, and became a problem
when #7078 was fixed in hrev58589. Fixes #19580.

Change-Id: Iff2d2c208fa976f1f5db6a369820d8210f2e4c4e
Reviewed-on: https://review.haiku-os.org/c/haiku/+/10706
Reviewed-by: waddlesplash <[email protected]>
Tested-by: Commit checker robot <[email protected]>
2026-04-10 02:06:13 +00:00
John Scipione 76afa5f534 Tracker: Trash entry must be set, otherwise bad things happen.
Follow up to hrev59580. Preload Trash icon again. We need to
Refresh cache in TrashWatcher::Run(), remove the rest.

Fixes #20026.

Change-Id: Ie39fff508c936819067eed198f5b801de2662ba8
Reviewed-on: https://review.haiku-os.org/c/haiku/+/10689
Reviewed-by: John Scipione <[email protected]>
Reviewed-by: waddlesplash <[email protected]>
2026-04-08 22:11:23 +00:00
John Scipione 749584f78e Tracker: Preload Trash icon manually, fixes #8696.
Change-Id: I171e6ee9305d4840e408a3b1c001fa5028d0bd95
Reviewed-on: https://review.haiku-os.org/c/haiku/+/10653
Reviewed-by: waddlesplash <[email protected]>
Tested-by: Commit checker robot <[email protected]>
2026-04-06 12:06:53 +00:00
John Scipione 734225977f Tracker: Fix minor logic error in Paste item disabled status
... and exclude some more folders from Paste. Gating is
consolidated in "Paste into folder".

Use TargetIsReadOnly() to get parent, not selection.

We want the opposite logic compared to "Paste into folder", we
want to ignore the selected folder or volume's read-only status
and get the read-only status of the parent.

For example File => Paste on config volume in home should be
allowed even though config is a read-only volume. We're _not_
pasting to config, we're pasting to home which is writable.

We want the opposite logic of "Paste in folder" (selection).

Change-Id: Ib13b3a007b86b8d355c994f252f7beb320494c8c
Reviewed-on: https://review.haiku-os.org/c/haiku/+/9895
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: John Scipione <[email protected]>
Haiku-Format: Haiku-format Bot <[email protected]>
2026-04-05 17:29:05 +00:00
John Scipione 2140f38b02 Tracker: Minor simplifications, remove overload methods.
Change-Id: I4f1c270039d8d863bbd109250bd204672cc4b179
Reviewed-on: https://review.haiku-os.org/c/haiku/+/9894
Reviewed-by: John Scipione <[email protected]>
2026-04-05 17:29:05 +00:00
John Scipione 75628f3bac Tracker: Move CreateTrashPose() to DesktopPoseView and simplify
Add AddPosesCompleted() override in DesktopPoseView.

Better Desktop checking (by use passed in param).

Add an IconAttrChanged() convenience method that checks for icon
attribute changes only. AttrChanged() calls this and then checks
a couple of other attributes.

Change-Id: Id7d399eaea3ca2f97083c93ebfb9157327ae4f0d
Reviewed-on: https://review.haiku-os.org/c/haiku/+/10638
Reviewed-by: waddlesplash <[email protected]>
Tested-by: Commit checker robot <[email protected]>
2026-03-31 17:04:07 +00:00
John Scipione 290c47d7bd Tracker: Rename to UpdateTrashIcon singular and simplify.
Change-Id: Id86039a4f02d18e78c243de6d743a6bb8399853a
Reviewed-on: https://review.haiku-os.org/c/haiku/+/10637
Reviewed-by: waddlesplash <[email protected]>
Tested-by: Commit checker robot <[email protected]>
2026-03-31 17:04:07 +00:00
John Scipione 3d8e280ccf Tracker: Skip 0 capacity volumes from Trash.
(system & packages)

Change-Id: I62ac9c4496f357de00d3c1579f22b7fda2728ea4
Reviewed-on: https://review.haiku-os.org/c/haiku/+/10636
Reviewed-by: waddlesplash <[email protected]>
Tested-by: Commit checker robot <[email protected]>
2026-03-31 17:04:07 +00:00
John Scipione 0f098ae692 Tracker: Check FSGetTrashDir() status, GetNextRef() is faster
Change-Id: I4f700a9170bc86aea73e4f9959ef05d1a4ddd6da
Reviewed-on: https://review.haiku-os.org/c/haiku/+/10635
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: waddlesplash <[email protected]>
2026-03-31 17:04:07 +00:00
John Scipione b283cb27dc Tracker: Foregin => Foreign typo fix, remove old defines
Change-Id: I01ca540abaf62e5cd9cea393eec94594fc5f0d91
Reviewed-on: https://review.haiku-os.org/c/haiku/+/10634
Reviewed-by: waddlesplash <[email protected]>
Tested-by: Commit checker robot <[email protected]>
2026-03-31 17:04:07 +00:00
John Scipione 3c0110ad24 Tracker: sbuf => statbuf used elsewhere, check GetStat() status.
Change-Id: I08515297712f1b36a513d944847c1383ba4e8158
Reviewed-on: https://review.haiku-os.org/c/haiku/+/10633
Reviewed-by: waddlesplash <[email protected]>
Tested-by: Commit checker robot <[email protected]>
2026-03-31 17:04:07 +00:00
John Scipione 5187da4c76 Tracker: trash_dir to trashDir and call FSSetPoseLocation()
Set status_t appropriately in FSSetPoseLocation()

Change-Id: I7cadc4ff1727906ec44992c74d2f3c057ab1cc5f
Reviewed-on: https://review.haiku-os.org/c/haiku/+/10632
Reviewed-by: waddlesplash <[email protected]>
Tested-by: Commit checker robot <[email protected]>
2026-03-31 17:04:07 +00:00
John Scipione 2d172c081f Tracker: Style issues related to Trash pose
Change-Id: I33dda6b353e91ec3c34835ac955e8946a4d203c1
Reviewed-on: https://review.haiku-os.org/c/haiku/+/10631
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: waddlesplash <[email protected]>
2026-03-31 17:04:07 +00:00
John Scipione 3180756b92 Tracker: Make Trash pose invisible on boot volume.
This means that the Trash icon will no longer appear
on the boot volume, only on Desktop. It's still there
just invisible and should not have been visible.

Change-Id: I1c95b39667af1603d8114b29185a352b047787cb
Reviewed-on: https://review.haiku-os.org/c/haiku/+/10421
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: waddlesplash <[email protected]>
2026-03-31 17:04:07 +00:00
John Scipione 81a9d6db7c Tracker: Minor tab => space style fix
Change-Id: I0413c53fc4aa03e907194843ee95cae83cf8bd0c
Reviewed-on: https://review.haiku-os.org/c/haiku/+/10420
Reviewed-by: Adrien Destugues <[email protected]>
Tested-by: Commit checker robot <[email protected]>
2026-03-09 16:45:27 +00:00
John Scipione ed34c67cdb Tracker: attrHash variable minor code simplication.
Change-Id: I609148f32ced27a19d8ffcf102ae3abce3894cb9
Reviewed-on: https://review.haiku-os.org/c/haiku/+/10419
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: waddlesplash <[email protected]>
2026-03-09 16:45:27 +00:00
John Scipione f41b44fa34 Tracker: Place window background images at top-left of extent
... instead of top-left of view bounds.

This only affects backgrounds inside windows (not on Desktop).

The view bounds may be scrolled over but we don't want to draw the
background from the scrolled over position, we want to draw from
the top-left of the window which is the top-left of the extent.

We also have to set the icon origin in the view state to the extent
instead of the view because it will be different if scrolled.

Change-Id: Ieff9d0a66086d116d46ffbd713b2dcd45d312870
Reviewed-on: https://review.haiku-os.org/c/haiku/+/10413
Haiku-Format: Haiku-format Bot <[email protected]>
Reviewed-by: waddlesplash <[email protected]>
2026-03-04 22:42:42 +00:00
John Scipione c91678c156 Tracker: We only need to consider visible poses for extent
... if filtering use filtered pose list instead.

Change-Id: I77c666a6c061a3ac0d1c1174f7bd430ff7ce22c9
Reviewed-on: https://review.haiku-os.org/c/haiku/+/10412
Haiku-Format: Haiku-format Bot <[email protected]>
Reviewed-by: waddlesplash <[email protected]>
2026-03-04 22:42:42 +00:00
John Scipione e8633deca7 Tracker: FrameResized() handling only on Desktop
... not on Desktop windows.

Change-Id: I7bcfac19b54fb2b1e94438143403fe6880a3090e
Reviewed-on: https://review.haiku-os.org/c/haiku/+/10411
Haiku-Format: Haiku-format Bot <[email protected]>
Reviewed-by: waddlesplash <[email protected]>
2026-03-04 22:42:42 +00:00
John Scipione 8d82659f43 Tracker: Fix Desktop window vs. actual Desktop menu items.
Fixes menu item portion of #19947.

Change-Id: If6e55eb16649d54008056b451d5e57e2dcd52c1c
Reviewed-on: https://review.haiku-os.org/c/haiku/+/10395
Haiku-Format: Haiku-format Bot <[email protected]>
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: waddlesplash <[email protected]>
2026-02-28 13:20:52 +00:00
John Scipione 1d20c1fb5c Tracker: Disallow background image on Desktop windows.
Custom background image is disallowed on the Desktop folder and Root
aka "Disks" folder. However, you may use a default background image.

We store the background image on the node, Desktop window and the
actual Desktop share the same node so we have to explicitly disallow
background images from showing on Desktop windows.

Make UpdateBackgroundImage() protected.

Remove unused BDeskWindow::UpdateDesktopBackgroundImages();

Handle all background image code in ContainerWindow. BPoseView calls
its window if targetted to update its background image.

Fixes Desktop background portion of #19947.

Change-Id: I4b104340b5a69807961b99bde7b0455d7d58065a
Reviewed-on: https://review.haiku-os.org/c/haiku/+/10392
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: waddlesplash <[email protected]>
2026-02-28 13:20:52 +00:00
John Scipione a89c4cc6e9 Tracker: Revert SortPoses() change from hrev59185. Fixes #19946.
Change-Id: I0d4ab3a15c13ad1dd81b52a6f588d2ed09772a4d
Reviewed-on: https://review.haiku-os.org/c/haiku/+/10394
Haiku-Format: Haiku-format Bot <[email protected]>
Reviewed-by: waddlesplash <[email protected]>
2026-02-27 21:14:42 +00:00
John Scipione 4021001fa2 Tracker: Pedantic attrHash int32 => uint32 type fix.
Should have no practical effect.

Change-Id: I5160e8a670c9f36c00d513e60e519148406e1715
Reviewed-on: https://review.haiku-os.org/c/haiku/+/10393
Haiku-Format: Haiku-format Bot <[email protected]>
Reviewed-by: waddlesplash <[email protected]>
2026-02-27 21:14:42 +00:00
John Scipione c53e74e22f Deskbar: style fixes related to preferences
Change-Id: I4405937066c5a1a78c63137fefa63a79f295a2a6
Reviewed-on: https://review.haiku-os.org/c/haiku/+/10327
Tested-by: Commit checker robot <[email protected]>
Haiku-Format: Haiku-format Bot <[email protected]>
Reviewed-by: nephele nephele <[email protected]>
2026-02-13 12:17:08 +00:00
John Scipione 71dc2a086c Tracker: Draw dragged pose text selected, fixes #18572
Note this is a change to how BeOS R5 and Haiku has always worked.

Drawing dragged poses as selected ensures that the text can be read
even on black on black or white on white because the selection rect
creates contrast.

Lessen contrast by blending with gray when selected and cut, even
more when window is unfocused.

Pose text on Desktop is inverted compared to in a folder by default
so this bug typically occurs when dragging to and from Desktop.

Change-Id: Icb1ee7ccbf9b5e2d8c3a4b89c6b90e19da15c917
Reviewed-on: https://review.haiku-os.org/c/haiku/+/9520
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: humdinger humdinger <[email protected]>
Reviewed-by: Adrien Destugues <[email protected]>
2026-02-13 04:21:27 +00:00
John Scipione 3e7a109936 fat: Change device_name to B_DEV_NAME_LENGTH bytes and use strlcpy().
Change-Id: Icd07bb4c23ce27d2f1361c66b1634c7f2be5d131
Reviewed-on: https://review.haiku-os.org/c/haiku/+/9891
Reviewed-by: Oscar Lesta <[email protected]>
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: Adrien Destugues <[email protected]>
2026-01-01 08:36:35 +00:00
John Scipione 9d432d1b00 fs_info: Use B_DEV_NAME_LENGTH instead of 128 and remove TODO.
Change-Id: I2c93aee052ac4393512d457e1e84c969e5a927f9
Reviewed-on: https://review.haiku-os.org/c/haiku/+/10131
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: Adrien Destugues <[email protected]>
2026-01-01 08:36:35 +00:00
John Scipione 08ce5659a4 Mail: Update text control colors automatically.
Remove SetStylable() call making it false.

Update low and high colors in _UpdateTextViewColors().

Update colors when B_COLORS_UPDATED message is received.

Change-Id: Iad3e3d9f46b922c7cf68e20cd7788d0d0efcb0b5
Reviewed-on: https://review.haiku-os.org/c/haiku/+/10010
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: John Scipione <[email protected]>
2025-12-31 19:24:27 +00:00
John Scipione eb506aedcd Mail: Make read-only/disabled fields navigable and selectable
Always MakeSelectable(), MakeEditable() in SetEnabled().

Get rid of fEditable and fWindowActive. Get rid of IsEditable(),
SetEditable(), IsSelectable and SetSelectable().

Change-Id: Iab07097b2692ef6d9d7ed41b0fab45a2df99e261
Reviewed-on: https://review.haiku-os.org/c/haiku/+/10009
Reviewed-by: John Scipione <[email protected]>
Tested-by: Commit checker robot <[email protected]>
2025-12-31 19:24:27 +00:00
John Scipione adce07dae3 Mail: Style fixes related to text control color updates.
Change-Id: I3e642194ecad877f75f13e0031b9b234541f19aa
Reviewed-on: https://review.haiku-os.org/c/haiku/+/10008
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: John Scipione <[email protected]>
2025-12-31 19:24:27 +00:00
John Scipione 9215b337a9 AboutSystem: Live update credit text view colors
Change-Id: Ibf5737f3724451f1e4e1a0272333e66759cc72e5
Reviewed-on: https://review.haiku-os.org/c/haiku/+/10132
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: nephele nephele <[email protected]>
2025-12-31 12:54:15 +00:00
John Scipione 783ceb6c24 Tracker: Sort volumes before folders if you have "List folders first"
setting turned on (default on). Implements #19807

Sort root (aka Disks) before volumes and folders.

strcasecmp => NaturalCompare in one more case.

Change-Id: Ib907ae07edd47e802dcf4263e1bd676e1fa074ae
Reviewed-on: https://review.haiku-os.org/c/haiku/+/9761
Reviewed-by: humdinger humdinger <[email protected]>
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: John Scipione <[email protected]>
2025-11-30 19:05:25 +00:00
John Scipione b109d591fa Tracker: File panel responds to Tracker Window settings.
Change-Id: Ie9cf791566a20b4d44987ee84a7a34e78cccd136
Reviewed-on: https://review.haiku-os.org/c/haiku/+/9763
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: John Scipione <[email protected]>
2025-11-30 19:05:25 +00:00
John Scipione d7022afd57 Tracker: Simplify adding/removing poses when mounting/unmounting
... and sorting.

Change-Id: Ia72e85d12682d4f77200629f3f5f278a9a40c423
Reviewed-on: https://review.haiku-os.org/c/haiku/+/9890
Reviewed-by: John Scipione <[email protected]>
Tested-by: Commit checker robot <[email protected]>
2025-11-30 19:05:25 +00:00
John Scipione 1584b1ecab Tracker: BPoseView replace BView with _inherited and style fixes.
Change-Id: Ic24f4ee3831a94a659cc584e5b4393f08695061d
Reviewed-on: https://review.haiku-os.org/c/haiku/+/9889
Reviewed-by: John Scipione <[email protected]>
Tested-by: Commit checker robot <[email protected]>
2025-11-30 19:05:25 +00:00
John Scipione 8df94f989a Appearance: Compose fake scroll bar height.
Change-Id: Ife4d1f6f73934ac23b3d81cb7a249d0579377464
Reviewed-on: https://review.haiku-os.org/c/haiku/+/9896
Reviewed-by: John Scipione <[email protected]>
Tested-by: Commit checker robot <[email protected]>
2025-11-29 19:36:01 +00:00
John Scipione 46386c023b HaikuControlLook: scroll bar thumb dots 2px wide
... instead of 1px so that they are more visible.

(as requested by CodeforEvolution in #9137)

Change-Id: I7419f0422b89f26ed9d2bb5e7510ff35561643a7
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4333
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: Jessica Hamilton <[email protected]>
Reviewed-by: John Scipione <[email protected]>
2025-11-29 19:36:01 +00:00
John Scipione fe86227a3f BPartition: Return B_BUSY when calling Mount()
... on an already mounted volume.

Change-Id: I7bffa385c6d1850db9106c3ab9a5a66e79165d11
Reviewed-on: https://review.haiku-os.org/c/haiku/+/10024
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: waddlesplash <[email protected]>
2025-11-27 05:16:01 +00:00
John Scipione b5884b112e Tracker: Clear drag data on MouseUp().
The same is done at the top of MouseDown.

Fixes #19402.

Change-Id: I75fe2249a585612c859d80a7a71825b5cb1b1df8
Reviewed-on: https://review.haiku-os.org/c/haiku/+/10026
Reviewed-by: waddlesplash <[email protected]>
Tested-by: Commit checker robot <[email protected]>
2025-11-27 04:10:53 +00:00
John Scipione 5388208c0b Tracker: Fix EditFirstWidget() pose location in icon mode.
The old code works because in icon-mode you have just one row
but this is not the intended way to determine the pose location
in icon mode (and mini-icon mode).

Refactor CommitActivePose() and kEditName in PoseView.

Use CurrentPoseList() to use filtered or regular pose list
(but don't update both).

In practical terms this should do nothing.

Change-Id: Iedafb147a6963bdb1411491be25641141325c1bf
Reviewed-on: https://review.haiku-os.org/c/haiku/+/10025
Reviewed-by: waddlesplash <[email protected]>
Tested-by: Commit checker robot <[email protected]>
2025-11-27 04:10:53 +00:00
John Scipione a8deca6c41 fat: Do not prevent multiple simultaneous mounts.
This was preventing open() from getting the volume icon
once a FAT volume was mounted. This is now handled in the VFS.

Fixes #19303.

Change-Id: I5837bcdd4496b5eda13610e9ded661f1529364ea
Reviewed-on: https://review.haiku-os.org/c/haiku/+/10023
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: waddlesplash <[email protected]>
2025-11-27 04:05:55 +00:00
John Scipione 646294695d AboutSystem: Simplify updating colors.
Change-Id: Ide961bc25e6e84dcac41d6a2b62130e759762e8b
Reviewed-on: https://review.haiku-os.org/c/haiku/+/9773
Reviewed-by: nephele nephele <[email protected]>
Tested-by: Commit checker robot <[email protected]>
2025-11-15 18:38:56 +00:00
John Scipione 0c041e8c47 Tracker: Pass workspaces activated message to Desktop on
... so that replicants can receive it to update their colors.

Forward a workspaces activated message when Desktop color changes
as well for the same reason.

Fixes #19816

Change-Id: I7b8bf8b7decc3ce088881ccb29492db6a41945b9
Reviewed-on: https://review.haiku-os.org/c/haiku/+/9772
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: John Scipione <[email protected]>
2025-11-15 11:34:51 +00:00
John Scipione 7d87f76306 Mail: Don't override default panel bg color in AddressTextControl.
Fixes #19818

Change-Id: I35cdad7593bb95119b3611b68fa6dcbdf731a136
Reviewed-on: https://review.haiku-os.org/c/haiku/+/9861
Reviewed-by: John Scipione <[email protected]>
Tested-by: Commit checker robot <[email protected]>
2025-11-15 09:33:08 +00:00
John Scipione 756b7aa7ca HaikuControlLook: Restore colors in DrawLabel().
Change-Id: I031aab9fdb0b648d5285beb64893fdd5f00b62a8
Reviewed-on: https://review.haiku-os.org/c/haiku/+/9771
Reviewed-by: nephele nephele <[email protected]>
Tested-by: Commit checker robot <[email protected]>
2025-11-11 17:11:00 +00:00
John Scipione be16e7f768 BSlider: Fix text color and also on Desktop replicant.
desklink: Set view color transparent on media volume replicant,
redraw when switching workspaces as background color may change.

HaikuControlLook and BeControlLook: Update label text color on
Desktop to black or white depending on background color. Ignore
passed in text color on Desktop. Disabled text tinting also
applies to Desktop text color.

Fixes #19700 (properly), #19800

Change-Id: I351bc046721297e85166dd8bd3a2ba63fe2cd09f
Reviewed-on: https://review.haiku-os.org/c/haiku/+/9770
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: nephele nephele <[email protected]>
2025-11-11 17:10:13 +00:00
John Scipione 6c9c1b32e0 BControl: Don't set colors in AttachedToWindow().
BButton background drawing issues from hrev49993 has been fixed
by nephele's recent control color updates. This frees BControl
classes to be able to draw their background transparent.

Change-Id: Ic739782807f91deb11f7e1a3c3c9e2ef60734334
Reviewed-on: https://review.haiku-os.org/c/haiku/+/9782
Reviewed-by: nephele nephele <[email protected]>
Tested-by: Commit checker robot <[email protected]>
2025-11-11 17:10:13 +00:00
John Scipione 142022d4c8 Appearance & Terminal: Cleanup cruft and fix minor style issues.
Change-Id: I1b1d50763f2058870d5cfd1600f6f67f0b4733f5
Reviewed-on: https://review.haiku-os.org/c/haiku/+/9778
Reviewed-by: waddlesplash <[email protected]>
Tested-by: Commit checker robot <[email protected]>
2025-11-11 17:03:00 +00:00
John Scipione 8c7f77a0b2 Tracker: Limit hit rect to the icon and label in icon mode
(and mini-icon mode).

This fixes a regression from R1B5 allowing you to click on the blank
area to the left or right of the icon of a file with a long filename
to select it. You once again have to click on either the icon or the
label to select the file.

Fixes #19753

Change-Id: Iae8b7c4561f2bfdda1361d4bbee4e87ecde2bb06
Reviewed-on: https://review.haiku-os.org/c/haiku/+/9745
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: Adrien Destugues <[email protected]>
2025-10-30 03:51:10 +00:00
John Scipione a6432a2ba0 Tracker: FilePanel Redirect file panel delete shortcuts to pose view.
Fixes #19717

Change-Id: If53505fc83be09c2fca9b03cd582bfc75f58765b
Reviewed-on: https://review.haiku-os.org/c/haiku/+/9608
Reviewed-by: waddlesplash <[email protected]>
Reviewed-by: John Scipione <[email protected]>
Tested-by: Commit checker robot <[email protected]>
2025-10-27 18:31:23 +00:00
John Scipione b5f002d66f Tracker: Add "Edit query" and "Close all in workspace" to Query window
Fixes #19759

Change-Id: I547e38c46c2f9abf369a0278b433fa01ac911477
Reviewed-on: https://review.haiku-os.org/c/haiku/+/9666
Reviewed-by: waddlesplash <[email protected]>
Tested-by: Commit checker robot <[email protected]>
2025-10-27 18:24:26 +00:00
John Scipione 17a87a2077 Tracker: Add Disks to Desktop nav menu if "Show Disks" setting is on.
Rename AddRootItemsIfNeeded() to AddVolumeItems().

Fixes #19720

Change-Id: I866b7364012b2d267809d9f49059ef531ec4a24f
Reviewed-on: https://review.haiku-os.org/c/haiku/+/9741
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: humdinger humdinger <[email protected]>
Reviewed-by: waddlesplash <[email protected]>
2025-10-27 16:28:45 +00:00
John Scipione a20098f186 libsolv: Define HAVE_STRCHRNUL on darwin
src/libs/libsolv/solv/repodata.c:246:27: error: static declaration of
'strchrnul' follows non-static declaration
  246 | static inline const char *strchrnul(const char *str, char x)

Change-Id: I4a93b1c361ba32d3984567ca24bd1d473a252555
Reviewed-on: https://review.haiku-os.org/c/haiku/+/9740
Reviewed-by: waddlesplash <[email protected]>
Tested-by: Commit checker robot <[email protected]>
2025-10-27 15:33:41 +00:00
John Scipione 82fb83956a BSlider: Set text to panel colors. Fixes #19700
Change-Id: If5b16052a093dbd19c0e85b53d604ed36903710e
Reviewed-on: https://review.haiku-os.org/c/haiku/+/9581
Reviewed-by: nephele nephele <[email protected]>
Tested-by: Commit checker robot <[email protected]>
2025-08-06 22:13:18 +00:00
John Scipione 7061f99814 Tracker: Rebuild add-on menus using node monitoring in fewer cases.
Change-Id: I5825a94cab14feb509e96c7d0c85848abf28cb37
Reviewed-on: https://review.haiku-os.org/c/haiku/+/9073
Reviewed-by: waddlesplash <[email protected]>
2025-08-05 15:57:19 +00:00
John Scipione 2ff08f46cb Tracker: Replace an instance of static_cast with dynamic_cast
No fundamental change here, Tracker might be used as a kit and
this will fail as be_app is not Tracker.

Change-Id: I1e2d8e143e996c008cd03771d34f20198d8109c8
Reviewed-on: https://review.haiku-os.org/c/haiku/+/9577
Reviewed-by: waddlesplash <[email protected]>
2025-08-03 22:50:43 +00:00
John Scipione e32d782cb4 Tracker: Allow draggable container icon on Root, Trash and Printers
Use new DraggableContainerIcon name when invalidating icon.

Create a ShouldHaveDraggableFolderIcon() method on BContainerWindow
to consolidate the gating logic to a method.

We alert if you try and copy, move or create link to any of these
directories, however you may drag the icon in some instances such as
to change the directory in a file panel or to open the directory up
in FileTypes. You may create a link to the printers directory.

Set the Printer icon on the printers directory.

Fixes #3385

Tracker: Disks menu in CountView

* Open Disks directory on click.
* Skip volumes with no capacity (e.g. system, config) from
  Root and Desktop menus (still shown in Home and volumes though).
* No Trash on volumes, add only to Desktop.
* Declare some variables outside loop.
* Rename originatingWindow to source.

Fixes #3549

Change-Id: I66318d2485a5a8405f5459c355a467f34e19ecc5
Reviewed-on: https://review.haiku-os.org/c/haiku/+/9499
Reviewed-by: John Scipione <[email protected]>
Tested-by: Commit checker robot <[email protected]>
2025-07-30 04:07:05 +00:00
John Scipione f1cc4cf8cb Tracker: Truncate name better in icon mode, don't draw outside.
The max width of the file name was getting set by the width of the
name column, even in icon mode. Use an arbitrary max width of 30em
for the name field in icon (and mini-icon) mode instead.

Set fValueIsDefined on name and other attributes.

Do not attempt to truncate name if !fValueIsDefined, this means
that the value is "-" to show that it is undefined. We assume this
should fit and there is no way to truncate the value.

If the value is later defined it is marked fDirty to truncate it
to the available space.

Fixes #19431

Change-Id: I4cb7953bc746039600ee578b4fa6b786c802bdf8
Reviewed-on: https://review.haiku-os.org/c/haiku/+/9516
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: John Scipione <[email protected]>
2025-07-30 04:02:39 +00:00
John Scipione 08bdab7600 Tracker: Fix remaining drawing artifacts, last part of #18826
Change-Id: I9483d67bfb98207e1cde726aaa00df6031933f3c
Reviewed-on: https://review.haiku-os.org/c/haiku/+/9496
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: John Scipione <[email protected]>
2025-07-30 04:02:39 +00:00
John Scipione 64334a1580 Tracker: Redraw Trash icon when pose attribute updates.
* Don't set Trash icon in FSGetTrashDir anymore, do it in TrashWatcher.
* Write vector icon to attr or large/mini icon attrs, but not both.
* Only update Trash icon attribute on boot volume, not the hidden trash
  folder on other volumes.
* Monitor Trash icon attribute changes by TrashWatcher in BPoseView.
* Get rid of ShouldUseWellKnownIcon(), update ResetIconFrom().
* Remove model param from BPose::UpdateWidgetAndModel() and always use
  the ResolvedModel() of the pose instead.
* Pass poseLoc into BPose::UpdateWidgetAndModel() in icon-mode.
* Workaround for GetAttrInfo() failing to update removed icon attrs.
* Check fNode not NULL in Model::StatChanged() to prevent crash when
  unmounting volumes with trashed items.
* Filter out 0 capacity volumes checking for Trash directory.

Fixes #8696

Change-Id: Ief2efc07c85866cc0e49468c668e47ec90b855af
Reviewed-on: https://review.haiku-os.org/c/haiku/+/9458
Reviewed-by: waddlesplash <[email protected]>
Reviewed-by: John Scipione <[email protected]>
Tested-by: Commit checker robot <[email protected]>
2025-07-30 04:00:12 +00:00
John Scipione d4b0e30b56 Tracker: Write Desktop vector icon attr or large/mini icon attrs
... but not both.

Change-Id: I4bb38e011dcef0e6bbc092c9acf6a826bd867d30
Reviewed-on: https://review.haiku-os.org/c/haiku/+/9477
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: John Scipione <[email protected]>
Reviewed-by: nephele nephele <[email protected]>
2025-07-30 04:00:12 +00:00
John Scipione 091cc6357e Tracker: Set location in BPoseView::UpdateIcon() for icon-mode.
Change-Id: I8d4fea5eea7a19daedd31bd81cd59270a2b56720
Reviewed-on: https://review.haiku-os.org/c/haiku/+/9476
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: waddlesplash <[email protected]>
2025-07-30 04:00:12 +00:00
John Scipione 43db356db7 Tracker: GetInt32() instead of FindInt32() when getting opcode
FindInt32() works in this case but is deprecated.

No functional change intended.

From the BeBook BMessage page:
"Several functions, such as FindRect() and FindInt32(), have versions
that return the found value directly. These versions don't report errors
and may not be supported in the future."

Change-Id: Ida979153dd00e247c2174edd73d0019752b388f8
Reviewed-on: https://review.haiku-os.org/c/haiku/+/9079
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: waddlesplash <[email protected]>
2025-07-28 21:26:42 +00:00
John Scipione 448e39f9c3 Tracker: Fix esc to cancel type-ahead filtering in file panels
... by redirecting message to the PoseView. Filter out lock modifiers.

Fixes #13151

Change-Id: I0a17334aeb3b04b6271dec47e58aa4933ec6a0a5
Reviewed-on: https://review.haiku-os.org/c/haiku/+/9525
Reviewed-by: John Scipione <[email protected]>
Tested-by: Commit checker robot <[email protected]>
2025-07-28 12:34:49 +00:00
John Scipione f5dffd5ca3 Tracker: Filter out lock modifiers on Open with window
Change-Id: I73bd38b3596a9f9d5793df4bd11f32c62d6e7eff
Reviewed-on: https://review.haiku-os.org/c/haiku/+/9524
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: John Scipione <[email protected]>
2025-07-28 12:34:49 +00:00
John Scipione abc4a28949 Tracker: File panel misc style fixes
Change-Id: I6376e52d26ac05e0f591c2484a7c7301cee6166b
Reviewed-on: https://review.haiku-os.org/c/haiku/+/9523
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: John Scipione <[email protected]>
2025-07-28 12:34:49 +00:00
John Scipione 24f4871106 BWindow: fix Quit shortcut, uppercase the inputted key
Change-Id: Ic6c80fc0cce033bcffcd7f0934a9ecf7f6825c00
Reviewed-on: https://review.haiku-os.org/c/haiku/+/9521
Reviewed-by: X512 X512 <[email protected]>
Reviewed-by: waddlesplash <[email protected]>
Tested-by: Commit checker robot <[email protected]>
2025-07-26 17:37:59 +00:00
John Scipione f21782699a Tracker: Show mounted volumes on Desktop in file panels again
Add switch to Desktop and Home shortcuts. Fixes #15148
Show Volumes or Disks on Desktop in file panel. Fixes #19547

Rename Add/RemoveRootPoses() to Add/RemoveVolumePoses().
Use default Tracker values when adapting to setting changes.

Bring ShowVolumes() into BPoseView and apply the same logic
used by file panel to DesktopPoseView to switch between Disks
and volumes on Desktop.

Add Disks or volumes to file panel in BPoseView instead.

When you set Show Disks or Show Volumes, set the other as well,
they are opposites of each other.

Remove unnecessary params related to adding/removing volumes.

Rename ShowVolumes() to ToggleDisksVolumes() and move to BPoseView.
Create IsVolumesRoot() to identify Desktop in a file panel.

Change-Id: Id250aa6cf7386c7988017a9edbdb16ec9cea00ba
Reviewed-on: https://review.haiku-os.org/c/haiku/+/9503
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: Adrien Destugues <[email protected]>
2025-07-23 23:05:51 +00:00
John Scipione c16a8cad1a Storage Kit: Add support for FAT16 type
Change-Id: I626550b83179e5ad429ed7b8ebc6b8d320446cbe
Reviewed-on: https://review.haiku-os.org/c/haiku/+/8959
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: Adrien Destugues <[email protected]>
2025-07-21 10:46:06 +00:00
John Scipione b58c23c7c6 Menu docs: fix typo
Change-Id: Icc789b5d2652dca3a64c3bbc5572821747efa75d
Reviewed-on: https://review.haiku-os.org/c/haiku/+/9438
Reviewed-by: waddlesplash <[email protected]>
2025-07-02 19:12:03 +00:00
John Scipione e362f604f4 Revert Interface Kit: BWindow owns (and deletes) menu sem and friends
This reverts commits:
39083dd0f7
0f430ba35c
ac55439364

Fixes #19553

Change-Id: I40f9a694079d4376221099e1d1b99208aeb207b7
Reviewed-on: https://review.haiku-os.org/c/haiku/+/9416
Reviewed-by: waddlesplash <[email protected]>
Tested-by: Commit checker robot <[email protected]>
2025-06-30 17:43:51 +00:00
John Scipione b515400884 BButton: Document AdoptSystemColors() and HasSystemColors() in the Haiku Book.
Change-Id: Ibe72cc796738e90beee9388eaba95342ab48640d
Reviewed-on: https://review.haiku-os.org/c/haiku/+/8898
Reviewed-by: Adrien Destugues <[email protected]>
Tested-by: Commit checker robot <[email protected]>
2025-06-30 14:57:07 +00:00
John Scipione 15c87be3ea ColorListView: Handle color dropped on unselected
Remove shared message handling from ColorListView,
you are expected to implement this yourself and these
message constants were not actually being used by
the message target.

Do color drop handling in Appearance and Terminal.
Handle all color drops in WasDropped().

Allow current selection to remain, only update color.
TODO Changing selection on external drops should be
fixed in BListView. Work-around in BColorListView.

Fixes #19562

Change-Id: Ic99bbb1288fd736778eac831d38e453122815abc
Reviewed-on: https://review.haiku-os.org/c/haiku/+/9296
Reviewed-by: John Scipione <[email protected]>
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: waddlesplash <[email protected]>
2025-06-30 14:56:42 +00:00
John Scipione 0d91cd6464 Tracker: Add Paste item to volume window context menu
Change-Id: Iaa8b992011510364cf1eb9a3f0e6a6e749eefe5f
Reviewed-on: https://review.haiku-os.org/c/haiku/+/8955
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: John Scipione <[email protected]>
2025-06-30 14:55:52 +00:00
John Scipione 76f3ceaadc Deskbar: Reduce window height by 1 in mini-mode
Adjust tray icons and clock to fit accordingly. Leaf menu height is
reduced by 1 in vertical mode to match.

This makes the overlap of maximized windows and Deskbar less noticeable,
especially in horizontal mini-mode.

Fixes #16231

Change-Id: I622d008ee093e018ebcb46e3c45647577f46184f
Reviewed-on: https://review.haiku-os.org/c/haiku/+/8833
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: John Scipione <[email protected]>
Haiku-Format: Haiku-format Bot <[email protected]>
2025-06-30 14:54:49 +00:00
John Scipione bcea01a853 Tracker: Fix Select shortcut again Fixes #19596
Change-Id: I0652ee11bb66e9b0ce9eaef8f9d7dc4f6975641e
Reviewed-on: https://review.haiku-os.org/c/haiku/+/9320
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: waddlesplash <[email protected]>
2025-06-01 03:09:31 +00:00
John Scipione 60bb9a9f96 BControl docs: Sum up abstract nature of BControl and how to set colors.
Change-Id: I509e5325a8fcfdc3bf75ba3e35c887c93099d3c5
Reviewed-on: https://review.haiku-os.org/c/haiku/+/8980
Haiku-Format: Haiku-format Bot <[email protected]>
Reviewed-by: nephele nephele <[email protected]>
Tested-by: Commit checker robot <[email protected]>
2025-05-26 20:08:52 +00:00
John Scipione cb4a168e37 Tracker: menu parameter is ambiguous, rename to parent instead
Change-Id: I9a8811ff8c142efcdfbebae0c2b6e438290eafcd
Reviewed-on: https://review.haiku-os.org/c/haiku/+/9061
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: waddlesplash <[email protected]>
2025-03-04 14:50:27 +00:00
John Scipione 39083dd0f7 BMenu: Fix infinite loop regression on right-click drag
... wait while B_INTERRUPTED instead of != B_BAD_SEM_ID.

Change-Id: I58f81762bddec1e7f4b01e2b7806c395632ba992
Reviewed-on: https://review.haiku-os.org/c/haiku/+/9028
Reviewed-by: waddlesplash <[email protected]>
Haiku-Format: Haiku-format Bot <[email protected]>
2025-02-22 05:29:57 +00:00
John Scipione d6c5aee9f9 Tracker: Draw all columns, fixes bug invalidating off-screen columns
AFAIK this has always been this way, however, the confusion seems to
be that pose->CalcRect() takes false for minimal rect while pose->Draw()
takes true for full-draw so they are opposites of each other.

This means we draw all columns on Invalidate(), not just the first one.

Change-Id: I40ddf5fa75b46d6da987fd5d5f83cdc4782fa851
Reviewed-on: https://review.haiku-os.org/c/haiku/+/9019
Reviewed-by: waddlesplash <[email protected]>
2025-02-19 22:05:05 +00:00
John Scipione 6848bca37f Tracker: Raise opacity of dragged and cut items, fixes #19429
Change-Id: If498bb79a55697b2c270f3f21383d3c4f3a3d567
Reviewed-on: https://review.haiku-os.org/c/haiku/+/9014
Reviewed-by: waddlesplash <[email protected]>
2025-02-19 22:05:05 +00:00
John Scipione 40bb2f8c9f Tracker: Make drag fade rect a bit bigger and compose it
Change-Id: I2bfa9b5416cced7627f87613180c6b7c192be0d2
Reviewed-on: https://review.haiku-os.org/c/haiku/+/9013
Reviewed-by: waddlesplash <[email protected]>
Tested-by: Commit checker robot <[email protected]>
2025-02-19 22:05:05 +00:00
John Scipione c24d316399 Tracker: Gray text on selected items in inactive windows, fixes #19428
Change-Id: If73faba3682c5360a15e4e87983d8c377216cb5b
Reviewed-on: https://review.haiku-os.org/c/haiku/+/9017
Reviewed-by: waddlesplash <[email protected]>
2025-02-19 22:05:05 +00:00
John Scipione 82c55a447b Tracker: Use drawView instead of view in one place
Change-Id: I8ae87ca92c0749ce41bc11d1d59dcbcf38d9f25e
Reviewed-on: https://review.haiku-os.org/c/haiku/+/9016
Reviewed-by: John Scipione <[email protected]>
2025-02-19 22:05:05 +00:00
John Scipione 0f430ba35c BMenu: Revert a small piece of hrev58661
Do not _Uninstall() whenever we _Hide() in BMenu again.

Fixes menus in Terminal and elsewhere.

Change-Id: Ic89ee2e4b0a94cc11c7a4091d9ce01e6ff6bb915
Reviewed-on: https://review.haiku-os.org/c/haiku/+/9018
Reviewed-by: waddlesplash <[email protected]>
2025-02-19 20:07:55 +00:00