Logistics Pipes

Logistics Pipes

13M Downloads

ThaumCraft Aspects not rendering on the Request UIs

Bernasss12 opened this issue · 11 comments

commented

While on the Request Pipe's GUI when you shift hover over an item it shows the extra tooltip but it seems to add two extra empty lines, easier to show than to tell:
-Diamond block has no extra tooltip information so if only shows two empty lines:
image
-Provider Logistics Pipes has information to show but also has two empty lines after said information is shown:
image

commented

A random idea, but it seems like you lacking to use a mod that adds the mod name to items, like HWYLA or Mod Name Tooltip. I bet this causes the empty lines for you. Could you try out one of them and check if the empty lines are still present?

Also could you please include LP and Forge versions into your issue report? There is two different version of LP (one for 1.7.10 one for 1.12.2) and based on a screenshot it's quite hard to determine what version is affected in this bug.

commented

I could and maybe will indeed check if that makes any difference
The version I'm using is the dev version, I mainly created this issue to remind myself (and others) to take a look at this

commented

It's cool to make reminders but I bet you will totally forget which versions did you use after a few weeks. Also if someone want to jump into this issue, he/she would want to re-create the environment to reproduce the issue, versions are important for this. Maybe you can get a solution earlier than you could get a time for fix it! 😄

commented

Well, if he wasn't also developing, I would totally agree @hron84 :) But I basically told him to make an issue, if he thinks it is an issue (instead of adding a TODO comment in the source code). Saying whether this occurs on 1.12 or 1.7.10 isn't necessary anymore. We are working on 1.12 only.

commented

@Bernasss12 Is Thaumcraft installed when the additional two lines appear?

commented

Yes it was, I was using the development environment. And I was already pretty sure the problem wasn't from logistics pipes since I tried to find it with no luck. Now that you've mentioned thaumcraft I'm sure this isn't LP's problem and the issue can be closed

commented

I think this is not really a problem but rather a side effect or missing interaction depending on how you look at it. I think it is Thaumcraft adding two empty lines to that they later can render their aspects over the tooltip to make it look like they are inside the tooltip.

commented
commented

What's the status on this @Bernasss12 ? I haven't been able to reproduce the issue.

commented

I can still reproduce the bug in the most up-to-date branch:

In the Request Table the bug only happens in half the slots:

Request Table Images

Right side of the table
image
Left side of the table
image
Table with slots that work outlined green , and the ones that don't outlines red
image

The Request Pipe's GUI has the problem in every slot:

Request Pipe Images

Request Pipe MK1
image
Request Pipe MK2
image

The Add Macro Popup has the same problem:

Request Table Add Macro Images

Add Macro Popup
image

The statistics table, while choosing which item to track:

Statistics Table Images

Gui Statistics
image

Possible solution

While investigating and trying to solve the issue I got to the conclusion that the way LP is drawing the tooltips is going over one of the Events that the normal tooltips go through, and that Event is what triggers the default ThaumCraft Aspect Rendering
Iirc the Event was called something along the lines RenderToolTipEvent.PostText

The problem I encountered while trying to find a solution myself was that a weird rendering clipping was happening, the aspects where being overlapped by the drawn items behind them:

Statistics Table Images

Don't know how well you can see that but here it is
image

commented

I also checked with Logistics Pipes version LP0.10.2.195 with Thaumcraft version 6.1.BETA26