Min: What is Min missing to become a real option for daily use?

Created on 19 Feb 2020  路  42Comments  路  Source: minbrowser/min

Min is kinda fast, uses Chromium without privacy concerns (I hope), but it lacks a few things to become actually usable:

  • Back button isn't enough: please consider adding a forward and reload button (with shift+reload = hard reload);
  • Who uses the keyboard to navigate the web? Swipping the trackpad would help, but IMHO they are used in the oposite direction: back should be swipe left, and forward, right, and going forward usually doesn't work for me (Pop!_OS 19.10). Touchscreen gestures would be awesome as well;
  • Get rid of the menu bar: more realstate for the browser window, either move it to a menu next to the Tasks button or merge both somehow.

The concept of Min with some features available as comads in the tab bar is nice, I hope it is improved so it can be used in a daily basis actually.

Regards.

All 42 comments

For me (on Win 10):

  • the inability to zoom webpages using the touchscreen
  • the issue I created some days ago: #906
  • support for Chrome extensions would always be nice but I don't know if it would fit in with the ethos of Min

Otherwise it's in pretty good shape for daily use imo.

Back button isn't enough: please consider adding a forward and reload button (with shift+reload = hard reload);

I don't really mind because I mostly use Ctrl + Left arrow and Right arrow to go back and forward anyway and Ctrl + R to reload. Maybe Min could implement a similar system as Yandex browser where the Forward button is normally hidden and only appears when it's possible to go forward? (to keep things nice and clean) Also, something I miss is the ability to hold click on the Back button and be able to see a history of sites in the "Back queue" and click one to go directly to that page. Example (in Opera):

opera_ChyRJfe0SS

Who uses the keyboard to navigate the web? Swipping the trackpad would help, but IMHO they are used in the oposite direction: back should be swipe left, and forward, right, and going forward usually doesn't work for me (Pop!_OS 19.10). Touchscreen gestures would be awesome as well;

I do lol. I agree though that trackpad swipes are useful. I should probably use them more often. Forward seems to be working for me but I wish there was some kind of visual feedback on the screen when you're swiping so you know that Min is registering them. Touchscreen gestures would be nice to have too.

Get rid of the menu bar: more realstate for the browser window, either move it to a menu next to the Tasks button or merge both somehow.

What do you mean by the Menu bar? For me on Windows it's just a button and it barely takes up any space. I'm assuming it's different on Linux? Example:

min_WofIxKBACC

This is what I get in Pop!_OS 19.10:

Screenshot from 2020-02-28 02-17-38

Asides the already stated Linux menu, I'd say a more robust adblock. The possibility of having your own filters (Fanboy antiannoyances for example). Add a keyboard shorcut to disable/enable adblock on the current tab and reload, as in some instances it can break a webpage. A way to sync between instances on different computers. Maybe allow users to choose the config dir, and contain all user data in that folder we can then sync across computers would be enough (people that uses Min is bound to be a bit more on the savvy side). And the possibility of exporting bookmars as well as importing them. I'm torn on extensions, just for the fact that I use a password manager (Bitwarden if you are curious). I would love to autofill directly in the browser, but having extension support is a bit against the idea of Min.

Thanks for all the feedback! I'm going to try to split these up into separate issues so they're more manageable.

  • I'm concerned about taking up more space in the navbar, but I can see that a forward button might be useful; I agree showing it conditionally might work.
  • Trackpad gesture issues are #743.
  • I made a new issue for touchscreen zooming: #917
  • You can press alt to hide the menu bar. The menu button actually seems like a worse design to me, since it makes it harder to get to the menu items; the reason it exists on Windows is so that the window controls can be inline with the tab bar and we can apply theming to the entire window, but that's probably not feasible on Linux (since it's much harder to create your own window controls). But maybe the space savings are worth it?

more robust adblock

Are there any sites in particular where things aren't blocked?

The possibility of having your own filters (Fanboy antiannoyances for example)

Agree.

Add a keyboard shorcut to disable/enable adblock on the current tab and reload

Good idea

A way to sync between instances on different computers. Maybe allow users to choose the config dir, and contain all user data in that folder we can then sync across computers would be enough

User data is already in a single folder (/home/username/.config/min on Linux I think), you could turn it into a symlink if you wanted to. However, this has a really high chance of resulting in data corruption - LevelDB splits the history database into multiple files, so if you ever have sync conflicts, you could easily end up with different pieces of the database being from different times, which would be bad. Building our own sync would be really complicated (and also potentially expensive, although I think we could integrate with existing cloud storage providers to avoid this); I don't see this happening anytime soon.

And the possibility of exporting bookmars as well as importing them

