Git Product home page Git Product logo

dreams's People

Contributors

sixofclubsss avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Forkers

secretnamebasis

dreams's Issues

Incorrect content displayed

Content issues have been reported when displaying images.

Ex. when face cards first show for a player they flash incorrect cards then change to the correct cards.

Investigation underway to find the cause.

[BUG] List widgets with many objects per item flicker when hovered

Describe the bug
When hovered over a List item, the highlight may flicker. This seems to occur more often with Lists that are constructed with many objects, possible optimizations to be had in that regards.

Relevant Package/Repo
Relevant to dReams, issue extends into dApps.

To Reproduce
Steps to reproduce the behavior:

  1. Connect and sync dReams
  2. Go to a List widget (Duels and Holdero Lists with many items)
  3. Hover mouse pointer over List item
  4. Watch if highlight remains solid or begins to flicker

Expected behavior
Once hovered, the highlight should remain solid as long as the pointer remains on that item.

Additional context
Mod at time of report,

go 1.21.5

require (
	fyne.io/fyne/v2 v2.4.4-rc2.0.20240406182811-8c17ddaea67e
	fyne.io/x/fyne v0.0.0-20240326131024-3ba9170cc3be
	github.com/SixofClubsss/Baccarat v0.3.2-0.20240407220413-e24bbb735f5e
	github.com/SixofClubsss/Duels v0.1.2-0.20240407220014-8d2cc3a51377
	github.com/SixofClubsss/Grokked v0.1.2-0.20240407215315-bfafed99ff50
	github.com/SixofClubsss/Holdero v0.3.2-0.20240407215123-e4de616d2cd9
	github.com/SixofClubsss/Iluma v0.3.2-0.20240407214903-cc29dcd748fa
	github.com/SixofClubsss/dDice v0.0.0-20240407220521-4787a263ad62
	github.com/SixofClubsss/dPrediction v0.3.2-0.20240407220227-8dc5355d80b5
	github.com/blang/semver/v4 v4.0.0
	github.com/civilware/Gnomon v0.0.0-20240403103529-8b2fdb2b3106
	github.com/creachadair/jrpc2 v0.35.4
	github.com/deroproject/derohe v0.0.0-20240326214000-81d61c264e16
	github.com/gorilla/websocket v1.5.0
	github.com/sirupsen/logrus v1.9.3
	github.com/superoo7/go-gecko v1.0.0
	github.com/x-cray/logrus-prefixed-formatter v0.5.2
	github.com/ybbus/jsonrpc/v3 v3.1.4
	go.etcd.io/bbolt v1.3.7
)

[BUG] High memory use

Describe the bug
High memory after prolonged use.

Relevant Package/Repo
Relevant to dReams app. Some work may been needed dApp side

To Reproduce
Steps to reproduce the behavior:

  1. Start dReams and check memory after syncing
  2. Actively use dReams for a few hours
  3. Check memory

Expected behavior
Reduced memory consumption, finding a medium.

Screenshots
none

Additional context
pprof top10

     flat  flat%   sum%        cum   cum%
1296.76MB 26.53% 26.53%  1733.31MB 35.46%  fyne.io/fyne/v2/widget.(*RichText).cachedSegmentVisual
 680.12MB 13.91% 40.44%   708.38MB 14.49%  fyne.io/fyne/v2/widget.NewRichText (inline)
 656.63MB 13.43% 53.88%   656.63MB 13.43%  fyne.io/fyne/v2/widget.NewLabelWithStyle
 429.50MB  8.79% 62.66%  4037.65MB 82.60%  fyne.io/fyne/v2/internal/cache.Renderer
 409.55MB  8.38% 71.04%   409.55MB  8.38%  fyne.io/fyne/v2/canvas.NewText
 361.03MB  7.39% 78.43%  1064.15MB 21.77%  fyne.io/fyne/v2/widget.NewRichTextWithText
 300.53MB  6.15% 84.58%   300.53MB  6.15%  fyne.io/fyne/v2/canvas.NewRectangle (inline)
 222.51MB  4.55% 89.13%   282.77MB  5.79%  fyne.io/fyne/v2/widget.(*RichText).updateRowBounds.func1
    115MB  2.35% 91.48%  2449.97MB 50.12%  fyne.io/fyne/v2/widget.(*RichText).CreateRenderer
  89.50MB  1.83% 93.31%    89.50MB  1.83%  fyne.io/fyne/v2/internal/cache.(*expiringCache).setAlive

[BUG] False TX failed prints

Describe the bug
When sending a TX manually (by pressing a button), the confirmation print out is falsely printing a warning that the TX has failed, when it is actually a successful TX.

Relevant Package/Repo
This is relevant to dReams rpc package and it's dependents since v0.11.0

To Reproduce
Steps to reproduce the behavior:

  1. Connect wallet and daemon to dReams/dApps and sync up
  2. Click on any button that sends a TX
  3. In the terminal of your running dReams/dApp you'll see a failed or confirmed print for the sent TX
  4. If failed printed, review on chain as to weather the TX has actually failed or not.

Expected behavior
The print out should read TX confirmed, not TX failed

Screenshots
Terminal print in this situation would look as follows

[12/30/2023 11:51:18]  INFO Baccarat: Player TX: {574ab8507de1dd3328b188b59a703165b3bb9d5550ef587be091da46b2da0fa1}
[12/30/2023 11:51:39]  WARN Baccarat: TX failed: {574ab8507de1dd3328b188b59a703165b3bb9d5550ef587be091da46b2da0fa1}

Additional context
This stems from rpc.ConfirmTx, the print is just a visual reference and shouldn't have any negative effects on dReams/dApp operation.

func ConfirmTx(txid, tag string, timeout int) bool {

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.