Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draw TCanvas on Macos 14.5 #15517

Closed
1 task done
Josiah1 opened this issue May 15, 2024 · 7 comments
Closed
1 task done

Draw TCanvas on Macos 14.5 #15517

Josiah1 opened this issue May 15, 2024 · 7 comments
Assignees
Labels

Comments

@Josiah1
Copy link

Josiah1 commented May 15, 2024

Check duplicate issues.

  • Checked for duplicates

Description

After I upgraded my M1 pro MacBook (2021) to MacOS 14.5 last night, I found there are many error printings every time I open the ROOT prompt or execute a program with ROOT libraries linked. Then I tried to update the ROOT to the master version last night and rebuild it. Now I found every time I create a TCanvas in the ROOT program, it prints the errors:

  ------------------------------------------------------------------
  | Welcome to ROOT 6.33/01                        https://root.cern |
  | (c) 1995-2024, The ROOT Team; conception: R. Brun, F. Rademakers |
  | Built for macosxarm64 on May 15 2024, 03:36:37                   |
  | From heads/master@v6-31-01-1952-gfb9ba02037                      |
  | With Apple clang version 15.0.0 (clang-1500.3.9.4)               |
  | Try '.help'/'.?', '.demo', '.license', '.credits', '.quit'/'.q'  |
   ------------------------------------------------------------------

root [0] TCanvas *tc1 = new TCanvas()
Error in <TGHScrollBar::TGHScrollBar>: arrow_*.xpm not found
Error in <TGVScrollBar::TGVScrollBar>: arrow_*.xpm not found

 *** Break *** segmentation violation
[/usr/lib/system/libsystem_platform.dylib] _sigtramp (no debug info)
[/Users/josiahlee/WORK/Tools/root_install_master/lib/libGui.so] TGCanvas::Layout() (no debug info)
[/Users/josiahlee/WORK/Tools/root_install_master/lib/libGui.so] TGCanvas::Layout() (no debug info) 

Reproducer

  1. Open root prompt on MacOS 14.5
  2. type "TCanvas *tc=new TCanvas();"

ROOT version

heads/master@v6-31-01-1952-gfb9ba02037

Installation method

build from source

Operating system

MacOS

Additional context

No response

@couet
Copy link
Member

couet commented May 15, 2024

The xpm file should be in $ROOTSYS/icons . can you check ??

@Josiah1
Copy link
Author

Josiah1 commented May 15, 2024

The xpm file should be in $ROOTSYS/icons . can you check ??

Hello, here is the result:

image

@couet
Copy link
Member

couet commented May 15, 2024

Weird, it seems ok.
I do not see this problem on my mac:

% root --web=off
   ------------------------------------------------------------------
  | Welcome to ROOT 6.33/01                        https://root.cern |
  | (c) 1995-2024, The ROOT Team; conception: R. Brun, F. Rademakers |
  | Built for macosx64 on May 02 2024, 08:25:19                      |
  | From heads/save-C-fix@v6-31-01-1828-g0d282dd4a6                  |
  | With Apple clang version 15.0.0 (clang-1500.3.9.4)               |
  | Try .help'/'.?', '.demo', '.license', '.credits', '.quit'/'.q'  |
   ------------------------------------------------------------------

root [0] TBrowser b
(TBrowser &) Name: Browser Title: ROOT Object Browser
root [1] 

and the icon folder is the same as yours:

% cd $ROOTSYS/icons
couet@oliviers-mbp icons % ls arrow_*.xpm
arrow_down.xpm		arrow_right.xpm		arrow_up.xpm
arrow_left.xpm		arrow_right2.xpm

As TBrowser is a GUI class, may be @bellenot might have some idea about these missing icons

@ferdymercury
Copy link
Collaborator

Maybe related: #14247

Maybe removing the systemwide libAfterimage packages helps?

@bellenot
Copy link
Member

I cannot try on MacOS, and I have no idea what could be the issue, but as @ferdymercury said, can you try to remove the system libAfterimage, if any?

@dpiparo
Copy link
Member

dpiparo commented May 20, 2024

Hi,

I also cannot reproduce. I am closing the issue. Please feel free to re-open in case the problem surfaces again and is reproducible. Try recompiling with 'master' branch first (6-33-01)

@dpiparo dpiparo closed this as not planned Won't fix, can't repro, duplicate, stale May 20, 2024
Copy link

Hi @dpiparo, @couet, @bellenot,

It appears this issue is closed, but wasn't yet added to a project. Please add upcoming versions that will include the fix, or 'not applicable' otherwise.

Sincerely,
🤖

@couet couet added this to Issues in Fixed in: not applicable via automation May 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

5 participants