This exists! Run !exportbookmarks in the searchbar.

I would love to autofill directly in the browser

This will also exist starting in a couple weeks! See #822.

For the menu bar, I think it makes sense to do the following:

  • Show the menu button when the menu bar is hidden.
  • Add an option to have the window controls inline with the tab bar instead of having a separate titlebar. The downside to this is that Electron doesn't provide any way to use the native window controls, so we'll have to emulate them in HTML, and they may not match the normal window controls on your system. Upside is that the vertical space used gets cut almost in half.

@PalmerAL Sounds great!

Also, I just remembered the shortcut to hide the menu bar is actually ctrl+m.

After pressing ctrl+m with 9f435bf3bf5745900a29852deb0126e5c6a8733c:

Screen Shot 2020-02-29 at 3 27 48 PM

This may end up being a temporary solution; if we do start emulating the window controls in HTML, I think it would best to have the following:

  • default: menu button and emulated window controls, everything in one line (almost identical to the Windows version)
  • Option 2: native titlebar and menu (the same as the default now).

And remove this in-between state.

@llomellamomario I've added !enableblocking and !disableblocking shortcuts in 0ffef9bc16dfe68942b5e5ea49eaf1fe170ec2c3.

@llomellamomario 1.13 has been released with autofill support: https://github.com/minbrowser/min/releases/tag/v1.13.0

Are there any sites in particular where things aren't blocked?

Mostly the usual mouse and cat game when filters take time to block ads. And sometimes I've noticed that they take up to a month to update, so I just do a quick fix myself. Another surprisingly useful option is to remove sidebars or other content I don't want in the page. Most common use are sites with both a top bar and a sidebar, so I tend to use the select feature on adblock to nuke the sidebar gaining more horizontal width for the content. However that is me using adblock for what it is not supposed to, and it is an annoyance not a necessity, so it falls outside Min's way of life.

User data is already in a single folder (/home/username/.config/min on Linux I think), you could turn it into a symlink if you wanted to. However, this has a really high chance of resulting in data corruption - LevelDB splits the history database into multiple files, so if you ever have sync conflicts, you could easily end up with different pieces of the database being from different times, which would be bad. Building our own sync would be really complicated (and also potentially expensive, although I think we could integrate with existing cloud storage providers to avoid this); I don't see this happening anytime soon.

Fair. We all have been spoiled by sync convenience. Maybe as a compromise and to prevent database corruption, have the current task list with the websites for each task saved as an independent file (maybe a simple html like when you export bookmarks) so we can sync just that and move from one computer to the next easily. And at launch, if the option is enabled check for that file first and ask the user if they want to overwrite their current task list.

This exists! Run !exportbookmarks in the searchbar.
Maybe add it to the bookmarks menu? Not that big of a deal, as it is not that often used, mostly something I find inconsistent.

This will also exist starting in a couple weeks! See #822.

Yes, funny how the odds of you using also Bitwarden and adding integration worked in my favor :D Will update as soon as possible

The blocking and unblocking is a godsend. You don't realize how much you use something until you don't have it. Thanks!

The menu button actually seems like a worse design to me, since it makes it harder to get to the menu items

It depends on how you see it. Usually I'd agree with you, but in this particular case, I disagree. Removing another bar is a pro for me due one simple reason. Screen real state. You have more width than height. You spend far more time in the webpages, than you do on the menu. Webpages are usually tall not wide, and if you don't have enough width you rarely lose functionality due to mobile versions. Also Min not having a lot of menu options being minimalist makes it even less likely to access the menu. And more than half the menu is composed of items that most people using Min would use via shortcut keys. So having the menu a la Windows is IMHO the most sensible option. Now if it is a pain to make and maintain don't add it. I prefer a bit of inconvenience compared to making your work harder, I know that what users want doesn't necessarily align with development constrains.

Mostly the usual mouse and cat game when filters take time to block ads. And sometimes I've noticed that they take up to a month to update, so I just do a quick fix myself. Another surprisingly useful option is to remove sidebars or other content I don't want in the page. Most common use are sites with both a top bar and a sidebar, so I tend to use the select feature on adblock to nuke the sidebar gaining more horizontal width for the content. However that is me using adblock for what it is not supposed to, and it is an annoyance not a necessity, so it falls outside Min's way of life.

