Skip to content

Commit da73129

Browse files
committed
v2.19.6
1 parent a033437 commit da73129

File tree

6 files changed

+22
-8
lines changed

6 files changed

+22
-8
lines changed

src/client/common/changelog.txt

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
2.19.6 (15/12/2025)
2+
Linux:
3+
* Fixed OpenVPN protocols not working on openSUSE Tumbleweed. #1589
4+
5+
6+
2.19.5 (11/12/2025)
7+
All:
8+
* Fixed 'Firewall' label may be too long with some languages. #1524
9+
* Fixed one-time override not showing preferred protocol prompt. #1561
10+
* Fixed background scaling issues on high DPI displays. #1588
11+
12+
113
2.19.4 (03/12/2025)
214
All:
315
* Added HTTP 200 response check for connectivity tests and logging for backup endpoint usage. #1552

src/client/common/version/windscribe_version.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
#define WINDSCRIBE_MAJOR_VERSION 2
44
#define WINDSCRIBE_MINOR_VERSION 19
5-
#define WINDSCRIBE_BUILD_VERSION 4
5+
#define WINDSCRIBE_BUILD_VERSION 6
66

77
// only one of these should be enabled; neither -> stable
88
#define WINDSCRIBE_IS_BETA

src/client/gui/connectwindow/backgroundimage/imagechanger.cpp

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -204,23 +204,22 @@ void ImageChanger::updatePixmap()
204204
p.setOpacity(opacityCurImage_);
205205
QPixmap framePixmap = curImage_.movie->currentPixmap();
206206
framePixmap.setDevicePixelRatio(DpiScaleManager::instance().curDevicePixelRatio());
207+
int frameWidth = framePixmap.width() / DpiScaleManager::instance().curDevicePixelRatio();
208+
int frameHeight = framePixmap.height() / DpiScaleManager::instance().curDevicePixelRatio();
207209

208210
if (aspectRatioMode_ == ASPECT_RATIO_MODE_TILE) {
209211
// For tiling mode, we draw the image repeatedly to fill the entire area
210-
int frameWidth = framePixmap.width() / DpiScaleManager::instance().curDevicePixelRatio();
211-
int frameHeight = framePixmap.height() / DpiScaleManager::instance().curDevicePixelRatio();
212-
213212
if (frameWidth > 0 && frameHeight > 0) {
214213
for (int x = 0; x < WIDTH * G_SCALE; x += frameWidth) {
215214
for (int y = 0; y < 197 * G_SCALE; y += frameHeight) {
216-
p.drawPixmap(x, y, framePixmap, 0, 0, framePixmap.width(), (y + frameHeight > 197*G_SCALE) ? 197*G_SCALE - y : frameHeight);
215+
p.drawPixmap(x, y, framePixmap, 0, 0, framePixmap.width(), (y + frameHeight > 197*G_SCALE) ? (197*G_SCALE - y) * DpiScaleManager::instance().curDevicePixelRatio() : frameHeight * DpiScaleManager::instance().curDevicePixelRatio());
217216
}
218217
}
219218
}
220219
} else {
221220
// Start at y = 0 if image height is 197 (16:9)
222-
yOffset = (197*G_SCALE - framePixmap.height())/2;
223-
p.drawPixmap(0, yOffset, framePixmap, 0, 0, framePixmap.width(), 197*G_SCALE - yOffset);
221+
yOffset = (197*G_SCALE - frameHeight)/2;
222+
p.drawPixmap(0, yOffset, framePixmap, 0, 0, framePixmap.width(), (197*G_SCALE - yOffset) * DpiScaleManager::instance().curDevicePixelRatio());
224223
}
225224

226225
if (prevGradient == GRADIENT_FLAG) {

src/client/gui/connectwindow/connectwindowitem.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,7 @@ ConnectWindowItem::ConnectWindowItem(QGraphicsObject *parent, Preferences *prefe
126126
firewallLabel_ = new CommonGraphics::TextButton(tr("FIREWALL"), FontDescr(12, QFont::DemiBold, 100, 1.44), Qt::white, false, this, 0, false);
127127
firewallLabel_->setUnhoverOpacity(0.6);
128128
firewallLabel_->setCurrentOpacity(0.6);
129+
firewallLabel_->setMaxWidth(80*G_SCALE);
129130

130131
firewallButton_ = new ToggleButton(this);
131132
// firewallButton_->setColor(QColor(0, 106, 255));
@@ -222,6 +223,7 @@ void ConnectWindowItem::setTestTunnelResult(bool success)
222223
void ConnectWindowItem::updateScaling()
223224
{
224225
ScalableGraphicsObject::updateScaling();
226+
firewallLabel_->setMaxWidth(80*G_SCALE);
225227
updateShortenedText();
226228
updatePositions();
227229
}

src/client/gui/mainwindow.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2508,7 +2508,7 @@ void MainWindow::onBackendTestTunnelResult(bool success)
25082508

25092509
// User manually selected a protocol or we failed over to a different protocol for the first time.
25102510
// Ask if they want to save (but only ask once per connection)
2511-
if ((userProtocolOverride_ || isFailover) && !askedAboutPreferredProtocol_) {
2511+
if (userProtocolOverride_ || (isFailover && !askedAboutPreferredProtocol_)) {
25122512
if (!backend_->getPreferences()->hasNetworkPreferredProtocol(curNetwork_.networkOrSsid) ||
25132513
backend_->getPreferences()->networkPreferredProtocol(curNetwork_.networkOrSsid).protocol() != ps.protocol ||
25142514
backend_->getPreferences()->networkPreferredProtocol(curNetwork_.networkOrSsid).port() != ps.port)

src/helper/linux/process_command.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@ std::string executeOpenVPN(const std::string &pars)
114114
return serializeResult(false, cmdId);
115115
}
116116

117+
setenv("OPENSSL_CONF", "/dev/null", 1);
117118
cmdId = ExecuteCmd::instance().execute(fullCmd, "/opt/windscribe");
118119
return serializeResult(true, cmdId);
119120
}

0 commit comments

Comments
 (0)