emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* BUG (regression): clocktable with ~:link t~ looks visually inconsistent
@ 2024-09-01 21:10 Pedro
  2024-09-07 18:20 ` Ihor Radchenko
  0 siblings, 1 reply; 8+ messages in thread
From: Pedro @ 2024-09-01 21:10 UTC (permalink / raw)
  To: emacs-orgmode


[-- Attachment #1.1.1: Type: text/plain, Size: 402 bytes --]

Hi,

On a clocktable with hierarchy (see attached file 
clocktable-link-bug.org), when ~:link t~ is used, it does not look 
visually good; that was not an issue with the previous versions of orgmode

Find attached screenshot 2024-09-01_23-05_clocktable-detail.png, that 
shows the inconsistency in my ~emacs -Q~ with orgmode 9.7.10 and 
emacs-30 branch with commit 44c2614

Cheers,
pinmacs

[-- Attachment #1.1.2: 2024-09-01_23-05_clocktable-detail.png --]
[-- Type: image/png, Size: 54862 bytes --]

[-- Attachment #1.1.3: clocktable-link-bug.org --]
[-- Type: text/org, Size: 1579 bytes --]

* [2024-08-31 Sat]
:PROPERTIES:
:CREATED:  [2024-09-01 Sun 23:00]
:CUSTOM_ID: clocktable-link-bug_2
:END:

** DONE task1
:LOGBOOK:
CLOCK: [2024-08-31 Sat 22:45]--[2024-08-31 Sat 22:56] =>  0:11
:END:

* [2024-09-01 Sun]
:PROPERTIES:
:CREATED:  [2024-09-01 Sun 23:00]
:CUSTOM_ID: clocktable-link-bug_1
:END:

** DONE task2
:LOGBOOK:
CLOCK: [2024-09-01 Sun 22:30]--[2024-09-01 Sun 22:56] =>  0:26
:END:

clocktable with ~:link nil~ shows it fine

#+NAME: my_clocktable_without_link
#+BEGIN: clocktable :maxlevel 4 :scope file :link nil
#+CAPTION: Clock summary at [2024-09-01 Sun 23:03]
| Headline         | Time |      |
|------------------+------+------|
| Total time       | 0:37 |      |
|------------------+------+------|
| [2024-08-31 Sat] | 0:11 |      |
| \_  task1        |      | 0:11 |
| [2024-09-01 Sun] | 0:26 |      |
| \_  task2        |      | 0:26 |
#+END

clocktable with ~:link nil~ shows it bad

#+NAME: my_clocktable
#+BEGIN: clocktable :maxlevel 4 :scope file :link t
#+CAPTION: Clock summary at [2024-09-01 Sun 23:03]
| Headline          | Time |      |
|-------------------+------+------|
| Total time        | 0:37 |      |
|-------------------+------+------|
| [[file:/home/music/clocktable-link-bug.org::*\[2024-08-31 Sat\]][[2024-08-31 Sat]​]] | 0:11 |      |
| \_  [[file:/home/music/clocktable-link-bug.org::*task1][task1]]         |      | 0:11 |
| [[file:/home/music/clocktable-link-bug.org::*\[2024-09-01 Sun\]][[2024-09-01 Sun]​]] | 0:26 |      |
| \_  [[file:/home/music/clocktable-link-bug.org::*task2][task2]]         |      | 0:26 |
#+END

[-- Attachment #1.1.4: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 3323 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 495 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* BUG (regression): clocktable with ~:link t~ looks visually inconsistent
@ 2024-09-01 21:30 pinmacs
  2024-09-07 17:22 ` Ihor Radchenko
  0 siblings, 1 reply; 8+ messages in thread
From: pinmacs @ 2024-09-01 21:30 UTC (permalink / raw)
  To: emacs-orgmode