I agree faster updates would be good. The ideal solution to that would be automatic updates, although there have been issues in the past where new filters led to broken filtering (because our filter parser isn't completely spec-compliant), so that might not be a good idea. I also haven't been very diligent about updating the built-in list before each release; fixing that would probably help somewhat.

Supporting cosmetic filters is a separate issue; I agree it would be nice to have at some point, but I don't think it's a very high priority at the moment.

Maybe as a compromise and to prevent database corruption, have the current task list with the websites for each task saved as an independent file (maybe a simple html like when you export bookmarks) so we can sync just that and move from one computer to the next easily. And at launch, if the option is enabled check for that file first and ask the user if they want to overwrite their current task list.

It actually is a separate file already (sessionRestore.json inside the Min data folder). I think you could probably move this folder to a Dropbox folder or something similar, make a symlink, and it would probably work. (let me know if you try it!)

. Screen real state. You have more width than height. You spend far more time in the webpages, than you do on the menu. Webpages are usually tall not wide, and if you don't have enough width you rarely lose functionality due to mobile versions

Good point.

And more than half the menu is composed of items that most people using Min would use via shortcut keys.

I'm not convinced this is actually true, although it's impossible to say for sure. (Then again, on Linux specifically it might be).

So having the menu a la Windows is IMHO the most sensible option. Now if it is a pain to make and maintain don't add it. I prefer a bit of inconvenience compared to making your work harder, I know that what users want doesn't necessarily align with development constrains.

It's not terribly hard to do (but thanks for thinking about that!). Each new UI layout does add more complexity when making changes, however, so I'd like to try to keep the number low. Right now, I think the best option (as mentioned in my previous comment) is to have two options: non-native titlebar and menu button (minimizes vertical space), or native titlebar + menu. If we do that, the window controls may not match other apps on your system, which may generate complaints, but I'm hoping that leaving the fully-native option around will be enough to resolve that.

I'm not convinced this is actually true, although it's impossible to say for sure. (Then again, on Linux specifically it might be).

First of all I'm making a reasonable assumption: That Min users come from other browser, and they are at the very least users that have some know how. Not advanced, but at least they are able to find ways to improve their user experience. If not, how they found Min in the first place? Chrome/Edge works. And if you are searching something like Min, outside of mainstream browsers, it is not a stretch to think that those users at least have picked up some basic shortcuts along the way common to a lot of apps. From Windows menu, file submenu not common. Edit menu common shorcuts with most apps, undo redo cut copy paste select all and find. The only one missing is preferences View menu zoom and fullscreen are common, minus focus mode specific for Min that doesn't have shortcut. Developer is for, well developers that know what they are doing and help which is arguably not used. The shortcuts that people might not know are the uncommon ones, and are a minority, so 1 or 2 extra clicks ain't a big deal.

If we do that, the window controls may not match other apps on your system, which may generate complaints, but I'm hoping that leaving the fully-native option around will be enough to resolve that.

Not matching is a given. As much as r/unixporn shows, trying to have something uniform in Linux is stupid hard and not easily achievable. Having a menu that you will rarely see not match ain't exactly a big problem. You don't even need to go far to show this: Put Plasma, with the Breeze theme (both Qt and GTK) and open Firefox (or any GTK app for that matter). And to a lesser extent the other way around thanks to the work done on Qt's GTK style

EDIT
Well, something I noticed that can fall into adblock capabilities is the ability to mute a tab, as well as show an audio icon. I prefer to cut short that tab title, but being able to notice wtf is playing and mute it.

1.13 release looks great on Pop!_OS, thank you very much!
Waiting for the forward button.
Regards

Screenshot from 2020-03-14 22-19-20

This is what I have so far in regards to integrating the window controls into the tab bar:

Screen Shot 2020-04-04 at 5 33 43 PM

My original goal was to replicate the default Ubuntu buttons, but they don't match very closely, and I'm also not sure that they look very good. Given that they're not going to look consistent with the rest of the system in a lot of cases anyways, I think I'm going to try to just make them look better even if they don't exactly match anything that already exists.

if I am not mistaken, Gnome uses only the close button by default. I am not sure if you are using Linux, that is how a native GTK app look using the default dark theme on Gnome 3.34 (the buttons animation/colors changed a bit in latest 3.36 IIRIC).

Screenshot from 2020-04-04 19-53-23

Interesting, so maximize/unmaximize are done through dragging the titlebar? How would you minimize a window? I haven't used gnome in a long time.

On Windows, we have a dragging area above the tab bar that hides itself when the window is maximized, so that you can move your mouse to the top of the screen to select a tab. However, this wouldn't work if there isn't an unmaximize button, so we might have to move the drag region to the upper-left corner instead. How do other apps handle this?

Looking through this article, one of the close buttons seems identical to your screenshot, but the others are just an "x" with no circle - I guess that's the updated design?

@PalmerAL Gnome's UI is meant to be used in many devices, from small touchscreens to desktop. By default, the maximize and minimize buttons are hidden, but they can be enabled using Tweaks app (some desktop distros enable them, mainly those with modified Gnome Shells). Maximize can be achieved by either moving the window to the top (or tiled using both borders of the screen) or double-clicking the title bar. Only the active window (the one with focus) has a colored X button, the other ones show a light gray color.

I just remembered that #369 had some Linux buttons as well that looked like this:

Screen Shot 2020-04-05 at 5 37 14 PM

I don't think that matches anything either, but since it seems like nothing will anyway, that might work.

With a single button, and a draggable area on top:

Screen Shot 2020-04-05 at 5 52 35 PM

With the draggable area to the left of the menu button:

Screen Shot 2020-04-05 at 5 50 17 PM

This is similar to the issue we ran into on windows: with both of these options, the drag area interferes somehow (either you can't move your mouse to the top to click tabs, or you can't move it to the top-left to click the menu button). And unlike windows, we can't hide it entirely, since there wouldn't be an unmaximize button.

@PalmerAL if there is a draggable are at the top, it can be maximized either by double-clicking or moving it to the top of the screen, and "unmaximized" the same way. I think it is more user friendly as making the whole window can be moved only by a small area at left (some may think it is a bug).

If you want, I can beta-test a version for Linux and screenrecord how it works on Gnome 3.34.

I agree having the draggable area across the top is probably more intuitive. I think I've been thinking about this the wrong way actually: before, I was thinking about #630 - on Windows, clicking on tabs is much easier if we hide the drag area when maximized, since you can just move your mouse all the way to the top of the screen. However, on gnome at least, there's a titlebar above the window when it's maximized, so you can't do that anyway. Given that, it would probably be fine to just leave the drag area visible when the window is maximized, which would allow us to place the drag area at the top.

edit: this would however still be an issue in fullscreen, but I'm not sure how frequently that's actually used.

I installed gnome on ubuntu, which seems to be slightly different than stock, but close enough to test with. Here's a build if you want to test:

https://send.firefox.com/download/fd0d58feb448b601/#0cVfilj_NYkAfsX5GdgwHw

(or use the linux-controls branch).

@PalmerAL Looks great! The area used to drag the window is kinda short (and my screen is only 1280x800, I wonder how short it is in UHD monitors) but it works. But there is a problem with the tabs: while the site is loading, it is OK, but when the page is loaded it "goes up" and take some area of the tab bar. Please see the screencast: https://streamable.com/vmiojp

And if you want to really simulate GTK's behavior, the close button background goes to light gray when hovered. :P

Screenshot from 2020-04-05 23-00-31

Please see the screencast: https://streamable.com/vmiojp

Although that's a bug, I thought to myself after watching that that it also makes kind of an interesting feature! 馃榿

The browsing window would collapse up slightly like that and your tabs would slightly grey out after finishing navigation to give you more vertical space and less distraction/a cleaner look, while still being able to see your tabs. And if you mouseover the tab area or use a keyboard shortcut to get back into the tab area, the browsing window would collapse back downward giving you a full, normal view of your tabs. I feel like that find of feature would work the best with a more skeuomorphic design for the tabs though, like the old Chrome interface, but it's still pretty cool just how it is in Min.

Maybe it could be like a "halfway" focus mode, in between regular browsing and full focus mode where you can only see one tab? 馃榿

My original goal was to replicate the default Ubuntu buttons, but they don't match very closely, and I'm also not sure that they look very good. Given that they're not going to look consistent with the re

Being honest, ignore how distros look. Like they don't exist. Just make it look cohesive with the rest of your own's browser design. If it does not look even remotely close to a linux design, so be it but it will make it look alright at worst. Prime example is Steam interface in linux, screencaps are for comparison. The buttons do not match any linux ui controls in any way shape or form. However, they don't look out of place no matter the distro, because they are cohesive with the own app.

Going with the trend, even more so ignore how GNOME does things. They do it their own way and tends to be the complete opposite of how the rest do things (for example they removed desktop icons, ignoring their users). In fact, Ubuntu, arguably the most used GNOME distro adds them back (and for a good reason) And most other desktops in linux (including KDE Plasma) uses the standard 3. Just have the 3 buttons, since that is the sane default, and, if it is really requested, have a toggle in the settings for only one. Again consistency is key more than "matching an specific theme" as long as your base design isn't hideous (which it isn't).

