GNU bug report logs - #54623
No scroll bars on macOS builds

Previous Next

Package: emacs;

Reported by: Angelo Graziosi <angelo.g0 <at> libero.it>

Date: Tue, 29 Mar 2022 11:51:02 UTC

Severity: normal

Tags: patch

Done: Alan Third <alan <at> idiocy.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 54623 in the body.
You can then email your comments to 54623 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#54623; Package emacs. (Tue, 29 Mar 2022 11:51:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Angelo Graziosi <angelo.g0 <at> libero.it>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Tue, 29 Mar 2022 11:51:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Angelo Graziosi <angelo.g0 <at> libero.it>
To: "bug-gnu-emacs <at> gnu.org" <bug-gnu-emacs <at> gnu.org>
Subject: No scroll bars on macOS builds
Date: Tue, 29 Mar 2022 13:50:03 +0200 (CEST)
[Message part 1 (text/plain, inline)]
Emacs builds on macOS 10.13.6 do not show scroll bars even if both vertical and horizontal ones are enabled. The attached screenshot refers to 'Emacs -Q'. 

It seems that the "places" where scroll bars should appear are drawn but not the scroll bars. Clicking there looks as if the scroll bars are hidden.

Rebuilding an old master,

1)
commit: d2d3fc39295953b4db5bdd7a21d513a87d3d00f0
Alan Third 2021-07-26 23:12:31 +0100
Convert fringe bitmaps to vectors on NS port

produce an Emacs which DOES HAVE scroll bars!

The first build in which scroll bars are gone or hidden looks

2)
commit: a4d2c88cdee90a3e4863a62c4ff69896d0c1a347
Alan Third 2021-07-31 11:13:05 +0100
Simplify macOS drawing code

So, something changed between 2021-07-26 and 2021-07-31 seems to have broken this features.