[-- Attachment #1.1.1: Type: text/plain, Size: 404 bytes --]

Hi,

On a clocktable with hierarchy (see attached file 
clocktable-link-bug.org), when ~:link t~ is used, it does not look 
visually good; that was not an issue with the previous versions of orgmode

Find attached screenshot 2024-09-01_23-05_clocktable-detail.png, that 
shows the inconsistency in my ~emacs -Q~ with orgmode 9.7.10 and 
emacs-30 branch with commit 44c2614

Cheers,
pinmacs


[-- Attachment #1.1.2: 2024-09-01_23-05_clocktable-detail.png --]
[-- Type: image/png, Size: 54862 bytes --]

[-- Attachment #1.1.3: clocktable-link-bug.org --]
[-- Type: text/org, Size: 1579 bytes --]

* [2024-08-31 Sat]
:PROPERTIES:
:CREATED:  [2024-09-01 Sun 23:00]
:CUSTOM_ID: clocktable-link-bug_2
:END:

** DONE task1
:LOGBOOK:
CLOCK: [2024-08-31 Sat 22:45]--[2024-08-31 Sat 22:56] =>  0:11
:END:

* [2024-09-01 Sun]
:PROPERTIES:
:CREATED:  [2024-09-01 Sun 23:00]
:CUSTOM_ID: clocktable-link-bug_1
:END:

** DONE task2
:LOGBOOK:
CLOCK: [2024-09-01 Sun 22:30]--[2024-09-01 Sun 22:56] =>  0:26
:END:

clocktable with ~:link nil~ shows it fine

#+NAME: my_clocktable_without_link
#+BEGIN: clocktable :maxlevel 4 :scope file :link nil
#+CAPTION: Clock summary at [2024-09-01 Sun 23:03]
| Headline         | Time |      |
|------------------+------+------|
| Total time       | 0:37 |      |
|------------------+------+------|
| [2024-08-31 Sat] | 0:11 |      |
| \_  task1        |      | 0:11 |
| [2024-09-01 Sun] | 0:26 |      |
| \_  task2        |      | 0:26 |
#+END

clocktable with ~:link nil~ shows it bad

#+NAME: my_clocktable
#+BEGIN: clocktable :maxlevel 4 :scope file :link t
#+CAPTION: Clock summary at [2024-09-01 Sun 23:03]
| Headline          | Time |      |
|-------------------+------+------|
| Total time        | 0:37 |      |
|-------------------+------+------|
| [[file:/home/music/clocktable-link-bug.org::*\[2024-08-31 Sat\]][[2024-08-31 Sat]​]] | 0:11 |      |
| \_  [[file:/home/music/clocktable-link-bug.org::*task1][task1]]         |      | 0:11 |
| [[file:/home/music/clocktable-link-bug.org::*\[2024-09-01 Sun\]][[2024-09-01 Sun]​]] | 0:26 |      |
| \_  [[file:/home/music/clocktable-link-bug.org::*task2][task2]]         |      | 0:26 |
#+END

[-- Attachment #1.1.4: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 3323 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 495 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: BUG (regression): clocktable with ~:link t~ looks visually inconsistent
  2024-09-01 21:30 pinmacs
@ 2024-09-07 17:22 ` Ihor Radchenko
  2024-09-09 16:15   ` pinmacs
  0 siblings, 1 reply; 8+ messages in thread
From: Ihor Radchenko @ 2024-09-07 17:22 UTC (permalink / raw)
  To: pinmacs; +Cc: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 503 bytes --]

pinmacs@cas.cat writes:

> On a clocktable with hierarchy (see attached file 
> clocktable-link-bug.org), when ~:link t~ is used, it does not look 
> visually good; that was not an issue with the previous versions of orgmode
>
> Find attached screenshot 2024-09-01_23-05_clocktable-detail.png, that 
> shows the inconsistency in my ~emacs -Q~ with orgmode 9.7.10 and 
> emacs-30 branch with commit 44c2614

I cannot reproduce.
See the attached screenshot.
Maybe something to do with your system fonts.


[-- Attachment #2: 2024-09-07_19-20.png --]
[-- Type: image/png, Size: 45602 bytes --]

[-- Attachment #3: Type: text/plain, Size: 224 bytes --]


-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: BUG (regression): clocktable with ~:link t~ looks visually inconsistent
  2024-09-01 21:10 BUG (regression): clocktable with ~:link t~ looks visually inconsistent Pedro
@ 2024-09-07 18:20 ` Ihor Radchenko
  0 siblings, 0 replies; 8+ messages in thread
From: Ihor Radchenko @ 2024-09-07 18:20 UTC (permalink / raw)
  To: Pedro; +Cc: emacs-orgmode

Pedro <pedro@cas.cat> writes:

> On a clocktable with hierarchy (see attached file 
> clocktable-link-bug.org), when ~:link t~ is used, it does not look 
> visually good; that was not an issue with the previous versions of orgmode
>
> Find attached screenshot 2024-09-01_23-05_clocktable-detail.png, that 
> shows the inconsistency in my ~emacs -Q~ with orgmode 9.7.10 and 
> emacs-30 branch with commit 44c2614

Duplicate of
https://list.orgmode.org/orgmode/08ce4397-6800-4b47-97a1-921194ac44a0@cas.cat/
Canceled.

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: BUG (regression): clocktable with ~:link t~ looks visually inconsistent
  2024-09-07 17:22 ` Ihor Radchenko
@ 2024-09-09 16:15   ` pinmacs
  2024-09-09 16:19     ` Ihor Radchenko
  0 siblings, 1 reply; 8+ messages in thread
From: pinmacs @ 2024-09-09 16:15 UTC (permalink / raw)
  To: Ihor Radchenko; +Cc: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 1093 bytes --]

On 2024-09-07 19:22, Ihor Radchenko wrote:
> pinmacs@cas.cat writes:
>
>> On a clocktable with hierarchy (see attached file
>> clocktable-link-bug.org), when ~:link t~ is used, it does not look
>> visually good; that was not an issue with the previous versions of orgmode
>>
>> Find attached screenshot 2024-09-01_23-05_clocktable-detail.png, that
>> shows the inconsistency in my ~emacs -Q~ with orgmode 9.7.10 and
>> emacs-30 branch with commit 44c2614
> I cannot reproduce.
> See the attached screenshot.
> Maybe something to do with your system fonts.

Hi Ihor,

Thanks for your reply!

By the way, my emacs command for testing the bug was wrong, now I did it 
with =emacs -q=

After vanilla emacs, I did =describe-fontset= for that buffer and got 
"google noto sans mono" font (see file 2024-09-09_18-10_google-noto.png )

I changed it to Fira Code Retina with this command =(set-frame-font 
"Fira Code Retina" nil t)= ( see file 2024-09-09_18-11_fira-code.png )

As you see in the attached screen captures, I have the same problem with 
both fonts, what font do you use?

Cheers,
pinmacs

[-- Attachment #2: 2024-09-09_18-10_google-noto.png --]
[-- Type: image/png, Size: 115767 bytes --]

[-- Attachment #3: 2024-09-09_18-11_fira-code.png --]
[-- Type: image/png, Size: 100614 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: BUG (regression): clocktable with ~:link t~ looks visually inconsistent
  2024-09-09 16:15   ` pinmacs
@ 2024-09-09 16:19     ` Ihor Radchenko
  2024-09-09 16:34       ` pinmacs
  0 siblings, 1 reply; 8+ messages in thread
From: Ihor Radchenko @ 2024-09-09 16:19 UTC (permalink / raw)
  To: pinmacs; +Cc: emacs-orgmode

pinmacs <pinmacs@cas.cat> writes:

> I changed it to Fira Code Retina with this command =(set-frame-font 
> "Fira Code Retina" nil t)= ( see file 2024-09-09_18-11_fira-code.png )
>
> As you see in the attached screen captures, I have the same problem with 
> both fonts, what font do you use?

Did you re-align the tables?

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: BUG (regression): clocktable with ~:link t~ looks visually inconsistent
  2024-09-09 16:19     ` Ihor Radchenko
@ 2024-09-09 16:34       ` pinmacs
  2024-09-15 10:16         ` Ihor Radchenko
  0 siblings, 1 reply; 8+ messages in thread
From: pinmacs @ 2024-09-09 16:34 UTC (permalink / raw)
  To: Ihor Radchenko; +Cc: emacs-orgmode

On 2024-09-09 18:19, Ihor Radchenko wrote:
> pinmacs <pinmacs@cas.cat> writes:
>
>> I changed it to Fira Code Retina with this command =(set-frame-font
>> "Fira Code Retina" nil t)= ( see file 2024-09-09_18-11_fira-code.png )
>>
>> As you see in the attached screen captures, I have the same problem with
>> both fonts, what font do you use?
> Did you re-align the tables?
>

I ran again =emacs -q= with GNU Emacs 30.0.90 (build 1, 
x86_64-pc-linux-gnu, X toolkit, cairo version 1.16.0, Xaw3d scroll bars) 
of 2024-08-30

did TAB and S-TAB on the affected table but looks the same as in the 
previous screenshots

I manually aligned it OK (just adding a space after the linked title) 
and pressed TAB and S-TAB, then it reproduced the same inconsistency


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: BUG (regression): clocktable with ~:link t~ looks visually inconsistent
  2024-09-09 16:34       ` pinmacs
@ 2024-09-15 10:16         ` Ihor Radchenko
  0 siblings, 0 replies; 8+ messages in thread
From: Ihor Radchenko @ 2024-09-15 10:16 UTC (permalink / raw)
  To: pinmacs; +Cc: emacs-orgmode

pinmacs <pinmacs@cas.cat> writes:

> On 2024-09-09 18:19, Ihor Radchenko wrote:
>> pinmacs <pinmacs@cas.cat> writes:
>>
>>> I changed it to Fira Code Retina with this command =(set-frame-font
>>> "Fira Code Retina" nil t)= ( see file 2024-09-09_18-11_fira-code.png )
>>>
>>> As you see in the attached screen captures, I have the same problem with
>>> both fonts, what font do you use?
>> Did you re-align the tables?
>>
>
> I ran again =emacs -q= with GNU Emacs 30.0.90 (build 1, 
> x86_64-pc-linux-gnu, X toolkit, cairo version 1.16.0, Xaw3d scroll bars) 
> of 2024-08-30
>
> did TAB and S-TAB on the affected table but looks the same as in the 
> previous screenshots
>
> I manually aligned it OK (just adding a space after the linked title) 
> and pressed TAB and S-TAB, then it reproduced the same inconsistency

I tried again, using built-in Org mode, and I was able to reproduce.
But not using the latest development version of Org mode (main branch).

Canceled.

Should be resolved in the next Org mode release.

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2024-09-15 10:15 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-01 21:10 BUG (regression): clocktable with ~:link t~ looks visually inconsistent Pedro
2024-09-07 18:20 ` Ihor Radchenko
  -- strict thread matches above, loose matches on Subject: below --
2024-09-01 21:30 pinmacs
2024-09-07 17:22 ` Ihor Radchenko
2024-09-09 16:15   ` pinmacs
2024-09-09 16:19     ` Ihor Radchenko
2024-09-09 16:34       ` pinmacs
2024-09-15 10:16         ` Ihor Radchenko

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).