Dependency Graph

Dependency Graph
related to related to child of child of duplicate of duplicate of

View Issue Details

IDProjectCategoryView StatusLast Update
0021675mantisbtuipublic2025-08-21 19:05
ReporterChris_Z Assigned Todregad  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version2.0.0-beta.2 
Target Version2.27.2Fixed in Version2.27.2 
Summary0021675: Incorrect positioning of "View Issue Details" when recalled from "Direct link to note"
Description

When clicking on 'Direct link to note' the "View Issue Details" does not account for Menu Bar (upper part of the Note is obscured). See the attached screenshot.

Steps To Reproduce

Click on 'Direct link to note'.

Tagsmodern-ui
Attached Files
Snapshot-2016-09-08-123006.png (32,173 bytes)   
Snapshot-2016-09-08-123006.png (32,173 bytes)   

Relationships

has duplicate 0022040 closedatrol Anchor links put content under navbar 
has duplicate 0026115 closedatrol Floating dark grey header obscures comments when visiting direct comment link 
related to 0022346 acknowledged Highlight the linked-to issue 
related to 0027160 closedatrol Wrong page position after bugnote add/edit 
related to 0036269 assigneddregad Collapsed status for "Users monitoring" section is not persisted 

Activities

Chris_Z

Chris_Z

2016-09-08 06:55

reporter   ~0053980

Sorry for the spam. Tried to post the bug report AND tag it with "modern-ui".
Got "Access Denied". This must be a bug, because I could select the tag!

So I retried twice more without knowing that it went through anyway.

atrol

atrol

2016-09-08 13:22

developer   ~0053981

Last edited: 2019-09-06 02:57

This must be a bug, because I could select the tag!

I created 0021679 to track this issue.

dregad

dregad

2019-09-06 02:59

developer   ~0062736

@syncguru having the navbar overflow the page contents seems to be the normal behavior of ACE.

Any idea if and how this could be addressed ? This is beyond my CSS skills.

syncguru

syncguru

2019-09-06 14:04

developer   ~0062747

Interesting. I never tried to link directly to the comment. Will look into it and see if I can figure out a fix.

dregad

dregad

2020-08-24 03:26

developer   ~0064289

@syncguru, did you get a chance to look into this issue ?

lbejiuk

lbejiuk

2022-01-03 09:01

reporter   ~0066135

Hi to all, is there any progress on this issue?

dregad

dregad

2025-04-24 08:09

developer   ~0070183

PR https://github.com/mantisbt/mantisbt/pull/2137

dregad

dregad

2025-05-03 19:04

developer   ~0070211

New PR https://github.com/mantisbt/mantisbt/pull/2140 with additional fixes for other anchor links misbehaving in the same way as #bugnotes.

Related Changesets

MantisBT: master-2.27 fb694563

2025-04-23 07:33

matejbrodziansky

Committer: dregad


Details Diff
Fix scroll offset on bugnote links

When clicking on a direct link to a bugnote, e.g. from "View Issue
Details" page or from a notification email, MantisBT did not account for
the Navbar's height, causing the upper part of the note to be hidden
behind it.

Adding scroll-margin-top CSS attribute allows proper positioning.

Fixes 0021675

Signed-off-by: Damien Regad <dregad@mantisbt.org>

Changes to original contribution from [PR 2137][1]
- Rewritten commit message, added bugtracker reference
- Coding guidelines

[1]: https://github.com/mantisbt/mantisbt/pull/2137
Affected Issues
0021675
mod - css/default.css Diff File

MantisBT: master-2.27 a911a2ba

2025-05-03 18:03

dregad


Details Diff
Fix additional scroll offset issues

In most use cases, we want to jump to a section (i.e. a div with the
widget-box class); many of these already have an id, so we just need to
extend the scroll offset rule by adding the `div.widget-box` selector
to fix those.

Additionally, this removes several unnecessary <a> tags that are
duplicating existing IDs on <div> with widget-box class.

- View page:
- Monitors section (#monitors)
- Notes/Activities section (#bugnotes, #attachments)
- Time tracking section (#bugnotestats)
- History section (#history)
- Manage Tags page, Create Tag section (#tagcreate)
- Configuration Report page, Database Configuration section
- Language tests page, Plugins checks (add `.test-langs tr` selector)

Fixes 0021675
Affected Issues
0021675
mod - adm_config_report.php Diff File
mod - admin/test_langs.php Diff File
mod - bug_view_inc.php Diff File
mod - bugnote_stats_inc.php Diff File
mod - bugnote_view_inc.php Diff File
mod - css/default.css Diff File
mod - manage_tags_page.php Diff File