I already flagged this on emacs-devel (https://lists.gnu.org/archive/html/emacs-devel/2021-12/msg03194.html) and re-flagged here to have memory of this issue.

Ciao,
  Angelo.
[no-scrollbars-macOS.png (image/png, attachment)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#54623; Package emacs. (Tue, 29 Mar 2022 12:45:01 GMT) Full text and rfc822 format available.

Message #8 received at 54623 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Angelo Graziosi <angelo.g0 <at> libero.it>
Cc: 54623 <at> debbugs.gnu.org, Alan Third <alan <at> idiocy.org>
Subject: Re: bug#54623: No scroll bars on macOS builds
Date: Tue, 29 Mar 2022 14:44:28 +0200
Angelo Graziosi <angelo.g0 <at> libero.it> writes:

> Emacs builds on macOS 10.13.6 do not show scroll bars even if both
> vertical and horizontal ones are enabled. The attached screenshot
> refers to 'Emacs -Q'.

I can't reproduce this on Macos 12.1.

> The first build in which scroll bars are gone or hidden looks
>
> 2)
> commit: a4d2c88cdee90a3e4863a62c4ff69896d0c1a347
> Alan Third 2021-07-31 11:13:05 +0100
> Simplify macOS drawing code

Perhaps Alan has some comments; added to the CCs.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#54623; Package emacs. (Tue, 29 Mar 2022 19:54:02 GMT) Full text and rfc822 format available.

Message #11 received at 54623 <at> debbugs.gnu.org (full text, mbox):

From: Angelo Graziosi <angelo.g0 <at> libero.it>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 54623 <at> debbugs.gnu.org, Alan Third <alan <at> idiocy.org>
Subject: Re: bug#54623: No scroll bars on macOS builds
Date: Tue, 29 Mar 2022 21:53:47 +0200 (CEST)
> Il 29/03/2022 14:44 Lars Ingebrigtsen ha scritto:
> 
>  
> Angelo Graziosi writes:
> 
> > Emacs builds on macOS 10.13.6 do not show scroll bars even if both
> > vertical and horizontal ones are enabled. The attached screenshot
> > refers to 'Emacs -Q'.
> 
> I can't reproduce this on Macos 12.1.

Which build? Nextstep (--with-ns) or Mac (--with-mac)?

Just for the record.. the Mac build (source from https://bitbucket.org/mituharu/emacs-mac/src/work, about March 14) DOES HAVE the scrollbars! It is 28.0.92 Mac-patched source.

The nextstep build (source from 28 branch, about March 27) DOES NOT HAVE the scroll bars.

I didn't test master because I don't know how to build using '--with-mac' (bitbucket repo does not seem to have master source Mac-patched).

(Trying to build the bitbucket source '--with-ns' fails...)




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#54623; Package emacs. (Wed, 30 Mar 2022 00:40:01 GMT) Full text and rfc822 format available.

Message #14 received at 54623 <at> debbugs.gnu.org (full text, mbox):

From: Po Lu <luangruo <at> yahoo.com>
To: Angelo Graziosi <angelo.g0 <at> libero.it>
Cc: 54623 <at> debbugs.gnu.org, Lars Ingebrigtsen <larsi <at> gnus.org>,
 Alan Third <alan <at> idiocy.org>
Subject: Re: bug#54623: No scroll bars on macOS builds
Date: Wed, 30 Mar 2022 08:39:23 +0800
Angelo Graziosi <angelo.g0 <at> libero.it> writes:

> Which build? Nextstep (--with-ns) or Mac (--with-mac)?
>
> Just for the record.. the Mac build (source from
> https://bitbucket.org/mituharu/emacs-mac/src/work, about March 14)
> DOES HAVE the scrollbars! It is 28.0.92 Mac-patched source.

Unfortunately that doesn't help much, since the Carbon ("Mac") port has
been maintained externally by its original developer since its removal
in Emacs 23.  I vaguely recall some drama regarding multi-tty changes...

It descends from the port to Mac OS 8 or 9 that was at least part of
Emacs 21.

> The nextstep build (source from 28 branch, about March 27) DOES NOT
> HAVE the scroll bars.

What happens if you remove the #ifdefs from ns_update_window_end and its
corresponding entry in ns_redisplay_interface?




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#54623; Package emacs. (Wed, 30 Mar 2022 21:54:02 GMT) Full text and rfc822 format available.

Message #17 received at 54623 <at> debbugs.gnu.org (full text, mbox):

From: Alan Third <alan <at> idiocy.org>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 54623 <at> debbugs.gnu.org, Angelo Graziosi <angelo.g0 <at> libero.it>
Subject: Re: bug#54623: No scroll bars on macOS builds
Date: Wed, 30 Mar 2022 22:52:59 +0100
[Message part 1 (text/plain, inline)]
On Tue, Mar 29, 2022 at 02:44:28PM +0200, Lars Ingebrigtsen wrote:
> Angelo Graziosi <angelo.g0 <at> libero.it> writes:
> 
> > Emacs builds on macOS 10.13.6 do not show scroll bars even if both
> > vertical and horizontal ones are enabled. The attached screenshot
> > refers to 'Emacs -Q'.
> 
> I can't reproduce this on Macos 12.1.

I can't reproduce it on 10.14 either. I suspect it's some subtle
difference in layer handling between 10.13 and 10.14+.

> > The first build in which scroll bars are gone or hidden looks
> >
> > 2)
> > commit: a4d2c88cdee90a3e4863a62c4ff69896d0c1a347
> > Alan Third 2021-07-31 11:13:05 +0100
> > Simplify macOS drawing code
> 
> Perhaps Alan has some comments; added to the CCs.

Maybe the attached will help.
-- 
Alan Third
[0001-Fix-scrollbars-on-macOS-10.13-and-below-bug-54623.patch (text/x-diff, attachment)]

Added tag(s) patch. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Wed, 30 Mar 2022 21:58:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#54623; Package emacs. (Thu, 31 Mar 2022 10:46:02 GMT) Full text and rfc822 format available.

Message #22 received at 54623 <at> debbugs.gnu.org (full text, mbox):

From: Angelo Graziosi <angelo.g0 <at> libero.it>
To: Alan Third <alan <at> idiocy.org>, Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 54623 <at> debbugs.gnu.org
Subject: Re: bug#54623: No scroll bars on macOS builds
Date: Thu, 31 Mar 2022 12:45:38 +0200 (CEST)
[Message part 1 (text/plain, inline)]
> Il 30/03/2022 23:52 Alan Third  ha scritto:
>
> I can't reproduce it on 10.14 either. I suspect it's some subtle
> difference in layer handling between 10.13 and 10.14+.
> 
> 
> Maybe the attached will help.

No.. I am afraid...

I applied it to current master and it builds but crashes when I try to start it.

Attached the report that the system produces (it is taken with 'Emacs -Q', but the same occurs when I start Emacs in normal way, i.e. cliking the icon on the Dock).
[emacs-macOS-chrash-report.log.bz2 (application/x-bzip2, attachment)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#54623; Package emacs. (Thu, 31 Mar 2022 11:57:01 GMT) Full text and rfc822 format available.

Message #25 received at 54623 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Angelo Graziosi <angelo.g0 <at> libero.it>
Cc: 54623 <at> debbugs.gnu.org, Alan Third <alan <at> idiocy.org>
Subject: Re: bug#54623: No scroll bars on macOS builds
Date: Thu, 31 Mar 2022 13:56:05 +0200
Angelo Graziosi <angelo.g0 <at> libero.it> writes:

> Which build? Nextstep (--with-ns) or Mac (--with-mac)?

I can never remember which is which.  I don't say either, but I end up
with:

In GNU Emacs 29.0.50 (build 2, aarch64-apple-darwin21.2.0, NS appkit-2113.20 Ve\
rsion 12.1 (Build 21C52))

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#54623; Package emacs. (Thu, 31 Mar 2022 16:44:01 GMT) Full text and rfc822 format available.

Message #28 received at 54623 <at> debbugs.gnu.org (full text, mbox):

From: Alan Third <alan <at> idiocy.org>
To: Angelo Graziosi <angelo.g0 <at> libero.it>
Cc: 54623 <at> debbugs.gnu.org, Lars Ingebrigtsen <larsi <at> gnus.org>
Subject: Re: bug#54623: No scroll bars on macOS builds
Date: Thu, 31 Mar 2022 17:43:09 +0100
[Message part 1 (text/plain, inline)]
On Thu, Mar 31, 2022 at 12:45:38PM +0200, Angelo Graziosi wrote:
> > Il 30/03/2022 23:52 Alan Third  ha scritto:
> >
> > I can't reproduce it on 10.14 either. I suspect it's some subtle
> > difference in layer handling between 10.13 and 10.14+.
> > 
> > 
> > Maybe the attached will help.
> 
> No.. I am afraid...
> 
> I applied it to current master and it builds but crashes when I try to start it.
> 
> Attached the report that the system produces (it is taken with 'Emacs -Q', but the same occurs when I start Emacs in normal way, i.e. cliking the icon on the Dock).

Can you try the new version attached to this email, please?

-- 
Alan Third
[v2-0001-Fix-scrollbars-on-macOS-10.13-and-below-bug-54623.patch (text/x-diff, attachment)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#54623; Package emacs. (Thu, 31 Mar 2022 20:07:02 GMT) Full text and rfc822 format available.

Message #31 received at 54623 <at> debbugs.gnu.org (full text, mbox):

From: Alan Third <alan <at> idiocy.org>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 54623 <at> debbugs.gnu.org, Angelo Graziosi <angelo.g0 <at> libero.it>
Subject: Re: bug#54623: No scroll bars on macOS builds
Date: Thu, 31 Mar 2022 21:06:13 +0100
On Thu, Mar 31, 2022 at 01:56:05PM +0200, Lars Ingebrigtsen wrote:
> Angelo Graziosi <angelo.g0 <at> libero.it> writes:
> 
> > Which build? Nextstep (--with-ns) or Mac (--with-mac)?
> 
> I can never remember which is which.  I don't say either, but I end up
> with:
> 
> In GNU Emacs 29.0.50 (build 2, aarch64-apple-darwin21.2.0, NS appkit-2113.20 Ve\
> rsion 12.1 (Build 21C52))

You're using the NS port. You have to go out of your way to get the
Mac port, it's the one Mitsuharu Yamamoto maintains.

-- 
Alan Third




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#54623; Package emacs. (Thu, 31 Mar 2022 22:28:01 GMT) Full text and rfc822 format available.

Message #34 received at 54623 <at> debbugs.gnu.org (full text, mbox):

From: Angelo Graziosi <angelo.g0 <at> libero.it>
To: Alan Third <alan <at> idiocy.org>
Cc: 54623 <at> debbugs.gnu.org, Lars Ingebrigtsen <larsi <at> gnus.org>
Subject: Re: bug#54623: No scroll bars on macOS builds
Date: Fri, 1 Apr 2022 00:27:25 +0200 (CEST)
> Il 31/03/2022 18:43 Alan Third ha scritto:
> 
> 
> Can you try the new version attached to this email, please?
> 

Now Emacs builds and does not crash but DOES NOT work and still NO scroll bars:

- when scrolling the text moving the mouse wheel the bottom lines remain fixed and then after a while the window contains garbage.

- trying to use C-x C-f, M-x ... does not work, no minibuffer opens: it continues to display the text "For information about..."

- trying to select text with the mouse (mouse-1 and dragging) does not work...




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#54623; Package emacs. (Thu, 31 Mar 2022 22:32:01 GMT) Full text and rfc822 format available.

Message #37 received at 54623 <at> debbugs.gnu.org (full text, mbox):

From: Angelo Graziosi <angelo.g0 <at> libero.it>
To: Alan Third <alan <at> idiocy.org>, Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 54623 <at> debbugs.gnu.org
Subject: Re: bug#54623: No scroll bars on macOS builds
Date: Fri, 1 Apr 2022 00:31:27 +0200 (CEST)
> Il 31/03/2022 22:06 Alan Third ha scritto:
> 
>  
> On Thu, Mar 31, 2022 at 01:56:05PM +0200, Lars Ingebrigtsen wrote:
> > Angelo Graziosi writes:
> > 
> > > Which build? Nextstep (--with-ns) or Mac (--with-mac)?
> > 
> > I can never remember which is which.  I don't say either, but I end up
> > with:
> > 
> > In GNU Emacs 29.0.50 (build 2, aarch64-apple-darwin21.2.0, NS appkit-2113.20 Ve\
> > rsion 12.1 (Build 21C52))
> 
> You're using the NS port. You have to go out of your way to get the
> Mac port, it's the one Mitsuharu Yamamoto maintains.

BTW, how to build Emacs master using Mac Port? It seems that for Mac port "master" means "emacs-27", "work" means "emacs-28"...




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#54623; Package emacs. (Fri, 01 Apr 2022 21:01:02 GMT) Full text and rfc822 format available.

Message #40 received at 54623 <at> debbugs.gnu.org (full text, mbox):

From: Alan Third <alan <at> idiocy.org>
To: Angelo Graziosi <angelo.g0 <at> libero.it>
Cc: 54623 <at> debbugs.gnu.org, Lars Ingebrigtsen <larsi <at> gnus.org>
Subject: Re: bug#54623: No scroll bars on macOS builds
Date: Fri, 1 Apr 2022 21:59:55 +0100
[Message part 1 (text/plain, inline)]
On Fri, Apr 01, 2022 at 12:27:25AM +0200, Angelo Graziosi wrote:
> 
> > Il 31/03/2022 18:43 Alan Third ha scritto:
> > 
> > 
> > Can you try the new version attached to this email, please?
> > 
> 
> Now Emacs builds and does not crash but DOES NOT work and still NO scroll bars:
> 
> - when scrolling the text moving the mouse wheel the bottom lines remain fixed and then after a while the window contains garbage.
> 
> - trying to use C-x C-f, M-x ... does not work, no minibuffer opens: it continues to display the text "For information about..."
> 
> - trying to select text with the mouse (mouse-1 and dragging) does not work...

What about the attached?

-- 
Alan Third
[v3-0001-Fix-scrollbars-on-macOS-10.13-and-below-bug-54623.patch (text/x-diff, attachment)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#54623; Package emacs. (Fri, 01 Apr 2022 22:38:01 GMT) Full text and rfc822 format available.

Message #43 received at 54623 <at> debbugs.gnu.org (full text, mbox):

From: Angelo Graziosi <angelo.g0 <at> libero.it>
To: Alan Third <alan <at> idiocy.org>
Cc: 54623 <at> debbugs.gnu.org, Lars Ingebrigtsen <larsi <at> gnus.org>
Subject: Re: bug#54623: No scroll bars on macOS builds
Date: Sat, 2 Apr 2022 00:37:33 +0200 (CEST)
> Il 01/04/2022 22:59 Alan Third  ha scritto:
> 
>  
> On Fri, Apr 01, 2022 at 12:27:25AM +0200, Angelo Graziosi wrote:
> > 
> > > Il 31/03/2022 18:43 Alan Third ha scritto:
> > > 
> > > 
> > > Can you try the new version attached to this email, please?
> > > 
> > 
> > Now Emacs builds and does not crash but DOES NOT work and still NO scroll bars:
> > 
> > - when scrolling the text moving the mouse wheel the bottom lines remain fixed and then after a while the window contains garbage.
> > 
> > - trying to use C-x C-f, M-x ... does not work, no minibuffer opens: it continues to display the text "For information about..."
> > 
> > - trying to select text with the mouse (mouse-1 and dragging) does not work...
> 
> What about the attached?

WITHOUT it Emacs builds. 

WITH it Emacs fails to build:

[...]
GEN      ../../etc/charsets/MULE-uviscii.map
  GEN      ../../lisp/international/cp51932.el
  GEN      ../../lisp/international/eucjp-ms.el
  GEN      charsets.stamp
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C ../admin/unidata charscript.el
  GEN      ../../lisp/international/charscript.el
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C ../admin/unidata emoji-zwj.el
  GEN      ../../lisp/international/emoji-zwj.el
  CCLD     temacs
ld: warning: text-based stub file /System/Library/Frameworks//AppKit.framework/AppKit.tbd and library file /System/Library/Frameworks//AppKit.framework/AppKit are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks//IOKit.framework/IOKit.tbd and library file /System/Library/Frameworks//IOKit.framework/IOKit are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks//IOSurface.framework/IOSurface.tbd and library file /System/Library/Frameworks//IOSurface.framework/IOSurface are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks//QuartzCore.framework/QuartzCore.tbd and library file /System/Library/Frameworks//QuartzCore.framework/QuartzCore are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/PrivateFrameworks/UIFoundation.framework/Versions/A/UIFoundation.tbd and library file /System/Library/PrivateFrameworks/UIFoundation.framework/Versions/A/UIFoundation are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks//ApplicationServices.framework/Versions/A/ApplicationServices.tbd and library file /System/Library/Frameworks//ApplicationServices.framework/Versions/A/ApplicationServices are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks//Foundation.framework/Versions/C/Foundation.tbd and library file /System/Library/Frameworks//Foundation.framework/Versions/C/Foundation are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CommonPanels.framework/Versions/A/CommonPanels.tbd and library file /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CommonPanels.framework/Versions/A/CommonPanels are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox.tbd and library file /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Help.framework/Versions/A/Help.tbd and library file /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Help.framework/Versions/A/Help are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ImageCapture.framework/Versions/A/ImageCapture.tbd and library file /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ImageCapture.framework/Versions/A/ImageCapture are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Ink.framework/Versions/A/Ink.tbd and library file /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Ink.framework/Versions/A/Ink are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/OpenScripting.framework/Versions/A/OpenScripting.tbd and library file /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/OpenScripting.framework/Versions/A/OpenScripting are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Print.framework/Versions/A/Print.tbd and library file /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Print.framework/Versions/A/Print are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SecurityHI.framework/Versions/A/SecurityHI.tbd and library file /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SecurityHI.framework/Versions/A/SecurityHI are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SpeechRecognition.framework/Versions/A/SpeechRecognition.tbd and library file /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SpeechRecognition.framework/Versions/A/SpeechRecognition are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks//CoreImage.framework/Versions/A/CoreImage.tbd and library file /System/Library/Frameworks//CoreImage.framework/Versions/A/CoreImage are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks//CoreVideo.framework/Versions/A/CoreVideo.tbd and library file /System/Library/Frameworks//CoreVideo.framework/Versions/A/CoreVideo are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks//CoreFoundation.framework/Versions/A/CoreFoundation.tbd and library file /System/Library/Frameworks//CoreFoundation.framework/Versions/A/CoreFoundation are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks//CoreGraphics.framework/Versions/A/CoreGraphics.tbd and library file /System/Library/Frameworks//CoreGraphics.framework/Versions/A/CoreGraphics are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks//CoreText.framework/Versions/A/CoreText.tbd and library file /System/Library/Frameworks//CoreText.framework/Versions/A/CoreText are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks//ImageIO.framework/Versions/A/ImageIO.tbd and library file /System/Library/Frameworks//ImageIO.framework/Versions/A/ImageIO are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks//ColorSync.framework/Versions/A/ColorSync.tbd and library file /System/Library/Frameworks//ColorSync.framework/Versions/A/ColorSync are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/ATS.tbd and library file /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/ATS are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ColorSyncLegacy.framework/Versions/A/ColorSyncLegacy.tbd and library file /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ColorSyncLegacy.framework/Versions/A/ColorSyncLegacy are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks//CoreServices.framework/Versions/A/CoreServices.tbd and library file /System/Library/Frameworks//CoreServices.framework/Versions/A/CoreServices are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/HIServices.framework/Versions/A/HIServices.tbd and library file /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/HIServices.framework/Versions/A/HIServices are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/LangAnalysis.framework/Versions/A/LangAnalysis.tbd and library file /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/LangAnalysis.framework/Versions/A/LangAnalysis are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/PrintCore.framework/Versions/A/PrintCore.tbd and library file /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/PrintCore.framework/Versions/A/PrintCore are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/QD.framework/Versions/A/QD.tbd and library file /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/QD.framework/Versions/A/QD are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/SpeechSynthesis.framework/Versions/A/SpeechSynthesis.tbd and library file /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/SpeechSynthesis.framework/Versions/A/SpeechSynthesis are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks//CFNetwork.framework/Versions/A/CFNetwork.tbd and library file /System/Library/Frameworks//CFNetwork.framework/Versions/A/CFNetwork are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/FSEvents.framework/Versions/A/FSEvents.tbd and library file /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/FSEvents.framework/Versions/A/FSEvents are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/CarbonCore.tbd and library file /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/CarbonCore are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadata.framework/Versions/A/Metadata.tbd and library file /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadata.framework/Versions/A/Metadata are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServices.framework/Versions/A/OSServices.tbd and library file /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServices.framework/Versions/A/OSServices are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchKit.framework/Versions/A/SearchKit.tbd and library file /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchKit.framework/Versions/A/SearchKit are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/AE.framework/Versions/A/AE.tbd and library file /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/AE.framework/Versions/A/AE are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/LaunchServices.tbd and library file /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/LaunchServices are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/DictionaryServices.framework/Versions/A/DictionaryServices.tbd and library file /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/DictionaryServices.framework/Versions/A/DictionaryServices are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SharedFileList.framework/Versions/A/SharedFileList.tbd and library file /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SharedFileList.framework/Versions/A/SharedFileList are out of sync. Falling back to library file for linking.
Undefined symbols for architecture x86_64:
  "_OBJC_CLASS_$_EmacsLayer", referenced from:
      objc-class-ref in nsterm.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[1]: *** [temacs] Error 1
make: *** [src] Error 2
Error: Failure running MAKE




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#54623; Package emacs. (Sat, 02 Apr 2022 08:09:02 GMT) Full text and rfc822 format available.

Message #46 received at 54623 <at> debbugs.gnu.org (full text, mbox):

From: Alan Third <alan <at> idiocy.org>
To: Angelo Graziosi <angelo.g0 <at> libero.it>
Cc: 54623 <at> debbugs.gnu.org, Lars Ingebrigtsen <larsi <at> gnus.org>
Subject: Re: bug#54623: No scroll bars on macOS builds
Date: Sat, 2 Apr 2022 09:07:49 +0100
[Message part 1 (text/plain, inline)]
On Sat, Apr 02, 2022 at 12:37:33AM +0200, Angelo Graziosi wrote:
> Undefined symbols for architecture x86_64:
>   "_OBJC_CLASS_$_EmacsLayer", referenced from:
>       objc-class-ref in nsterm.o
> ld: symbol(s) not found for architecture x86_64
> clang: error: linker command failed with exit code 1 (use -v to see invocation)
> make[1]: *** [temacs] Error 1
> make: *** [src] Error 2
> Error: Failure running MAKE

*sigh* missed a zero in the version number in one of the #if things.

Please try the attached.
-- 
Alan Third
[v4-0001-Fix-scrollbars-on-macOS-10.13-and-below-bug-54623.patch (text/x-diff, attachment)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#54623; Package emacs. (Sat, 02 Apr 2022 09:43:01 GMT) Full text and rfc822 format available.

Message #49 received at 54623 <at> debbugs.gnu.org (full text, mbox):

From: Angelo Graziosi <angelo.g0 <at> libero.it>
To: Alan Third <alan <at> idiocy.org>
Cc: 54623 <at> debbugs.gnu.org, Lars Ingebrigtsen <larsi <at> gnus.org>
Subject: Re: bug#54623: No scroll bars on macOS builds
Date: Sat, 2 Apr 2022 11:42:01 +0200 (CEST)
> Il 02/04/2022 10:07 Alan Third <alan <at> idiocy.org> ha scritto:
> 
>  
> On Sat, Apr 02, 2022 at 12:37:33AM +0200, Angelo Graziosi wrote:
> > Undefined symbols for architecture x86_64:
> >   "_OBJC_CLASS_$_EmacsLayer", referenced from:
> >       objc-class-ref in nsterm.o
> > ld: symbol(s) not found for architecture x86_64
> > clang: error: linker command failed with exit code 1 (use -v to see invocation)
> > make[1]: *** [temacs] Error 1
> > make: *** [src] Error 2
> > Error: Failure running MAKE
> 
> *sigh* missed a zero in the version number in one of the #if things.
> 
> Please try the attached.

Now it seems to work as expected!!!

Let's see how t work for few days..




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#54623; Package emacs. (Sat, 02 Apr 2022 11:01:02 GMT) Full text and rfc822 format available.

Message #52 received at 54623 <at> debbugs.gnu.org (full text, mbox):

From: Angelo Graziosi <angelo.g0 <at> libero.it>
To: Alan Third <alan <at> idiocy.org>
Cc: 54623 <at> debbugs.gnu.org, Lars Ingebrigtsen <larsi <at> gnus.org>
Subject: Re: bug#54623: No scroll bars on macOS builds
Date: Sat, 2 Apr 2022 13:00:13 +0200 (CEST)
> Il 02/04/2022 11:42 Angelo Graziosi <angelo.g0 <at> libero.it> ha scritto:
> 
>  
> > Il 02/04/2022 10:07 Alan Third <alan <at> idiocy.org> ha scritto:
> > 
> >  
> > On Sat, Apr 02, 2022 at 12:37:33AM +0200, Angelo Graziosi wrote:
> > > Undefined symbols for architecture x86_64:
> > >   "_OBJC_CLASS_$_EmacsLayer", referenced from:
> > >       objc-class-ref in nsterm.o
> > > ld: symbol(s) not found for architecture x86_64
> > > clang: error: linker command failed with exit code 1 (use -v to see invocation)
> > > make[1]: *** [temacs] Error 1
> > > make: *** [src] Error 2
> > > Error: Failure running MAKE
> > 
> > *sigh* missed a zero in the version number in one of the #if things.
> > 
> > Please try the attached.
> 
> Now it seems to work as expected!!!
> 
> Let's see how t work for few days..

Spoken too soon!
=================

Now Emacs builds, does not crash, *does have* scroll bars, but..

- I cannot select text (mouse-1 and drag)

- minibuffer does not work: C-x C-f displays current directory but I cannot type anything there

- the same with M-x: only M-x is displayed but cannot type the command and cannot use history (UP/DOWN arrows)..




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#54623; Package emacs. (Sun, 03 Apr 2022 13:37:02 GMT) Full text and rfc822 format available.

Message #55 received at 54623 <at> debbugs.gnu.org (full text, mbox):

From: Alan Third <alan <at> idiocy.org>
To: Angelo Graziosi <angelo.g0 <at> libero.it>
Cc: 54623 <at> debbugs.gnu.org, Lars Ingebrigtsen <larsi <at> gnus.org>
Subject: Re: bug#54623: No scroll bars on macOS builds
Date: Sun, 3 Apr 2022 14:36:13 +0100
[Message part 1 (text/plain, inline)]
On Sat, Apr 02, 2022 at 01:00:13PM +0200, Angelo Graziosi wrote:
> 
> > Il 02/04/2022 11:42 Angelo Graziosi <angelo.g0 <at> libero.it> ha scritto:
> > 
> >  
> > > Il 02/04/2022 10:07 Alan Third <alan <at> idiocy.org> ha scritto:
> > > 
> > >  
> > > On Sat, Apr 02, 2022 at 12:37:33AM +0200, Angelo Graziosi wrote:
> > > > Undefined symbols for architecture x86_64:
> > > >   "_OBJC_CLASS_$_EmacsLayer", referenced from:
> > > >       objc-class-ref in nsterm.o
> > > > ld: symbol(s) not found for architecture x86_64
> > > > clang: error: linker command failed with exit code 1 (use -v to see invocation)
> > > > make[1]: *** [temacs] Error 1
> > > > make: *** [src] Error 2
> > > > Error: Failure running MAKE
> > > 
> > > *sigh* missed a zero in the version number in one of the #if things.
> > > 
> > > Please try the attached.
> > 
> > Now it seems to work as expected!!!
> > 
> > Let's see how t work for few days..
> 
> Spoken too soon!
> =================
> 
> Now Emacs builds, does not crash, *does have* scroll bars, but..
> 
> - I cannot select text (mouse-1 and drag)
> 
> - minibuffer does not work: C-x C-f displays current directory but I cannot type anything there
> 
> - the same with M-x: only M-x is displayed but cannot type the command and cannot use history (UP/DOWN arrows)..

hopefully all we have to do is force an occasional redraw like on
GNUstep. Please try the attached.
-- 
Alan Third
[v5-0001-Fix-scrollbars-on-macOS-10.13-and-below-bug-54623.patch (text/x-diff, attachment)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#54623; Package emacs. (Sun, 03 Apr 2022 20:01:02 GMT) Full text and rfc822 format available.

Message #58 received at 54623 <at> debbugs.gnu.org (full text, mbox):

From: Angelo Graziosi <angelo.g0 <at> libero.it>
To: Alan Third <alan <at> idiocy.org>
Cc: 54623 <at> debbugs.gnu.org, Lars Ingebrigtsen <larsi <at> gnus.org>
Subject: Re: bug#54623: No scroll bars on macOS builds
Date: Sun, 3 Apr 2022 22:00:12 +0200 (CEST)
> Il 03/04/2022 15:36 Alan Third ha scritto:
> 
> 
> hopefully all we have to do is force an occasional redraw like on
> GNUstep. Please try the attached.

At the moment it seems to work.. Fingers crossed!




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#54623; Package emacs. (Mon, 04 Apr 2022 20:32:02 GMT) Full text and rfc822 format available.

Message #61 received at 54623 <at> debbugs.gnu.org (full text, mbox):

From: Angelo Graziosi <angelo.g0 <at> libero.it>
To: Alan Third <alan <at> idiocy.org>
Cc: 54623 <at> debbugs.gnu.org, Lars Ingebrigtsen <larsi <at> gnus.org>
Subject: Re: bug#54623: No scroll bars on macOS builds
Date: Mon, 4 Apr 2022 22:30:57 +0200 (CEST)
> Il 03/04/2022 22:00 Angelo Graziosi <angelo.g0 <at> libero.it> ha scritto:
> 
>  
> > Il 03/04/2022 15:36 Alan Third ha scritto:
> > 
> > 
> > hopefully all we have to do is force an occasional redraw like on
> > GNUstep. Please try the attached.
> 
> At the moment it seems to work.. Fingers crossed!

It still works, so maybe you can commit this patch (v5) and close this issue..

Many thanks!




Reply sent to Alan Third <alan <at> idiocy.org>:
You have taken responsibility. (Fri, 08 Apr 2022 21:48:02 GMT) Full text and rfc822 format available.

Notification sent to Angelo Graziosi <angelo.g0 <at> libero.it>:
bug acknowledged by developer. (Fri, 08 Apr 2022 21:48:02 GMT) Full text and rfc822 format available.

Message #66 received at 54623-done <at> debbugs.gnu.org (full text, mbox):

From: Alan Third <alan <at> idiocy.org>
To: Angelo Graziosi <angelo.g0 <at> libero.it>
Cc: Lars Ingebrigtsen <larsi <at> gnus.org>, 54623-done <at> debbugs.gnu.org
Subject: Re: bug#54623: No scroll bars on macOS builds
Date: Fri, 8 Apr 2022 22:47:02 +0100
On Mon, Apr 04, 2022 at 10:30:57PM +0200, Angelo Graziosi wrote:
> 
> > Il 03/04/2022 22:00 Angelo Graziosi <angelo.g0 <at> libero.it> ha scritto:
> > 
> >  
> > > Il 03/04/2022 15:36 Alan Third ha scritto:
> > > 
> > > 
> > > hopefully all we have to do is force an occasional redraw like on
> > > GNUstep. Please try the attached.
> > 
> > At the moment it seems to work.. Fingers crossed!
> 
> It still works, so maybe you can commit this patch (v5) and close this issue..

Thanks. I've pushed to master.
-- 
Alan Third




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#54623; Package emacs. (Sat, 09 Apr 2022 10:21:02 GMT) Full text and rfc822 format available.

Message #69 received at 54623-done <at> debbugs.gnu.org (full text, mbox):

From: Angelo Graziosi <angelo.g0 <at> libero.it>
To: Alan Third <alan <at> idiocy.org>
Cc: Lars Ingebrigtsen <larsi <at> gnus.org>, 54623-done <at> debbugs.gnu.org
Subject: Re: bug#54623: No scroll bars on macOS builds
Date: Sat, 9 Apr 2022 12:20:07 +0200 (CEST)
> Il 08/04/2022 23:47 Alan Third ha scritto:
> 
>  
> On Mon, Apr 04, 2022 at 10:30:57PM +0200, Angelo Graziosi wrote:
> > 
> > > Il 03/04/2022 22:00 Angelo Graziosi ha scritto:
> > > 
> > >  
> > > > Il 03/04/2022 15:36 Alan Third ha scritto:
> > > > 
> > > > 
> > > > hopefully all we have to do is force an occasional redraw like on
> > > > GNUstep. Please try the attached.
> > > 
> > > At the moment it seems to work.. Fingers crossed!
> > 
> > It still works, so maybe you can commit this patch (v5) and close this issue..
> 
> Thanks. I've pushed to master.


Thanks. I have built the last master and things look ok!




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 07 May 2022 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 43 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.