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

Hide avoid standby mode feature on *nux OS #3322

Closed

Conversation

ghubstan
Copy link
Contributor

@ghubstan ghubstan commented Sep 24, 2019

Displays standby mode button on only on Windows and OSX,
and hides it on Linux and Unix distributions.

Formatted source file, resulting in rearranged class
level field declarations.

Fix for Issue #3223

Copy link
Contributor

@chimp1984 chimp1984 left a comment

Choose a reason for hiding this comment

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

Missing adjustment of num rows.
TitledGroupBg titledGroupBg = addTitledGroupBg(root, gridRow, 8, Res.get("setting.preferences.general")); -> 8 need to be 7 in case its not displayed

Is it confirmed that on Unix there is no need for the hack with playing the sound to avoid standby?

Displays standby mode button on only on Windows and OSX,
and hides it on Linux and Unix distributions.

TitledGroupBg num rows reduced to 7 when standby mode button
is not displayed.

Formatted source file, resulting in rearranged class
level field declarations.

Fix for Issue bisq-network#3223
@ghubstan ghubstan force-pushed the hide-linux-standby-button branch from ddfed2d to 7c517dd Compare September 25, 2019 00:46
@ghubstan
Copy link
Contributor Author

@chimp1984, the row adjustment fix has been committed.

I have not confirmed there is no need for the Unix sound hack. Can @wiz or @niyid confirm there is no need for the Unix sound hack?

Comment on lines +101 to +110
private final Preferences preferences;
private final FeeService feeService;
//private final ReferralIdService referralIdService;
private final AssetService assetService;
private final FilterManager filterManager;
//private ComboBox<BaseCurrencyNetwork> selectBaseCurrencyNetworkComboBox;
private final DaoFacade daoFacade;
private final BSFormatter formatter;
private final boolean daoOptionsSet;
private final boolean displayStandbyModeFeature;
Copy link
Contributor

Choose a reason for hiding this comment

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

please do not commit non-changes. makes it hard to review and introduces unnecessary big change sets.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I don't understand. Are the non-changes you mentioned references to the comments (lines 103, 106)? Those were there from previous commits (before this PR). I did not add these comments. Should I delete them?

Or, are you referring to the Intellij code reformatting which rearranged the order of field definitions? I have been reformatting files I touch, using the IDE code style versioned in git. Should I not do that?

Copy link
Contributor

Choose a reason for hiding this comment

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

Or, are you referring to the Intellij code reformatting which rearranged the order of field definitions? I have been reformatting files I touch, using the IDE code style versioned in git. Should I not do that?

that is what I meant. please only commit changes that have something to do with the topic of your PR. Thanks!

ghubstan added a commit to ghubstan/bisq that referenced this pull request Nov 5, 2019
Displays standby mode button on only on Windows and OSX,
and hides it on Linux and Unix distributions.

TitledGroupBg num rows reduced to 7 when standby mode button
is not displayed.

Fixes bisq-network#3223

Replaces PR bisq-network#3322 -- rejected because source file reformat
rearanged class level field declarations, making review
more difficult.
@ghubstan ghubstan closed this Nov 5, 2019
ripcurlx added a commit that referenced this pull request Dec 6, 2019
* Hide avoid standby mode feature on *nux OS

Displays standby mode button on only on Windows and OSX,
and hides it on Linux and Unix distributions.

TitledGroupBg num rows reduced to 7 when standby mode button
is not displayed.

Fixes #3223

Replaces PR #3322 -- rejected because source file reformat
rearanged class level field declarations, making review
more difficult.

* Set use standby mode to false on non Win, OSX desktops
@ghubstan ghubstan deleted the hide-linux-standby-button branch December 6, 2019 16:48
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.

3 participants