INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Mayhem when reattaching the Display Panel  (Read 567 times)

EnglishTiger

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 1118
Mayhem when reattaching the Display Panel
« on: September 04, 2023, 04:01:26 am »

Bob - I just caused total mayhem in MC while testing a New Version of my TrackInfo Plugin:-

I used the Detach Display Panel Option which gave me  FullScreen Detached DP as the only window/screen.
But when I tried the Reattach Option MC, and/or the OS, went biserk:-
Instead of getting a single window, the one that I had used the Detach option on, I ended up with 2 Windows, the Detached Panel Window and the one I expected to see after the panel had been reattached. With Mc or the OS rapidly switching between the 2 windows, I finally got it to stop jumping between the 2 windows by clicking on one of them.
Thankfully I had clicked on the window that should have been the one the panel had been reattached to but although the Cover Art was showing in the display panel in the Tree it was telling me the "Window was owned by another view". I Then tried using the Skins Clloe Button to quit MC but it didn't work, nor dd clicking on the other buttons or the Menu work.

So I ended up having to use the Dock Quit Option to close MC Down.

On restating MC an Apple Error Form Popped up - with this report:-

-------------------------------------
Translated Report (Full Report Below)
-------------------------------------

Process:               Media Center 31 [2017]
Path:                  /Applications/Media Center 31.app/Contents/MacOS/Media Center 31
Identifier:            com.jriver.MediaCenter31
Version:               31.0.48 (5985)
Code Type:             ARM-64 (Native)
Parent Process:        launchd [1]
User ID:               501

Date/Time:             2023-09-04 09:36:03.7744 +0100
OS Version:            macOS 13.5.1 (22G90)
Report Version:        12
Anonymous UUID:        40BAA9A7-2206-1F5B-EDF2-E787683EF53A


Time Awake Since Boot: 810 seconds

System Integrity Protection: enabled

Crashed Thread:        0  Dispatch queue: com.apple.main-thread

Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:       KERN_INVALID_ADDRESS at 0x000020a800000000
Exception Codes:       0x0000000000000001, 0x000020a800000000
Logged
Apple Mac Mini Desktop Computer with M4 Pro chip with 12 core CPU and 16 core GPU: 24GB Unified Memory, 512GB SSD Storage, Gigabit Ethernet, 3 Thunderbolt5 + 2USBC ports.

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 13946
Re: Mayhem when reattaching the Display Panel
« Reply #1 on: September 08, 2023, 11:35:27 am »

What is the detach display panel option? In MC?
The display view menu detach?

I think there are likely still issues with that.
On Windows and linux that window becomes a child of the root window. Unfortunately that's not an option on MacOS so it's like an orphan while it's detached.

Logged

EnglishTiger

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 1118
Re: Mayhem when reattaching the Display Panel
« Reply #2 on: September 09, 2023, 05:17:50 am »

What is the detach display panel option? In MC?

Bob it's on the Pop-Up Menu that appears when user right-clicks in the Display Panel in every view/sub-view, including when the Display Panel in the Tree is open; it's also invoked by using the "ctrl/cmd + 6" Shortcut.
With both the menu option and shortcut switching to being the "Reattach Panel"  option/command when the panel is in it's detached state.

Since overcoming the cranky way some Apple OS's work it may be easier/safer/quicker to remove the ability to Detach/Reattach the Display Panel options from Mac versions of MC
Logged
Apple Mac Mini Desktop Computer with M4 Pro chip with 12 core CPU and 16 core GPU: 24GB Unified Memory, 512GB SSD Storage, Gigabit Ethernet, 3 Thunderbolt5 + 2USBC ports.
Pages: [1]   Go Up