image

image

@richbordoni It is sort of an interesting idea; you could shrink the tab size and make everything a bit shorter. Getting the BrowserView to resize smoothly might be a challenge though.

Also sort of off-topic, but I've been thinking about changing focus mode so that it shows all the tabs you already have open and just prevents you from making new ones; if you're using it currently, how well does that fit with how you're using it?

I'm fine with having 3 buttons as well if that makes more sense; I'm not sure which one is actually better. Are there any environments in which maximizing by dragging the titlebar wouldn't work?

I use (and actually like) Gnome because it is the best DE for touchscreens as of now. But if you are not using its toolkit (GTK), and I think you aren't, then it's OK to add the other buttons as default so users using other DEs will feel more comfortable (there are many apps that show them on Gnome, apps that don't use GTK, so it is kinda normal even on Gnome). Another idea would be show only the close button if you can easily detect the DE on Linux.

Regarding the browsing window shrink/expand, I think it is very distracting when the content of the window moves. As simply hiding part of the tab bar won't help, it would require moving the page content up and down, what isn't desirable IMO.

I haven't used focus mode much, so I can't help with this for now.

Yeah, the buttons are emulated in HTML, so we're not limited by any particular toolkit. I think we could probably detect the DE; I'm hoping to avoid having to maintain two kinds of buttons, but I guess we could if it's necessary.

  • I was looking at gnome web, and it has a single button with no background (until it is hovered):
    Screen Shot 2020-04-06 at 9 30 25 PM
  • The red button is basically invisible on any site that has a reddish theme color, for example:
    Screen Shot 2020-04-06 at 9 28 28 PM
    Screen Shot 2020-04-06 at 9 28 04 PM
    Screen Shot 2020-04-06 at 9 27 55 PM

Given that, it might make more sense to have no background.

@llomellamomario I like the second screenshot you posted, it looks similar-ish to the gnome style while still having all 3 buttons, and we could make the red background on the close button appear only when it is hovered.

I've started working on a 3-button design, since it seems like that might work better in non-gnome environments. Screenshots:
Screen Shot 2020-04-07 at 11 07 36 AM
Screen Shot 2020-04-07 at 11 07 50 AM

Hovering over the button shows the background circle:
Screen Shot 2020-04-07 at 11 08 14 AM

@PalmerAL Looks great! You don't need to be worried about the close button. Actually, it works the other way around, as I said previously: the active window shows the close button with an orange background, the background apps or when the active close button is hovered, then it changes to a light gray background. I think you can pick any color you want, just change the background for all of then individually when hovered, I guess.

https://streamable.com/c6yago

New build to try: https://send.firefox.com/download/16c68bbe6f14cedb/#BchDMad59S7XijrIqKNkwQ

Having a fixed color background doesn't work well on some backgrounds (as I mentioned above) and it doesn't seem to be very consistently used anyway, so I changed all 3 buttons to no background + gray background on hover.

I increased the height of the drag area a little bit as well; it still might be easier to drag if it was taller, but I'm not sure if it's worth losing more space for content by doing that or not.

@PalmerAL Very nice, I love the new look and the taller drag area. Loading pages has no glitches anymore (well done!). Just a small issue: clicking the maximize button when the window is maximized does nothing, draging it from the top works tho. Usually the maximize button is a "+" when the window isn't maximized and then a box when it is, but as Min already has a plus icon, I guess it is better to keep the box all the time.

Screenshot from 2020-04-08 17-10-14

Just a small issue: clicking the maximize button when the window is maximized does nothing, draging it from the top works tho

Fixed in 6ea480a1db68f64f352434583f096d86dc32c132.

PR: #963

Also sort of off-topic, but I've been thinking about changing focus mode so that it shows all the tabs you already have open and just prevents you from making new ones; if you're using it currently, how well does that fit with how you're using it?

Tbh, I don't really use focus mode so I'm probably not the best person to ask. 馃槄

I think that the most basic and important feature of everyday, (sort of) main browser is stability: if one does not do anything strange (like opening 100000 tabs at the same time), the browser should not crush.

So I would say that at the moment Min should not crush (which unfortunately still an issue).

@deadb0d4 Just to make sure, are you experiencing other crashes than the hackernoon issue?

@deadb0d4 Just to make sure, are you experiencing other crashes than the hackernoon issue?

Yeah, and I did not figure out the way how I can build the browser in a sort of debug mode so that I could read logs and get a hint what went wrong.

For errors in the Min frontend code, errors would show up in developer > inspect browser > console. For Electron crashes, you'd need to find the crash report file. On macOS, they're in ~/library/logs/diagnosticReports; I'm not actually sure where they are on other OS's.

When does it crash?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

BillDietrich picture BillDietrich  路  5Comments

shalva97 picture shalva97  路  6Comments

bjadel picture bjadel  路  5Comments

PEPERSO picture PEPERSO  路  4Comments

mtgperales picture mtgperales  路  3Comments