* bug#2278: 23.0.60; Tooltips truncated on OS X @ 2009-02-11 10:06 ` Nick Roberts 2010-01-04 6:26 ` bug#2278: marked as done (23.0.60; Tooltips truncated on OS X) Emacs bug Tracking System 0 siblings, 1 reply; 10+ messages in thread From: Nick Roberts @ 2009-02-11 10:06 UTC (permalink / raw) To: emacs-pretest-bug On OSX all multi-line tooltips display just the first line. I don't know if this is a bug with OSX or Emacs: generally applications only seem to use one line for tooltips as did Emacs until recently. -- Nick http://www.inet.net.nz/~nickrob ^ permalink raw reply [flat|nested] 10+ messages in thread
* bug#2278: marked as done (23.0.60; Tooltips truncated on OS X) 2009-02-11 10:06 ` bug#2278: 23.0.60; Tooltips truncated on OS X Nick Roberts @ 2010-01-04 6:26 ` Emacs bug Tracking System 0 siblings, 0 replies; 10+ messages in thread From: Emacs bug Tracking System @ 2010-01-04 6:26 UTC (permalink / raw) To: David Reitter; +Cc: emacs-bug-tracker [-- Attachment #1: Type: text/plain, Size: 801 bytes --] Your message dated Mon, 4 Jan 2010 07:25:24 +0100 with message-id <A51A6A3E-37F9-4417-A5E9-E7AF2135D1BA@gmail.com> and subject line done has caused the Emacs bug report #2278, regarding 23.0.60; Tooltips truncated on OS X to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact bug-gnu-emacs@gnu.org immediately.) -- 2278: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=2278 Emacs Bug Tracking System Contact bug-gnu-emacs@gnu.org with problems [-- Attachment #2: Type: message/rfc822, Size: 2348 bytes --] From: Nick Roberts <nickrob@snap.net.nz> To: emacs-pretest-bug@gnu.org Subject: 23.0.60; Tooltips truncated on OS X Date: Wed, 11 Feb 2009 23:06:41 +1300 Message-ID: <18834.41777.850731.923577@kahikatea.snap.net.nz> On OSX all multi-line tooltips display just the first line. I don't know if this is a bug with OSX or Emacs: generally applications only seem to use one line for tooltips as did Emacs until recently. -- Nick http://www.inet.net.nz/~nickrob [-- Attachment #3: Type: message/rfc822, Size: 2937 bytes --] From: David Reitter <david.reitter@gmail.com> To: 2278-done@debbugs.gnu.org Subject: done Date: Mon, 4 Jan 2010 07:25:24 +0100 Message-ID: <A51A6A3E-37F9-4417-A5E9-E7AF2135D1BA@gmail.com> patch was checked in 2009-06-14. ^ permalink raw reply [flat|nested] 10+ messages in thread
* bug#2747: [PATCH] 23.0.91; multi-line tooltips don't work on nextstep @ 2009-03-22 17:46 ` Nikolaj Schumacher 2009-03-23 1:50 ` YAMAMOTO Mitsuharu 2010-01-04 6:26 ` bug#2747: marked as done ([PATCH] 23.0.91; multi-line tooltips don't work on nextstep) Emacs bug Tracking System 0 siblings, 2 replies; 10+ messages in thread From: Nikolaj Schumacher @ 2009-03-22 17:46 UTC (permalink / raw) To: emacs-pretest-bug In GNU Emacs 23.0.91.1 (i386-apple-darwin9.6.0, NS apple-appkit-949.43) of 2009-03-22 on thursday Windowing system distributor `Apple', version 10.3.949 configured using `configure '--with-ns' '--with-x'' Only the first line multi-line tooltips like (tooltip-show "foo\nbar") appear on nextstep. The following patch seems to be a simple (perhaps too simple?) solution: diff --git a/src/nsmenu.m b/src/nsmenu.m index 9a97492..97d29e9 100644 --- a/src/nsmenu.m +++ b/src/nsmenu.m @@ -1398,10 +1398,7 @@ update_frame_tool_bar (FRAME_PTR f) NSColor *col = [NSColor colorWithCalibratedRed: 1.0 green: 1.0 blue: 0.792 alpha: 0.95]; NSFont *font = [NSFont toolTipsFontOfSize: 0]; - NSFont *sfont = [font screenFont]; - int height = [sfont ascender] - [sfont descender]; -/*[font boundingRectForFont].size.height; */ - NSRect r = NSMakeRect (0, 0, 100, height+6); + NSRect r = NSMakeRect (0, 0, 100, 100); textField = [[NSTextField alloc] initWithFrame: r]; [textField setFont: font]; @@ -1438,10 +1435,8 @@ update_frame_tool_bar (FRAME_PTR f) - (void) setText: (char *)text { NSString *str = [NSString stringWithUTF8String: text]; - NSRect r = [textField frame]; - r.size.width = [[[textField font] screenFont] widthOfString: str] + 8; - [textField setFrame: r]; [textField setStringValue: str]; + [textField sizeToFit]; } - (void) showAtX: (int)x Y: (int)y for: (int)seconds ^ permalink raw reply related [flat|nested] 10+ messages in thread
* bug#2747: [PATCH] 23.0.91; multi-line tooltips don't work on nextstep 2009-03-22 17:46 ` bug#2747: [PATCH] 23.0.91; multi-line tooltips don't work on nextstep Nikolaj Schumacher @ 2009-03-23 1:50 ` YAMAMOTO Mitsuharu 2010-01-04 6:26 ` bug#2747: marked as done ([PATCH] 23.0.91; multi-line tooltips don't work on nextstep) Emacs bug Tracking System 1 sibling, 0 replies; 10+ messages in thread From: YAMAMOTO Mitsuharu @ 2009-03-23 1:50 UTC (permalink / raw) To: Nikolaj Schumacher, 2747 >>>>> On Sun, 22 Mar 2009 18:46:51 +0100, Nikolaj Schumacher <me@nschum.de> said: > In GNU Emacs 23.0.91.1 (i386-apple-darwin9.6.0, NS > apple-appkit-949.43) of 2009-03-22 on thursday Windowing system > distributor `Apple', version 10.3.949 configured using `configure > '--with-ns' '--with-x'' > Only the first line multi-line tooltips like > (tooltip-show "foo\nbar") > appear on nextstep. > The following patch seems to be a simple (perhaps too simple?) > solution: It might solve this particular problem, but I think the whole tooltip code should be rewritten so as to use an Emacs frame like in the other platforms. (cf. http://lists.gnu.org/archive/html/emacs-devel/2009-03/msg00123.html) YAMAMOTO Mitsuharu mituharu@math.s.chiba-u.ac.jp ^ permalink raw reply [flat|nested] 10+ messages in thread
* bug#2747: marked as done ([PATCH] 23.0.91; multi-line tooltips don't work on nextstep) 2009-03-22 17:46 ` bug#2747: [PATCH] 23.0.91; multi-line tooltips don't work on nextstep Nikolaj Schumacher 2009-03-23 1:50 ` YAMAMOTO Mitsuharu @ 2010-01-04 6:26 ` Emacs bug Tracking System 1 sibling, 0 replies; 10+ messages in thread From: Emacs bug Tracking System @ 2010-01-04 6:26 UTC (permalink / raw) To: David Reitter; +Cc: emacs-bug-tracker [-- Attachment #1: Type: text/plain, Size: 825 bytes --] Your message dated Mon, 4 Jan 2010 07:25:24 +0100 with message-id <A51A6A3E-37F9-4417-A5E9-E7AF2135D1BA@gmail.com> and subject line done has caused the Emacs bug report #2278, regarding [PATCH] 23.0.91; multi-line tooltips don't work on nextstep to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact bug-gnu-emacs@gnu.org immediately.) -- 2278: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=2278 Emacs Bug Tracking System Contact bug-gnu-emacs@gnu.org with problems [-- Attachment #2: Type: message/rfc822, Size: 3359 bytes --] From: Nikolaj Schumacher <me@nschum.de> To: emacs-pretest-bug@gnu.org Subject: [PATCH] 23.0.91; multi-line tooltips don't work on nextstep Date: Sun, 22 Mar 2009 18:46:51 +0100 Message-ID: <m2mybdpi0k.fsf@nschum.de> In GNU Emacs 23.0.91.1 (i386-apple-darwin9.6.0, NS apple-appkit-949.43) of 2009-03-22 on thursday Windowing system distributor `Apple', version 10.3.949 configured using `configure '--with-ns' '--with-x'' Only the first line multi-line tooltips like (tooltip-show "foo\nbar") appear on nextstep. The following patch seems to be a simple (perhaps too simple?) solution: diff --git a/src/nsmenu.m b/src/nsmenu.m index 9a97492..97d29e9 100644 --- a/src/nsmenu.m +++ b/src/nsmenu.m @@ -1398,10 +1398,7 @@ update_frame_tool_bar (FRAME_PTR f) NSColor *col = [NSColor colorWithCalibratedRed: 1.0 green: 1.0 blue: 0.792 alpha: 0.95]; NSFont *font = [NSFont toolTipsFontOfSize: 0]; - NSFont *sfont = [font screenFont]; - int height = [sfont ascender] - [sfont descender]; -/*[font boundingRectForFont].size.height; */ - NSRect r = NSMakeRect (0, 0, 100, height+6); + NSRect r = NSMakeRect (0, 0, 100, 100); textField = [[NSTextField alloc] initWithFrame: r]; [textField setFont: font]; @@ -1438,10 +1435,8 @@ update_frame_tool_bar (FRAME_PTR f) - (void) setText: (char *)text { NSString *str = [NSString stringWithUTF8String: text]; - NSRect r = [textField frame]; - r.size.width = [[[textField font] screenFont] widthOfString: str] + 8; - [textField setFrame: r]; [textField setStringValue: str]; + [textField sizeToFit]; } - (void) showAtX: (int)x Y: (int)y for: (int)seconds [-- Attachment #3: Type: message/rfc822, Size: 2937 bytes --] From: David Reitter <david.reitter@gmail.com> To: 2278-done@debbugs.gnu.org Subject: done Date: Mon, 4 Jan 2010 07:25:24 +0100 Message-ID: <A51A6A3E-37F9-4417-A5E9-E7AF2135D1BA@gmail.com> patch was checked in 2009-06-14. ^ permalink raw reply related [flat|nested] 10+ messages in thread
* bug#2278: 23.0.60; Tooltips truncated on OS X
@ 2010-01-02 19:30 Chong Yidong
2010-01-02 21:19 ` Nick Roberts
0 siblings, 1 reply; 10+ messages in thread
From: Chong Yidong @ 2010-01-02 19:30 UTC (permalink / raw)
To: Nick Roberts; +Cc: 2278
> On OSX all multi-line tooltips display just the first line. I don't
> know if this is a bug with OSX or Emacs: generally applications only
> seem to use one line for tooltips as did Emacs until recently.
Do you still see this problem? IIUC, the 2009-06-14 change by Sidney
Markowitz was supposed to fix this, but the bug has not been closed in
our database.
^ permalink raw reply [flat|nested] 10+ messages in thread
* bug#2278: 23.0.60; Tooltips truncated on OS X 2010-01-02 19:30 bug#2278: 23.0.60; Tooltips truncated on OS X Chong Yidong @ 2010-01-02 21:19 ` Nick Roberts 2010-01-02 21:23 ` Chong Yidong 2010-01-03 21:59 ` Richard Stallman 0 siblings, 2 replies; 10+ messages in thread From: Nick Roberts @ 2010-01-02 21:19 UTC (permalink / raw) To: Chong Yidong; +Cc: 2278 > > On OSX all multi-line tooltips display just the first line. I don't > > know if this is a bug with OSX or Emacs: generally applications only > > seem to use one line for tooltips as did Emacs until recently. > > Do you still see this problem? IIUC, the 2009-06-14 change by Sidney > Markowitz was supposed to fix this, but the bug has not been closed in > our database. Sorry, but I no longer have use of a Mac to test it. -- Nick http://users.snap.net.nz/~nickrob ^ permalink raw reply [flat|nested] 10+ messages in thread
* bug#2278: 23.0.60; Tooltips truncated on OS X 2010-01-02 21:19 ` Nick Roberts @ 2010-01-02 21:23 ` Chong Yidong 2010-01-04 6:32 ` David Reitter 2010-01-03 21:59 ` Richard Stallman 1 sibling, 1 reply; 10+ messages in thread From: Chong Yidong @ 2010-01-02 21:23 UTC (permalink / raw) To: David Reitter; +Cc: 2278 Hi David, Since you're the one who checked Sidney Markowitz's patch in, could you verify that this problem is fixed? nickrob@snap.net.nz (Nick Roberts) writes: > > > On OSX all multi-line tooltips display just the first line. I don't > > > know if this is a bug with OSX or Emacs: generally applications only > > > seem to use one line for tooltips as did Emacs until recently. > > > > Do you still see this problem? IIUC, the 2009-06-14 change by Sidney > > Markowitz was supposed to fix this, but the bug has not been closed in > > our database. > > Sorry, but I no longer have use of a Mac to test it. ^ permalink raw reply [flat|nested] 10+ messages in thread
* bug#2278: 23.0.60; Tooltips truncated on OS X 2010-01-02 21:23 ` Chong Yidong @ 2010-01-04 6:32 ` David Reitter 0 siblings, 0 replies; 10+ messages in thread From: David Reitter @ 2010-01-04 6:32 UTC (permalink / raw) To: Chong Yidong; +Cc: 2278 [-- Attachment #1: Type: text/plain, Size: 560 bytes --] On Jan 2, 2010, at 10:23 PM, Chong Yidong wrote: > Hi David, > > Since you're the one who checked Sidney Markowitz's patch in, could you > verify that this problem is fixed? done. The bug tracker seems broken - the second bug (2747) is listed, but the link doesn't work (404): http://debbugs.gnu.org/db/27/2747.html (This was merged with another one). Also, the donarmstrong URLs should, perhaps, be redirected automatically to the analogous debbugs.gnu.org ones in order to preserve search engine entries and other archived links. - D [-- Attachment #2: This is a digitally signed message part --] [-- Type: application/pgp-signature, Size: 203 bytes --] ^ permalink raw reply [flat|nested] 10+ messages in thread
* bug#2278: 23.0.60; Tooltips truncated on OS X 2010-01-02 21:19 ` Nick Roberts 2010-01-02 21:23 ` Chong Yidong @ 2010-01-03 21:59 ` Richard Stallman 1 sibling, 0 replies; 10+ messages in thread From: Richard Stallman @ 2010-01-03 21:59 UTC (permalink / raw) To: Nick Roberts, 2278; +Cc: 2278 Sorry, but I no longer have use of a Mac to test it. Good for you! ^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2010-01-04 6:32 UTC | newest] Thread overview: 10+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- [not found] <A51A6A3E-37F9-4417-A5E9-E7AF2135D1BA@gmail.com> 2009-02-11 10:06 ` bug#2278: 23.0.60; Tooltips truncated on OS X Nick Roberts 2010-01-04 6:26 ` bug#2278: marked as done (23.0.60; Tooltips truncated on OS X) Emacs bug Tracking System 2009-03-22 17:46 ` bug#2747: [PATCH] 23.0.91; multi-line tooltips don't work on nextstep Nikolaj Schumacher 2009-03-23 1:50 ` YAMAMOTO Mitsuharu 2010-01-04 6:26 ` bug#2747: marked as done ([PATCH] 23.0.91; multi-line tooltips don't work on nextstep) Emacs bug Tracking System 2010-01-02 19:30 bug#2278: 23.0.60; Tooltips truncated on OS X Chong Yidong 2010-01-02 21:19 ` Nick Roberts 2010-01-02 21:23 ` Chong Yidong 2010-01-04 6:32 ` David Reitter 2010-01-03 21:59 ` Richard Stallman
Code repositories for project(s) associated with this external index https://git.savannah.gnu.org/cgit/emacs.git https://git.savannah.gnu.org/cgit/emacs/org-mode.git This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.