Ice icon indicating copy to clipboard operation
Ice copied to clipboard

[Bug]: Missing and duplicate items in Menu Bar Items settings

Open yaoyhu opened this issue 1 year ago • 14 comments

CHECK EXISTING AND FREQUENT ISSUES

  • [X] I have searched existing issues, and this bug has not been reported

Description

The hot fix does not seem to be working.

  1. Every time I tried to use the menu bar (use ice bar selected), the ice application would quit.

Screen Recording 2024-07-09 at 11 29 29 PM

  1. It only works when use ice bar is deselected. But the menu bar items do not seem to be working either. Even if I set the layout I want, rearranged needed, missing items in menu bar preview, duplicated items in options window...

~~When I click the dots, every item gets hidden which conficting with what I want.~~: < should be in the menu bar items

image

image

Steps to Reproduce

See gif and video uploaded.

Ice Version

0.10.1

macOS Version

14.5

Screenshots

Some items missing, some duplicated. Hard to reproduce.

yaoyhu avatar Jul 09 '24 15:07 yaoyhu

The 2nd part of my issue might be caused by conflicted < with menu bar items layout. And why the always hidden part not showing even with command key pressed.

I'm so confused about the new version and hot fix. Is this because of my OS version?

yaoyhu avatar Jul 09 '24 16:07 yaoyhu

Just thought I would mention - are you running BetterTouchTool by any chance? I opened a similar defect to yours (https://github.com/jordanbaird/Ice/issues/226) but then closed it with some detail once I figured out a BTT tweak was conflicting it.

tigger04 avatar Jul 09 '24 17:07 tigger04

This isn't related to the hot fix. That being said, it is its own issue. Could you open the Console app, select "Crash Reports" in the side bar, and see if there's a crash report for Ice? That will at least give me a starting point.

jordanbaird avatar Jul 09 '24 17:07 jordanbaird

This isn't related to the hot fix. That being said, it is its own issue. Could you open the Console app, select "Crash Reports" in the side bar, and see if there's a crash report for Ice? That will at least give me a starting point.

Ice-2024-07-10-081845.txt

yaoyhu avatar Jul 10 '24 00:07 yaoyhu

Just thought I would mention - are you running BetterTouchTool by any chance? I opened a similar defect to yours (#226) but then closed it with some detail once I figured out a BTT tweak was conflicting it.

I do have BBT, but I've never used menu bar tweak. I've tried to quit the BBT, crash happened again.

yaoyhu avatar Jul 10 '24 00:07 yaoyhu

I'm thinking the crash is the same issue as @tigger04's. Maybe a different cause though. The crash reports look very similar. I've pushed a fix for that, so let me know if it keeps happening once the next release is out.

jordanbaird avatar Jul 10 '24 01:07 jordanbaird

I do have BBT, but I've never used menu bar tweak. I've tried to quit the BBT, crash happened again.

I noticed you have OnlySwitch. If you go to "Customize" in the sidebar and disable "Hide Menu Bar Icons", does the crash stop? Or if you quit OnlySwitch? If either one of those is the case, I'm almost certain this is the same crash.

jordanbaird avatar Jul 10 '24 01:07 jordanbaird

I do have BBT, but I've never used menu bar tweak. I've tried to quit the BBT, crash happened again.

I noticed you have OnlySwitch. If you go to "Customize" in the sidebar and disable "Hide Menu Bar Icons", does the crash stop? Or if you quit OnlySwitch? If either one of those is the case, I'm almost certain this is the same crash.

The crash disappeared after disabling "Hide Menu Bar Icons". Thanks.

(But missing and duplicate items in Menu Bar Items settings still remain)

yaoyhu avatar Jul 10 '24 01:07 yaoyhu

@yaoyhu Are the items still duplicated after updating to 0.10.2?

jordanbaird avatar Jul 14 '24 00:07 jordanbaird

@yaoyhu Are the items still duplicated after updating to 0.10.2?

Still remains, missing and duplication. I got a video recording for you.

https://github.com/user-attachments/assets/d4c065f4-346a-4f25-8a06-b8c92f42702c

yaoyhu avatar Jul 14 '24 01:07 yaoyhu

Interesting...thanks for getting back to me. Can you paste the following command into Terminal?

defaults export com.jordanbaird.Ice ~/Desktop/com.jordanbaird.Ice.plist

Then go to your desktop and upload the exported plist file here?

jordanbaird avatar Jul 14 '24 03:07 jordanbaird

.plist is not allowed to upload, use gzip.

com.jordanbaird.Ice.plist.gz

yaoyhu avatar Jul 14 '24 04:07 yaoyhu

Thanks.

Also, just reading back through this thread, I noticed you were having trouble accessing the always-hidden section. It's the Option key, not the Command key that shows the section. Not sure if that helps with anything, but I thought I'd mention it. I'll see if I can diagnose the issue with the file you sent me.

jordanbaird avatar Jul 14 '24 04:07 jordanbaird

It's the Option key, not the Command key that shows the section.

Thanks, I got it.

So the main issue right now was shown in video: missing items after moving into Always-Hidden (option + click shows nothing) & these disappeared items still remain in Hidden section (in the menu bar, not Menu Bar Items setting).

Hard to describe in words, see video.

yaoyhu avatar Jul 14 '24 05:07 yaoyhu

The issue seems to be resolved after several new releases. A funny thing worth mentioning is that dragging the icon in * settings* while pressing the cmd key will make the dragging not work.

I hope this feedback helps improve Ice. Thank you for your contributions to open-source.

yaoyhu avatar Sep 04 '24 11:09 yaoyhu

@yaoyhu Thanks for keeping me posted. And good catch on the Command key bug. Although, that may not be fixable, as the Command key is sent alongside some of the events that Ice uses to move menu bar items. I'll look into it and see if I can find a workaround.

jordanbaird avatar Sep 04 '24 12:09 jordanbaird