Skip to content

Circular download progress at dl button, ctrl click to open NewTab, #95

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

blackholeearth
Copy link
Contributor

@blackholeearth blackholeearth commented Apr 15, 2025

currentDownloadingProgress2.mp4

summary

  • add circular progressbar for downloading file
  • other small fixes.
  • rouded-textbox fixes
  • fav icon Exception fix .
    • wrong website FavIcon.
  • proxy modes - regression fix.

@blackholeearth
Copy link
Contributor Author

blackholeearth commented Apr 15, 2025

remove this 3dot chars ,, from menu button..

image

@blackholeearth blackholeearth changed the title Circular download progress atbutton Circular download progress at download button Apr 15, 2025
@blackholeearth blackholeearth changed the title Circular download progress at download button Circular download progress at dl button Apr 15, 2025
@blackholeearth
Copy link
Contributor Author

blackholeearth commented Apr 15, 2025

[bordered texbox color , corner rounding radius fix.]

image

  • ignore the layout.. for now... bcuz, i am on 125 dpi - 1080p.
    • [ dpi layout is whole another issue itself. ]

@blackholeearth
Copy link
Contributor Author

blackholeearth commented Apr 15, 2025

fixed residue fav icon, of previos visited site:: [in this case it was google:]

problem site: https://unsplash.com/s/photos/optimization

image

@blackholeearth blackholeearth force-pushed the circular_downloadProgress_atbutton branch from 7c930a8 to caf7a7f Compare April 15, 2025 16:28
@robinrodricks
Copy link
Collaborator

robinrodricks commented Apr 16, 2025

We should not show the "na" icon. Just make the icon null and then the tab will automatically hide the icon.

The circular progress button is good, but can it be made the same width and height. Currently its a bit wide (squished) and that looks a bit ugly.

Comment on lines 53 to 60
var favnf = new Bitmap(16, 16);
var favg = Graphics.FromImage(favnf);

favg.FillRectangle(Brushes.Beige,0,0,favnf.Width,favnf.Height);
favg.DrawString("na", new Font( SystemFonts.DefaultFont.FontFamily,7f),Brushes.Black,0,0);

NotFound_favico = favnf.ToByteArray(ImageFormat.Png) ;

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove this. this icon is not required. just set the tab image to null and it will hide the icon.

// NOT FOUND!
//if you dont do this, there is residue favicon from previous Website.
iconBitmap = NotFound_favico;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

at this point set iconBitmap to null and that should work hopefully.

Copy link
Contributor Author

@blackholeearth blackholeearth Apr 16, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hopefully. ?! i hope.. if it(effects of null) spreads too much .. ill leave it as it is...

Copy link
Contributor Author

@blackholeearth blackholeearth Apr 16, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

spread over.. but fixed it.

@blackholeearth
Copy link
Contributor Author

blackholeearth commented Apr 16, 2025

We should not show the "na" icon. Just make the icon null and then the tab will automatically hide the icon.

agree.. if its safe to do .. do it....

since i didnt code that area ,, i just was alitle bit cautious...


The circular progress button is good, but can it be made the same width and height. Currently its a bit wide (squished) and that looks a bit ugly.

  • yea i can make it square ..(currently it targets button height width.)... BUT when i do that...
    circle draws over download İCON it looks alittle bad...

but . it look good on my pc... as i saild i am on 1080p 125dpi ?? (16:9 aspectratio )

@blackholeearth
Copy link
Contributor Author

blackholeearth commented Apr 16, 2025

here square mod

image

@blackholeearth blackholeearth force-pushed the circular_downloadProgress_atbutton branch from d8d46b6 to 19b41c4 Compare April 16, 2025 22:54
@blackholeearth blackholeearth changed the title Circular download progress at dl button Circular download progress at dl button, ctrl click to open NewTab, Apr 16, 2025
@robinrodricks robinrodricks merged commit e61a21c into sharpbrowser:master Apr 21, 2025
@robinrodricks
Copy link
Collaborator

Ok, your changes look good. Thanks and merged!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants