Skip to content
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

For info: branch with my additions tracked against this fork #264

Closed
AlexVallat opened this issue May 30, 2015 · 22 comments
Closed

For info: branch with my additions tracked against this fork #264

AlexVallat opened this issue May 30, 2015 · 22 comments

Comments

@AlexVallat
Copy link
Contributor

I am aware that you've already stated your decision not to integrate some of the changes I have worked on for the uBlock fork into uBlock₀, so this is not a pull request. However, I wanted to let you know that for my own use I have cherry-picked and merge-reconciled the changes I have made to uBlock to track against uBlock₀ in this branch: master...AlexVallat:gorhil-master. This is mainly the Legacy Toolbar Button for PaleMoon and Seamonkey support, and the Firefox Developer Tools console context menu blocking commands.

I intend to continue to periodically merge (or rebase) your commits made to uBlock₀ to keep the branch up to date. You are welcome to any use you wish to make of it.

@gorhill
Copy link
Owner

gorhill commented May 30, 2015

The first reason I prefer to not import is because I just won't have the time to test/maintain these legacy versions if ever someone reports an issue with these. Looking at the stats in AMO, the proportion of legacy FFs is small compared to FF29+, so adding this to the first reason, I didn't see the point for me to support legacy. So long as users of legacy FFs can install one uBlock, they get what first matters, the efficiency.

@AlexVallat
Copy link
Contributor Author

I can certainly appreciate that point of view. I don't know how well they would register in the stats, but I've no doubt PaleMoon users, even combined with Seamonkey users, would still be in the small minority of overall users.

@LeafG
Copy link

LeafG commented May 31, 2015

@gorhill, I can't argue with your point of testing the other types of browsers, or maybe your lack of enthusiasm to deal with browsers you may not use on a daily basis. It's understandable.
But reading this exchange, makes me want to voice the point-of-view of SeaMonkey and Pale Moon users, of which I am one. We're a minority, in a sense.

I can tell you, in regard to the stats on AMO, that the reason for that is (or can be) because uBlock0 was marked as incompatible with SeaMonkey (or FF 24, as Pale Moon is recognized), and the link was disabled for downloading. I checked it just a little while ago. (I wish I remembered which version it was. Maybe as soon as I read this article).

It is not fair to say that we have "one uBlock" (which I read as "they can use uBlock"). I have used this version from before the split, followed that whole tale of bad vibe from this side of the fork, and have no reason to get a version with less features, even if its GUI is handled better. I believe there are others like me, in this POV.

It's the "story of SeaMonkey" that we always need a special variant of the required addons, because of our lesser % in the "market". I've read such "cries for help" for Ghostery at the time, and other important addons.

Again, it's not my intention to provoke here. I appreciate that you're doing what you love at your free time, and I thank you for this excellent tool.
I just felt the need to express this POV.

@gorhill
Copy link
Owner

gorhill commented Jun 15, 2015

@AlexVallat

I would be willing to import:

If:

  • You don't mind addressing issues arising specific to legacy UI support. Never mind, I don't have to burden you with this, if an issue arise, I can look into this as well.

If so, I would also like to create eventually some kind of mini-virtualization layer for the UI stuff in vapi-background.js, one layer for each distinct code path (Fennec, FF 28-, FF29+, FF36+). I am not a fan of huge if-else blocks and special code paths peppered all over the place, and I currently see the UI code like this. It's something I was planning to look into even without the support for legacy UI.

For the inspector stuff I am thinking of something else for now.

@AlexVallat
Copy link
Contributor Author

@gorhill That's great! I'm afraid I'm away until next week, so I can't do any merging for the next few days. I agree with you that the organization of the different code paths could certainly be done better, though.

@LimboSlam
Copy link

@gorhill and @AlexVallat, I see both of your points, I do. I'm also a Pale Moon user and I know some what of coding, so I know how difficult and time consuming these issues can be, but why not just work together??? Why not put aside your differences and give it a shot? Your both great at what you do and love what you do, your making a difference in the Mozilla community; giving the users a handy tool. So why not have two eyes than one eye, right? Just a suggestion though, don't mean any offense.

Keep up the great work, both of you guys!! 👍 :)

@inoyakaigor
Copy link

I endorse @LimboSlam

@volcbs
Copy link

volcbs commented Jun 18, 2015

uBlock 0.9.9.2 (latest dev)
Firefox 40.0a2 Developer Edition (x64)
Windows 8.1 x64

I can't move the legacyUI (via customize) to anywhere I want.
Anyway I use oneliner add-ons if that counts.

@gorhill
Copy link
Owner

gorhill commented Jun 18, 2015

I can't move the legacyUI (via customize) to anywhere I want.

I just tried with FF 38 and Nightly and I could move it fine. Provide detailed step by step so that I can reproduce your issue.

I use oneliner

Provide link please -- always.

@volcbs
Copy link

volcbs commented Jun 18, 2015

  1. open "about:config"
  2. set "extensions.ublock0.forceLegacyToolbarButton" to true
  3. restart
  4. hamburger menu > customize or view > toolbar > customize
    itxne
    If it's move-able, then the legacyUI icon should be inside the dotted line but it isn't.
    (Now) I use vanilla firefox dev edition, and I can't still move the legacyUI to anywhere I want.

Also sorry I forgot,
https://addons.mozilla.org/en-us/firefox/addon/prospector-oneLiner/

@gorhill
Copy link
Owner

gorhill commented Jun 18, 2015

itxne

I've seen this happens too.

Repro steps:

  1. about:config, filter using ublock0
  2. set extensions.ublock0.legacyToolbarButtonAdded to false
  3. set extensions.ublock0.forceLegacyToolbarButton to true
  4. restart FF
  5. uBlock icon is put aside the hamburger menu icon, and can't be dragged anymore
  6. restart FF
  7. uBlock icon is now in the tool palette, and can be dragged, i.e. now customizable

So issue is to fix uBlock icon being put in a non-customizable toolbar at 5.

@gorhill
Copy link
Owner

gorhill commented Jun 18, 2015

@volcbs Fix is in 0.9.9.2-dev.4.

@volcbs
Copy link

volcbs commented Jun 18, 2015

@gorhill Ah nice.. thanks.

@LimboSlam
Copy link

Is there anyway you could fix this #1449, I know there's a temporarily solution for it, but could a long solution be worked on?

@gorhill
Copy link
Owner

gorhill commented Jun 18, 2015

@LimboSlam fb25df9, in dev.5 build.

@LimboSlam
Copy link

@gorhill Thanks!! Appreciate it! 👍

@LimboSlam
Copy link

@gorhill I think I found another issue, the icons in Pale Moon and Firefox are different.
Firefox
screenshot firefox
Pale Moon
screenshot pale moon

Ublock icon in Pale Moon leaves a more of a gap, you know where the down arrow used to be and Firefoxs is centered, which is how it should be, right? Another thing I noticed is that the door hanger is missing in Pale Moon, but is there in Firefox. Well I don't know if these are bugs or not, but I would like to see these fixed. And if I sound a little OCD and pushy, forgive me. :)

Keep up the great work!! 👍

@gorhill
Copy link
Owner

gorhill commented Jun 19, 2015

I don't have PaleMoon, it's not readily available for Linux -- except on SourceForce I believe. Someone else will have to look into this, and for now to me this looks like a PaleMoon issue.

@LimboSlam
Copy link

@gorhill Alright, I'll bring it up in the Pale Moon forums.

@ozar
Copy link

ozar commented Jun 19, 2015

@LimboSlam
My uBlock-Origin icon for Linux and WinXP (under Pale Moon) look like they should after Gorhill's fix. However, the uBlock-Origin icon under Win7 still looks elongated horizontally. It appears that the down-arrow was removed as per the fix, but the button dimensions didn't shrink any.

@AlexVallat
Copy link
Contributor Author

Annoyingly, PaleMoon under Linux and Windows use different layouts for the buttons. So, you can force it under windows with:

#uBlock0-legacy-button .toolbarbutton-icon {
    -moz-padding-end: 6px !important;
}

But under Linux that sticks an extra 6px padding where it isn't wanted! It looks like PaleMoon is quite certain that buttons which show popups should have arrows.

@ozar
Copy link

ozar commented Jun 24, 2015

Thanks for looking into it and reporting back, AlexV. I've only been using Pale Moon for a few weeks and have found that like all other apps, it comes with its own set of annoyances.

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

No branches or pull requests

7 participants